Sound & Music

Moderators: Sephiroth
Number of threads: 597
Number of posts: 1201

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
C/C++ sound/music programming Posted by Gregry2 on 3 Dec 2005 at 6:00 PM
I have absolutely no idea where to start on this. I think there are a number of platforms, methods, i really am not sure, can someone point me where to start for this? The only sound programming expirence i have is in java's javax.sound package which is really simple, so please, something with C/C++ (better if only ANSI C, like an API) and other things.

thanx
{2}rIng
Report
Re: C/C++ sound/music programming Posted by cbodapati on 12 Dec 2005 at 2:09 AM
:something with C/C++ (better if only ANSI C, like an API) and other :things.

hi 2ring,

do u know windows programming? you have a some sound api's there.

Regs,
srikanth.
Report
Re: C/C++ sound/music programming Posted by Gregry2 on 15 Jan 2006 at 10:26 PM

: do u know windows programming? you have a some sound api's there.

I guess, I didn't know that...I'll look it up.

Anything cross-platform though, like a library or something?

Thanx man.
{2}rIng

Report
Re: C/C++ sound/music programming Posted by cbodapati on 16 Jan 2006 at 1:46 AM
: I guess, I didn't know that...I'll look it up.
: Anything cross-platform though, like a library or something?
:
: Thanx man.
: {2}rIng


Do u know OpenAL, I think its cross platform..... not sure

Regards
srikanth

Report
Re: C/C++ sound/music programming Posted by Gregry2 on 16 Jan 2006 at 3:08 AM

: Do u know OpenAL, I think its cross platform..... not sure

Hm, thought so, along the lines of a relative name to OpenGL...
I'll search it up. Thanx
{2}rIng

PS. you reply quick! Thanx a million for it.
Report
Re: C/C++ sound/music programming Posted by Sephiroth on 20 Jan 2006 at 12:05 PM
:
: : Do u know OpenAL, I think its cross platform..... not sure
:
: Hm, thought so, along the lines of a relative name to OpenGL...
: I'll search it up. Thanx
: {2}rIng
:
: PS. you reply quick! Thanx a million for it.
:

I use OpenAL, as does Epic Games simply because it is cross-platform. It runs under Linux and Win32, and even Mac. You can find information on it at the OpenAL site, which I forget at the moment.

-Sephiroth

Report
Re: C/C++ sound/music programming Posted by Gregry2 on 30 Jan 2006 at 4:27 AM
:
: -Sephiroth
:
:
Sephiroth is my favorite bad guy in all Final Fantasy!

{2}rIng
Report
Re: C/C++ sound/music programming Posted by KrishnaPG on 11 Nov 2009 at 4:27 AM
Typically programming with third party platform compatible libraries is the way to start with. Libraries such as RTMidi, JDKMidi etc...

JDKMidi is better than RTMidi in its capabilities. If you wish to not learn about MIDI complexities, and purely want to concentrate on programming the Music, then you can consider the CFugue MusicNote library.

CFugue is a high level Music Programming Library. This library makes it possible to play music notes directly from C/C++ programs, without ever having to deal with the low-level MIDI complexities. This library provides a beautiful abstraction that lets you concetrate on programming the music rather than worry about the MIDI nuances. Provides features that makes it possible to use this library directly from many platforms, including but not limited to ASP pages, .Net applications and even non-Windows based systems.

For usage samples and further details, please refer to the documentation at http://cfugue.sourceforge.net/docs/html/index.html

Using this library to play music is as easy as writing plain music notes. Just create a Player object and call the Play method on it supplying the Music notes to be played. Simple.

Example Usage:
MusicNoteLib::Player player; // Create the Player Object 
player.Play("C D E F G A B"); // Play the Music Notes on the default MIDI output port

With built-in support for both Carnatic and Western Music alike, this is the first and only one of its kind.

If you wish to take part in building this world class library, join the CFugue project development team at: http://gopalakrishna.palem.in/CFugue.html

Author: Gopalakrishna Palem

Web: http://www.CineFxLabs.com

Copyright (C) 2009 CineFx Digital Media Pvt. Ltd.
Report
Re: C/C++ sound/music programming Posted by psikolog on 27 Aug 2010 at 1:58 PM
i didn't understand what you say
Report
This post has been deleted. Posted by zoyamujaid on 29 Aug 2010 at 11:24 PM
This post has been deleted.
Report
This post has been deleted. Posted by zoyamujaid on 29 Aug 2010 at 11:25 PM
This post has been deleted.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.