Because you are...a puppet!
- Nov 29, 2017
- Reaction score
- First Language
- Primarily Uses
I get this whenever I try to load the audio profile.
Is there something I am doing wrong?
Yes, i did. In my json file.Someone else asked about a completely different "non-finite" issue about an hour ago in this thread and apparently it has to do with a decimal value being passed in where only an integer value can be used (in this case, the value that specifies where the Loop of an audio file should begin).
Did you enter a decimal value in a plugin parameter that has to do with Audio?
@Tsukihime Would it be worth rounding numbers in this plugin?
Samples.How is your profile set up. Seconds/frames?
Can you try specifying it in seconds? I'm looking at the WebAudio API and it only supports seconds.Yes, i did. In my json file.
Both: I hade to use Samples and decimals because there is a very specific point where the audio loops and anything off said point makes it....bad.
Ok, I lied. I wasn't at my computer so I didn't ACTUALLY know. I did know I was using samples, but not if i was using decimals or not.Can you try specifying it in seconds? I'm looking at the WebAudio API and it only supports seconds.
So what the code does when you provide it in samples is it divides it by the audio's sample rate which I believe is a conversion from sample offset to seconds offset
This could give you a decimal potentially lots of decimal places. But I'm not sure how how many decimal places would cause it to crash (tenths? hundredths? Thousandsths? etc)
Can you try calculating the seconds offset manually and then see how many decimal places it accepts before it crashes?
You can open the song file in Audacity and find the loop points there.Ok, I lied. I wasn't at my computer so I didn't ACTUALLY know. I did know I was using samples, but not if i was using decimals or not.
Since switching over to seconds, the error goes away.
Now I am just trying to find the sweet spot of where the song loops and its driving me INSANE. Almost an hour trying to find the loop spot.
Does web audio use loop information from the OGG directly?If you can’t loop using second, just use Audacity create a loop instead then export it.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.