Fun with Sounds

Archives Forums/BlitzPlus Programming/Fun with Sounds

Pineapple(Posted 2008) [#1]
I'm writing a litle program for personal use that deals with music.

Unfortunately, I have two problems with it resulting from lack of coding knowledge in the area of sounds.

First and most important of all two questions, how do you determine when a song is done playing and has ended? I want it to cycle through a list of songs and this is a bit of an issue.

Second, I have about 300mb of sound data that it loads. This takes around five minutes or so. Is there any way to speed this process up?

KillerX(Posted 2008) [#2]
Check the manual for ChannelPlaying()

Try using .wav to speed it up

Pineapple(Posted 2008) [#3]
Thanks very much for the ChannelPlaying.

But I am already using wav. Thanks though.

here's my code, it won't play any songs. Could someone tell me why? To use sounds, just put folders in the same directory for moods and put sounds for that mood inside the folder. Very user friendly to that extent. By the way, I think I found a way to fix the loading problem.

EDIT: Fix'd!