Page 1 of 1
[29 Mar 2007] Repeating Music
Posted: Sat Jun 13, 2020 5:31 pm
by PEB
Note: This is an archived post that was originally sent to the Hollywood mailing list on Thu, 29 Mar 2007 09:07:32 -0700 (PDT)
I'm having trouble getting an MP3 file to only play once without repeating.
In Hollywood 2.5, there is an option to set the number of times a music file will loop itself; but no matter what I set it for, I always get an endless loop.
Does anyone else have this problem?
[30 Mar 2007] Re: Repeating Music
Posted: Sat Jun 13, 2020 5:31 pm
by airsoftsoftwair
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 30 Mar 2007 12:31:26 +0200
I'm having trouble getting an MP3 file to only play once without repeating.
In Hollywood 2.5, there is an option to set the number of times a music file will loop itself; but no matter what I set it for, I always get an endless loop.
Probably a misunderstanding of the documentation. You have to specify how many times the music shall be played (not how many times it shall be looped!).
Examples:
Code: Select all
Pass x for y
0 for endless loop
1 for play once (i.e. no loop)
2 for play twice (i.e. loop once)
3 for play thrice (i.e. loop twice)
etc.
Does anyone else have this problem?
Here it works fine.
[30 Mar 2007] Re: Repeating Music
Posted: Sat Jun 13, 2020 5:31 pm
by PEB
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 30 Mar 2007 13:57:42 -0700 (PDT)
I found out what the problem was. I had a repeated section of code that was causing the music file to play over and over again. Everything works fine now.