Music in c++ ?
Hi,
I have tried looking for information on music in c++ for linux but have only came across stuff for windows :-(. I am wondering is there anything like the function play like what is in basic so you can do play "g,c,g,e,f" or something along these lines? Thankyou twirl |
Re: Music in c++ ?
Quote:
|
I think that playing MIDI files is what I would do (and have a function to easily choose which one to play). MIDI files are very small, especially if there is only one note being played.
|
Try looking at SDL_Mixer stuff.
|
maybe take a look at : http://zynaddsubfx.sourceforge.net/
it has all sound stuff ( like wave generating and filtering with fft ) in c++ . btw. it's a softsynth... egag |
Did you recommand some book learning the knowledge?thx
|
This is where I am trying to learn from:
http://www.alsa-project.org/documentation.php#dev-toots ta0kira |
CFugue MusicNote Programming Library for C/C++
You can try libraries such as RTMidi or JDKMidi - which are platform compatible midi libraries. They will enable you to program in MIDI.
However, if you are looking for a way to program Music Notes directly in C++, then you might find CFugue suiting your purposes. In Beta stages, this is one of the only available C++ highlevel music programming libraries for Midi today. Gopalakrishna http://gopalakrishna.palem.in |
All times are GMT -5. The time now is 08:15 PM. |