5,548,129 members and growing! (20,172 online)
Email Password   helpLost your password?
Multimedia » Audio and Video » Audio     Intermediate

Play SoundStudio and Octamed modules in C#

By Bert Berrevoets

Playing Octamed modules in C#.
C#, .NET, Win2K, WinXP, Win2003, Windows, Visual Studio, Dev

Posted: 25 Oct 2003
Updated: 25 Oct 2003
Views: 29,418
Bookmarked: 7 times
Announcements
Want a new Job?



Search    
Advanced Search
Sitemap
7 votes for this Article.
Popularity: 2.54 Rating: 3.00 out of 5
3 votes, 42.9%
1
0 votes, 0.0%
2
2 votes, 28.6%
3
1 vote, 14.3%
4
1 vote, 14.3%
5

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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Bert Berrevoets



Occupation: Web Developer
Location: Netherlands Netherlands

Other popular Audio and Video articles:

Article Top
Sign Up to vote for this article
You must Sign In to use this message board.
FAQ FAQ Noise ToleranceSearch Search Messages 
 Layout  Per page   
 Msgs 1 to 3 of 3 (Total in Forum: 3) (Refresh)FirstPrevNext
Subject  Author Date 
QuestionThe code pleasemembernaroqueen7:17 12 Apr '06  
GeneralWhat is octmed files?memberLeon v Wyk3:09 1 Nov '03  
GeneralRe: What is octmed files?memberBert Berrevoets12:20 1 Nov '03  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 25 Oct 2003
Editor: Smitha Vijayan
Copyright 2003 by Bert Berrevoets
Everything else Copyright © CodeProject, 1999-2008
Web20 | Advertise on the Code Project