Hi, Just wondering if anyone could help me with this problem.
Currently I am developing a singing game, same style as sing star but with scrolling e.g. rock band.
The problem I'm having is that I don't exactly know how long should the bars to be drawn.
Right now, i currently read midi file that contains the information I need for finding what time the notes are being played (the timings the in the midi file get converted correctly to milliseconds).
Lets say for example, I screen the size of 1920 pixles where the bars(notes) will scroll along.
The first note appears at 0 seconds and ends at 2 seconds.
How long should the note be drawn for?
Right now I though perhaps if the screen is 1920 = distance and I can decide how long should a note stay on a screen (lets say for 10 seconds)
If i use the distance = speed * time;
then the speed of the notes should go at :
speed = 1920 / 10 => 192 pixels per second;
then for the note for the note lasting for 2 seconds should be at a length of 384 pixels?
This does not seem correct?
Has anyone else attempted to do something similar I am?
I am also wondering if I should be using the tempo of the song for the speed of the scrolling?
Music speed
Currently I am developing a singing game, same style as sing star but with scrolling e.g. rock band.
Rock Band uses several files at once to create playback. Each song played on Rock Band has a corresponding MIDI file that tells the game how long notes should appear on the screen and at what speed. This MIDI file with a few other elements is also what enables either a good note or bad note to be played depending on if the player hit the right key at the right time.
I am also wondering if I should be using the tempo of the song for the speed of the scrolling?
Yes you should.
Nathan Madsen
Nate (AT) MadsenStudios (DOT) Com
Composer-Sound Designer
Madsen Studios
Austin, TX
Well the notes timings (how long notes should appear) are calculated by converting the midi clock timing into milliseconds which are affected by tempo changes through out the song (which i presume the tempos are the speed).
The tempos of the song could change at different and that would cause the scrolling affect not to be constant. Unless I take the average tempo value but I don't really like the sound of that.
How would I convert the tempo into says velocity. I can retrieve the tempo(BPM) and the time signature of the songs. I'm guessing these value would be required to calculate the speed of the scrolling.
I hope I am making much sense, it's kinda a hard to explain. lol
The tempos of the song could change at different and that would cause the scrolling affect not to be constant. Unless I take the average tempo value but I don't really like the sound of that.
How would I convert the tempo into says velocity. I can retrieve the tempo(BPM) and the time signature of the songs. I'm guessing these value would be required to calculate the speed of the scrolling.
I hope I am making much sense, it's kinda a hard to explain. lol
my Portfolio
Well the notes timings (how long notes should appear) are calculated by converting the midi clock timing into milliseconds which are affected by tempo changes through out the song (which i presume the tempos are the speed).
The tempos of the song could change at different and that would cause the scrolling affect not to be constant. Unless I take the average tempo value but I don't really like the sound of that.
How would I convert the tempo into says velocity. I can retrieve the tempo(BPM) and the time signature of the songs. I'm guessing these value would be required to calculate the speed of the scrolling.
I hope I am making much sense, it's kinda a hard to explain. lol
The MIDI file is created and synced perfectly to the song. Without saying too much (because I don't know what is and isn't covered by NDA) a musician goes through the whole song mapping a MIDI file to a song which would include any tempo changes. So you wouldn't have to take the average at all because you'd be dealing with precise tempo(s)- at least with Rockband. Now in your situation - you're building a new system so it all depends on the functionality of your system.
Nathan Madsen
Nate (AT) MadsenStudios (DOT) Com
Composer-Sound Designer
Madsen Studios
Austin, TX
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement