[Resolved] Hime Audio Looping issue

Status
Not open for further replies.

Jenova

Because you are...a puppet!
Veteran
Joined
Nov 29, 2017
Messages
384
Reaction score
258
First Language
English
Primarily Uses
RMMV


I get this whenever I try to load the audio profile.

Is there something I am doing wrong?
 

Wavelength

Edge of Eternity
Global Mod
Joined
Jul 22, 2014
Messages
5,480
Reaction score
4,948
First Language
English
Primarily Uses
RMVXA
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?
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,554
Reaction score
3,797
First Language
English
How is your profile set up. Seconds/frames?
 

Jenova

Because you are...a puppet!
Veteran
Joined
Nov 29, 2017
Messages
384
Reaction score
258
First Language
English
Primarily Uses
RMMV
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?
Yes, i did. In my json file.

How is your profile set up. Seconds/frames?
Samples.


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.
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,554
Reaction score
3,797
First Language
English
Yes, i did. In my json file.



Samples.


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.
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?
 
Last edited:

Jenova

Because you are...a puppet!
Veteran
Joined
Nov 29, 2017
Messages
384
Reaction score
258
First Language
English
Primarily Uses
RMMV
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?
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.
 

Waifus69

Veteran
Veteran
Joined
Jun 30, 2020
Messages
40
Reaction score
17
First Language
English
Primarily Uses
RMMV
Ca
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.
You can open the song file in Audacity and find the loop points there.
 

Jenova

Because you are...a puppet!
Veteran
Joined
Nov 29, 2017
Messages
384
Reaction score
258
First Language
English
Primarily Uses
RMMV
Ca

You can open the song file in Audacity and find the loop points there.
That's exactly what i am doing but even with decimals its hard.

I am using Start/End Selection and using the minutes/Seconds.

I am always a bit over or under. Its killing me
 

Waifus69

Veteran
Veteran
Joined
Jun 30, 2020
Messages
40
Reaction score
17
First Language
English
Primarily Uses
RMMV
That's exactly what i am doing but even with decimals its hard.

I am using Start/End Selection and using the minutes/Seconds.

I am always a bit over or under. Its killing me
If you can’t loop using second, just use Audacity create a loop instead then export it.
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,554
Reaction score
3,797
First Language
English
If you can’t loop using second, just use Audacity create a loop instead then export it.
Does web audio use loop information from the OGG directly?
How does audacity store the loop data?

Ideally the plugin should be able to replicate it, but maybe seconds isn't the best way to handle it
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
7,392
Reaction score
5,035
First Language
Dutch
Primarily Uses
RMXP

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.

 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

I had a birthday party earlier today. No-one showed up. ;_;
yay my offer is up :) joys
@wrigty12 hi! thanks for showing interest in my work. Sadly the tablet I'm using broke, so I wasn't able to create anything for weeks. Got a new one with display, I'm still not used to it though, so I'm still practicing, doing basic drawings again. Also I'm in my last year of college. Thesis, projects and other activities takes most of my time ;_;.
I'll get back to it whenever I get a free time.
Any artists here planning on participating in the Inktober art prompts this October?
It's right around the corner.
It's rpg maker related so I'll post it here, I worked on a little free rpg maker zine and this was my piece. Play Grimm's Hollow if you haven't already, I liked it a lot. (i don't remember if posting a link to a product even if free is allowed via profile posts, so if anyone knows lemme know)

Forum statistics

Threads
103,025
Messages
996,759
Members
134,497
Latest member
Grung
Top