Forgive me if this question has been posted elsewhere, the search mechanism strictly forbids searching for either of the words "sound" or "audio."
(even in advanced search, looking at only topics).
I am trying to make sound for a bouncing ball, a simple boink.wav is loaded.
boink = love.audio.newSource("boink.wav", "static")
[]
...
love.audio.play(boink)
....
My "boink" boinks on the first two bounces, then every other bounce, then it begins to boink only every so often.
I added a bonk using the same .wav file and doubled my boinks (or added bonks to the boinks) but the problem still eventually occurs.
The .wav file is shorter in duration than about 4 times the duration of boinkless gameplay.
Is there some sort of method to get my boinking back into rhythm?
Windows XP
wave specs:
352kbps
9.92kb
love 0.6.1
Sound Effect recycle problem
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Sound Effect recycle problem
while (1)
do LÖVE
do LÖVE
- TechnoCat
- Inner party member
- Posts: 1611
- Joined: Thu Jul 30, 2009 12:31 am
- Location: Milwaukee, WI
- Contact:
Re: Sound Effect recycle problem
Try mp3 or ogg. I believe there are still issues with wav.
Re: Sound Effect recycle problem
ok, thanks!
for now i'm using an array and cycling through them. increased load time, but functional audio...
for now i'm using an array and cycling through them. increased load time, but functional audio...
while (1)
do LÖVE
do LÖVE
Re: Sound Effect recycle problem
i cannot get a sound from .ogg (using audacity here).
and when I try .mp3 the sound is clearly playing back in a higher bitrate.
and when I try .mp3 the sound is clearly playing back in a higher bitrate.
while (1)
do LÖVE
do LÖVE
Re: Sound Effect recycle problem
noob solution, slowed down the wav, exported the ogg and got rid of the array...
wavs are broken.
wavs are broken.
while (1)
do LÖVE
do LÖVE
Who is online
Users browsing this forum: Semrush [Bot] and 3 guests