03-14-2012, 07:39 AM
Been working on a revised AUDIO system that handles multiple channels. If you play a BGS file and you want to play another, the first one is cut off and discontinued. Mine... lets you play both simultanously. Heck, you could play 3 or more at the same time now. Multiple channels.
I made an editor so you can make looping points in both BGM and BGS, modeled after Cogwheel's system. Nice one too. Displays a millisecond counter and has a pause/resume feature. The system isn't keen on Ogg-Vorbis, but I kinda knew that from the start. I made sure the editor won't let you adjust/alter the start position of Ogg Vorbis audio files. Ogg Vorbis doesn't like you to alter 'em. I don't know why, but changing where you start playing an Ogg file also changes where they loop in some odd way. It's funky.
No luck finding DirectSound/DirectX code for RGSS. Last person to search (records found) was in 2009? Guess I'm not alone. LilyKnight even did a search for me on that subject.
BUT.... I got the mcisendstring code that makes the music start playing the moment it starts loading the file. Yep, it's streaming the music now. It's not waiting for the whole file to load and THEN start playing. Ye delay is over.
Hey, guys? Wanna have your RMXP game play music straight from the CD tracks? I got a little bit of code that opens and plays from my F: CD drive. ^_^ Now I gotta figure out how to have it tell which drive(s) are valid CD players... It's only preliminary as I gotta make sure it turns the music off when I exit too. Dang CD player kept playing. :P
I made an editor so you can make looping points in both BGM and BGS, modeled after Cogwheel's system. Nice one too. Displays a millisecond counter and has a pause/resume feature. The system isn't keen on Ogg-Vorbis, but I kinda knew that from the start. I made sure the editor won't let you adjust/alter the start position of Ogg Vorbis audio files. Ogg Vorbis doesn't like you to alter 'em. I don't know why, but changing where you start playing an Ogg file also changes where they loop in some odd way. It's funky.
No luck finding DirectSound/DirectX code for RGSS. Last person to search (records found) was in 2009? Guess I'm not alone. LilyKnight even did a search for me on that subject.
BUT.... I got the mcisendstring code that makes the music start playing the moment it starts loading the file. Yep, it's streaming the music now. It's not waiting for the whole file to load and THEN start playing. Ye delay is over.
Hey, guys? Wanna have your RMXP game play music straight from the CD tracks? I got a little bit of code that opens and plays from my F: CD drive. ^_^ Now I gotta figure out how to have it tell which drive(s) are valid CD players... It's only preliminary as I gotta make sure it turns the music off when I exit too. Dang CD player kept playing. :P