In my cocos2d iPhone app I wanted to have in game music. But I don't want to use garageband! It is just dragging prewritten loops. I wanted to compose the music for my game. Is there software that I can use to write music, such as techno music? Not taking songs that were made by someone else and adding effects.
See my answer about doing game sound in general for a small/one-man team.
List of Digital Audio Workstation software:
List of tracker software:
By the way, you're doing it wrong. Garageband is only dragging prewritten loops if you use it that way. It comes with some virtual instruments that you can compose with using MIDI regions (or whatever they're called in Garageband). You can also take those prewritten loops, cut them up inside Garageband or Audacity into different notes and place those accordingly. This is called sampling.
Which one should you use? Whichever one gives you the best results. It's different for everyone. If you want me to recommend a starting point, try out both FL Studio and Renoise and see which one you like better, then you know which category of software to choose from.
Or just find a musician. Seriously. There are TONS of people who want to write game music. And they're usually pretty good, much better than you will be (assuming music composition and production is just a passive interest or hobby for you).
I suggest you use FL Studio. I used it, and it's pretty powerful. A lot of professionals use it as well.
It's an app where you can arrange sounds in patterns, synthetize sounds, import your own, and do a lot more.
Actually, you can access the musical score in GarageBand and write your own music by positioning notes. There's no need to use only loops.
As of iLife '09, these are the steps for opening the score (they're needlessly complex in my opinion):
Now you can pick which notes to use and Command-click on the staff to insert notes, rests etc. This seems to work for any Software Instrument, so you could get an entire orchestra going right in GarageBand!