Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How to make or add music.

edited July 2012 in Questions Posts: 2

So I'm a newb when it comes to lua and CODEA. I'm Curious if it's possible to make or add music to a game. Thanks! :)

Tagged:

Comments

  • You can make your own sounds. There is something about in the sounds example. To add music or sounds to a game you just type sound() and put the name of the sound within the parenthesis . You have to import your music to the codea library I believe if you want to use it.

  • Posts: 384

    Hi @Bartleycollin, Codea supports particular and random sound effects as well as pitches. Playing imported audio data is more experimental at the moment, but can be done. Tunes can be played using this library of mine: http://twolivesleft.com/Codea/Talk/discussion/225/abcplayercodea-play-music-in-your-project#Item_59

    Check out also the sound() documentation and the advanced sound picker, as well as the sound-related threads.

  • Posts: 121

    Hi @Fred, what software do you suggest to compose music to be then exported in abc notation? Does it exist something that works also on iPad? Sorry but I'm pretty ignorant about that, but really interested in!

  • Posts: 384

    Hi @shrike, there are lots for different platforms listed on the ABC notation website, http://abcnotation.com

    I like converting from MIDI to ABC using , which you can find at: http://www.midicond.de/Freeware/index_en.html#MidiZyx2abc

    Or you can just write it out by hand...
    | e d c d | e e e2 | d d d2 | e e e2 | e d c d | e e e e | d d e d | c4 ||

    :)

  • Posts: 121

    Hi @Fred, thanks a lot, I'll give a check to MidiZyx2abc soon!

  • Posts: 18

    @Fred Just curious, what program do you use to compose MIDI files?

  • Posts: 384

    Hi ChrisF, there are lots of choices including free ones. I use Apple's Logic Pro, which does everything!

  • @Fred It won't let me copy and paste your abc player code. Any Suggestions?

  • Posts: 384

    Hi @Bartleycollin, what do you mean?

Sign In or Register to comment.