Click here to Skip to main content
Licence GPL3
First Posted 25 Oct 2003
Views 39,892
Bookmarked 19 times

Play SoundStudio and Octamed modules in C#

By | 25 Oct 2003 | Article
Playing Octamed modules in C#.

Introduction

I was searching for a way to play Octamed files in C#. What I have done is I made a wrapper class to use the DLL that came with the developer files from RBF software.

To use it, just import the MedPlayer.cs to your project. To compile, you must change your project settings to allow unsafe code blocks.

The medpdll.dll file must be in your executable path. To work in your project, you must write the following:

using SoundStudio;

After the class beginning, write:

private MedPlayer player;

and then in the part which says:

// TODO: Add any constructor code after InitializeComponent call

write:

player = new MedPlayer(this);

After this, you can use it like:

player.Load(filename);

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)

About the Author

Bert Berrevoets

Web Developer

Netherlands Netherlands

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
QuestionThe code please Pinmembernaroqueen6:17 12 Apr '06  
QuestionWhat is octmed files? PinmemberLeon v Wyk2:09 1 Nov '03  
AnswerRe: What is octmed files? PinmemberBert Berrevoets11:20 1 Nov '03  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web01 | 2.5.120517.1 | Last Updated 26 Oct 2003
Article Copyright 2003 by Bert Berrevoets
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid