music programming
- Started
- Last post
- 7 Responses
- ********
What would be a good language to use to write a simple piece of music software like an audio player? I know Live is written in C++, is that generally what people use for this kind of software (for a cross platform application)?
- sublocked0
C++ is your best bet.
- But infinitely complex and a pain in the ass. I code for a living and I hate C++. Do not want.sublocked
- i did some DSP stuff in C at uni, biggest learning curve of my life...kingsteven
- jamie6553210
You could use Flash/AIR easily enough. It would be cross-platform as well. http://www.audiotool.com/ is a good example of what's possible using Audio in Flash.
- Interesting idea. I wonder if the full capabilities are there though.********
- Interesting idea. I wonder if the full capabilities are there though.
- kingsteven0
I haven't had the chance to get to use it yet but OpenFrameworks has a soundplayer library that wraps fmod...
http://www.openframeworks.cc/doc…
Otherwise i'd just use AVFoundation for simple playback in OSX/iPhone apps... Max/MSP or Supercollider for more creative stuff.
- ********0
I was just looking at Supercollider...do people write commercial software with it or mostly just experimental stuff? Looks fascinating in either case...
- kingsteven0
Yeah, it's mostly for experimental/ creative stuff... It's the quickest way to create an additive synth with a hundred thousand partials, maybe not the best for commercial software. (I've actually only used one bit of software written in it, and that was on OS9)
This list (music-dsp) was the shit when I was doing this stuff at uni, still get the mails ... folks like Andre Michelle who wrote audiotool (mentioned above) use it ...
- kingsteven0
just noticed this thread from last month there... may be worth a read
- armsbottomer0
i would apply caution when using c++/openframeworks, as you can easily damage both your hearing and your hardware. that's mainly if you're doing straight up audio synthesis programming though.
supercollider is nice, but has a high learning curve, especially if you're not familiar with a super functional/lambda(y) type of language (programming in smalltalk is great, but it takes a while to get the knack of). if you're thinking of going this route, you should also check out chuck
http://en.wikipedia.org/wiki/Chu…
and impromptu
http://impromptu.moso.com.au/max/msp is a good place to start (personally, its not my thang), mainly because it plays nicely with other applications/protocols.
main piece of advice (for a laptop user): pump up the volume to a high level, plug in headphones and wear them around your neck. that way you'll protect your ears and hardware.