loading sounds, changing and reloading them
Posted: Thu Nov 10, 2022 10:25 pm
Hi :)
Quick question(s) about the inner workings of the sound system:
If I load a sound and want to replace/reload it afterwards while the program is running, do I first need to unload e.g. sound '0' to replace it?
I also wonder if continuously changing the frequency damages the sound quality (like resampling again and again) in memory or not?
Quick question(s) about the inner workings of the sound system:
If I load a sound and want to replace/reload it afterwards while the program is running, do I first need to unload e.g. sound '0' to replace it?
Code: Select all
LoadSound(0, "a.wav")
LoadSound(0, "b.wav")Code: Select all
for i = 1 to 999
SetSoundFrequency(0, #FreHigh)
SetSoundFrequency(0, #FreLow)
next