Page 1 of 1

Musik

PostPosted: Tue Sep 13, 2011 5:49 pm
by JimJamJom56
I have made a game called Musik. :D
Capt0007.jpg

Its a little Pocket PC program that plays different tones.

Enjoy!
Musik.zip
(1.03 MiB) Downloaded 232 times

Re: Musik

PostPosted: Tue Sep 13, 2011 9:57 pm
by NERDnotGEEK
Nice and Simple, and very nice start, I like the way it slides up :D

I hope your going to add more to it? like say the ability to record a small 5 second sequence. then after that maybe the ability to have that 5 second sequence play over and over in a loop so you can build up on it :) you could make a rather powerful midi sorta tone tool here :)

Just thought id jot down some things that you could add. easiest to hardest :)


1) Chord mode (broken and full)
2) Record a sequence of notes.
3) Play Back sequence of notes.
4) Save sequences
5) record two or more sequences and have the ability to play both back at the same time to create even more in depth music

Re: Musik

PostPosted: Wed Sep 14, 2011 5:31 am
by JimJamJom56
How would I record/playback?

Re: Musik

PostPosted: Wed Sep 14, 2011 7:37 am
by skydereign
All you need is an array holding when an event happens. So when you press a key to make a note, it records when you did (and the channel it was played in), and then when you release it records that as well. Then as you play it back, you check the time, and if it is time, you play the sound (storing the channel it is played in), and when the event calls to stop it (you can tell due to the channels).

Re: Musik

PostPosted: Wed Sep 14, 2011 3:29 pm
by JimJamJom56
Hmm... I dont really understand :P
Could you make an example or something?

Re: Musik

PostPosted: Wed Sep 14, 2011 10:43 pm
by skydereign
Well here is a pretty simple one. It isn't as clean as it could be, but it works. Press the top pacman to start and stop recording. When you aren't recording, right click it to playback. I changed your setup a bit. If you were going to use inheritance, you don't need to add the unique events (the play sound a-g) to the actor you inherit from. Though, what I ended up doing was just make the buttons all clones and use cloneindex to save different notes.
http://game-editor.net/media/kunena/attachments/66/Musik2.ged.zip

Re: Musik

PostPosted: Sat Sep 17, 2011 12:40 pm
by JimJamJom56
Yay it works! :D
The recording is really easy to understand.
Press start to start recording.
Press stop to stop recording.
Press the green arrow to play back.

Thanks skydereign for the help! :D

Musik.zip
(1.04 MiB) Downloaded 176 times