If it is a big file, then it is quicker to open a stream than to load as a sample. A sample decompresses the whole file.
What else would you be wanting to use besides pcm. If it is milliseconds then just convert pcm to ms with ms = pcm * 1000 / samplerate.
Well, I just don’t know how to calculate get the pcms of each song for a perfect loop.
Before, I was using Samples and just using those positions to create a perfect loop and it worked just fine.
One more question, what’s considered the samplerate?
Please excuse the first reply. I’m not very keen on the terminology when it comes to music, I just know what type of tunes I like.
I see you were talking about the rate, like for example, 44100 Hz, right?
If that’s the case then I got what you’re talking about now.
Please login first to submit.