Click here to Skip to main content
Click here to Skip to main content

Play SoundStudio and Octamed modules in C#

, 25 Oct 2003
Rate this:
Please Sign up or sign in to vote.
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 Berrevoets Systems
Netherlands Netherlands
No Biography provided

Comments and Discussions

 
QuestionThe code please Pinmembernaroqueen12-Apr-06 6:17 
QuestionWhat is octmed files? PinmemberLeon v Wyk1-Nov-03 2:09 
AnswerRe: What is octmed files? PinmemberBert Berrevoets1-Nov-03 11:20 

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.

| Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 26 Oct 2003
Article Copyright 2003 by Bert Berrevoets
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid