programming used for music

Da75f10cadd54b8bba802137d6868aa6
0
jonemere 101 Jan 09, 2010 at 11:27

Hi,
I don’t know anything related to programming which are used for music.Anybody there who can tell me what type of languages are used for music purpose.I am curious to know about that.Any help is greatly appreciated.
Thanks.

11 Replies

Please log in or register to post a reply.

E08895f72ad6724b4efb5fa91ae97140
0
johnson1 101 Jan 09, 2010 at 12:07

Guitar pro is the most used music software now a days I guess. Its has easy to use and understand tabs. Regarding the programming, I think you can use any programming to create music. You can even produce some beep melody form QBASIC.

B2d356f97a3d0dec8ae2d8c1e1fa1c2d
0
Nerd_Skywalker 101 Jan 09, 2010 at 14:41

Do you mean software or Libraries? I am pretty sure that most languages have music libraries for them, you just have to look.

6837d514b487de395be51432d9cdd078
0
TheNut 179 Jan 09, 2010 at 14:51

You can learn XAudio2 for Windows using C++ or C# or you can learn OpenAL using C++ for cross platform support. Although keep in mind if your target is Windows, you’re better off with XAudio2 since OpenAL is quite a mess right now and its future is questionable.

You can alternatively use a couple C++ libraries and hide the details of the low level APIs mentioned above. FMOD is very popular and free for non-commercial use. It is used in a lot of AAA titles and it comes with easy to use tools to prepare your sounds and music.

And yes, QBASIC makes for some interesting beeps :) Funny, the BEEP was my first command ever programmed.

A8433b04cb41dd57113740b779f61acb
0
Reedbeta 167 Jan 09, 2010 at 18:16

If you just want to play MP3s, any audio library will do. If you want to create your own music using a computer i.e. specifying which instruments are used, which notes are played etc. then you may want to look into MIDI.

07d605431c285ca8c0e5817f3ee5bb9f
0
spencersternberg 101 Jan 10, 2010 at 09:55

If you are referring to programming languages then you should seriously consider taking a look at Supercollider. It is an object orientated language with syntax similar to C. I have to admit it is fairly daunting to begin with if you are new to programming, but there is a wealth of reference material available so you can work your way through learning it.

The reason I suggest Supercollider, is that it is a language created for music, with some really amazing class libraries and functions. It also has some really cool features like the ability to interpret all strange kinds of data and then synthesize the data as sound. Have a look on their site for examples of what you can do with just code.

254754b37f468a2926bffcd83bbbf1fa
0
z80 101 Jan 10, 2010 at 10:32

@jonemere

I don’t know anything related to programming which are used for music.Anybody there who can tell me what type of languages are used for music purpose.I am curious to know about that.Any help is greatly appreciated.

If you want usable answers you have to be more specific about your problem than “music purpose”. Tells us about what you are working with and be specific about what you want to do.

B7dcbc0c0f07253f25ff5c25fe38c081
0
SamuraiCrow 101 Jan 10, 2010 at 21:40

I’ve written a music compiler in C that translates from a subset of the old Protracker Module format. It uses a technique called a coroutine to translate the time indexes into the appropriate C code.

Most tracker module players do not translate into C code though. Most have an interpreter-based library like MikMod or Open ModPlug Tracker. If you want to get started simply, download MilkyTracker and follow a tutorial to edit the music with that.

Dea9d1ba3c4383aa7f70a58f07e6af6d
0
kemronhits 101 Mar 03, 2010 at 06:16

I have no idea where to start on this. I think there are number of platforms, methods, tools and software.
I have only sound programming expirence in java’s javax.sound package which is really simple and something with c++.
I think JDKMidi library in java it concentrate on programming the Music.

2a38b495db7b9a16b9bec3e052eac3c5
0
Advoc 101 Mar 10, 2010 at 22:07

I’ll second supercollider, I’ve heard some very interesting things done with it.

But by far the most useful program you could probably use for either synthesizing sounds/music or manipulating existing audio that you have the rights to use… would be a combination of a DAW (digital audio workstation, such as cubase, pro tools, ableton, cakewalk/sonar, etc) and either PureData or MaxMSP.

PureData and maxMSP are OOP environments that are interpretive much like unreal’s kismet and/or material editor, based on patches.

Links:
http://puredata.info

http://cycling74.com/products/maxmspjitter/

Puredata is opensource and free. MaxMSP is the same program with a few more bells and whistles, but it is a commercial release and costs quite a bit, unless you’re a student. ( I got it for 250 USD ) but PureData will do everything MaxMSP does, it just doesn’t look as nice and not quite as user friendly.

On the other hand, if you have a mac available Cecilia (http://www.csounds.com/cecilia/)) is a great program. It is a frontend for Csound, so if you have any Csound algorithms you can plug them into Cecilia and get a good idea of what they are doing. It comes with a bunch already installed I believe, The author doesn’t feel like supporting windows, however, so the port to windows is done by a 3rd party and is very buggy.

Fd80f81596aa1cf809ceb1c2077e190b
0
rouncer 104 Mar 11, 2010 at 07:31

All you need is direct sound or anything that gives you access to the main sound buffer. (just like getting access to the screen.)

Then you can do absolutely whatever you want, you can pump samples into it, but my favorite is actually synthesising the sound with saw tooths and fm distortion and all sorts of awesome things. :)

its called DSP (digital sound programming)

I like to do all my sound by accessing the main buffer and using no more library other than that, then do the rest myself, sound is simple that way sometimes its best not to overcomplicate things by using huge music libraries, try coding a bit yourself.

9fb57988ee2aa7efeafc3bfb4063c641
0
Manuel_Marino 101 Aug 25, 2010 at 20:59

That’s weird… nobody said: music grammar :)