Announcement

Collapse
No announcement yet.

Continuos Loop Sound?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Worm
    replied
    Re: Continuos Loop Sound?

    It would be simple enough to do with a MP3 for background. You would manually have to pause the MP3 when the video started, and then use the objects On Stream End to start the music again.

    Leave a comment:


  • sterling
    replied
    Re: Continuos Loop Sound?

    Hi everyone - I'm new to the forum.

    Where are we at on this background music issue? Is it possible to have background music playing that pauses for video or flash with audio, and then resumes?

    Is there a developer out there with a solution who would be willing to assist over the phone for a fee to make this work?

    Thanks - [email protected]

    Leave a comment:


  • Worm
    replied
    Re: Continuos Loop Sound?

    Here is a very basic 3 page project with an MP3 that loads and plays from Page 1's On Show event. You can then jump around from page to page and it'll keep playing.

    Put you own MP3 in the Distribution folder, and edit the MP3.Load action to load your MP3 and you should be all set.

    Download

    Leave a comment:


  • enigma1
    replied
    Re: Continuos Loop Sound?

    I've read all down this thread, and a number of people have asked just what I am asking....how to start an Mp3 or Wav playing and have it play continuously through jumps from page to page. I have slavishly tried doing what has been suggested with the 'foreign language' thing (I know NOTHING about programming, and all this ENDIF's and TRUE'S stuff goes right over my head). I don't think I am being unreasonable in asking if ANYONE out there could set out in simple steps just exactly what to do to achieve the desired aim. I say 'simple steps' because that exactly what they'll have to be for ME to understand them [img]/ubbthreads/images/icons/smile.gif[/img]) Thanks in anticipation

    Leave a comment:


  • jscott14
    replied
    Re: Continuos Loop Sound?

    Actually, I think it IS possible to do this under the right circumstances. I've successfully accomplished having a looping mp3 play seamlessly from page to page, pausing when other sound plays, then resuming when the sound is done. Maybe I'm a very special case, but here's how:
    My AMS project is created to demo over 100 Flash templates that I've designed. I have pages of thumbnail images of each Flash template. When you click a thumbnail, it starts the executable Flash.
    I think it's already been established how to get the mp3 to play from page to page, so I'll skip that part. To make the audio pause, here are the actions for each thumbnail "On Mouse Click":

    MP3.Pause
    File.Execute ("%SrcDir%\filename.exe","",Wait)
    MP3.Play

    Basically, you're telling the mp3 to "pause" on mouse click, then you're waiting for the exe file to finish before it goes to the next instruction in the list. Once the exe file has finished (in my case, once the user closes the Flash movie), the next instruction is executed, which says to Play the paused mp3.

    This works like a charm for me. I hope it can help you out as well.

    Leave a comment:


  • Corey
    replied
    Re: Continuos Loop Sound?

    I don't think there's any application/tool in existence which can do that automatically BTW. [img]/ubbthreads/images/icons/smile.gif[/img]

    Also as years of Flash have taught us, background music is usually unwelcome by the user and should always be optional...

    Corey Milner
    Creative Director, Indigo Rose Software

    Leave a comment:


  • yosik
    replied
    Re: Continuos Loop Sound?

    Thanks for the "good" words :-)
    I am not trying to make things complicated. Just to have a nice background music that plays continously, unless something else, using sound has to be active.
    I will write it as a suggestion.
    Thanks again,
    Yossi

    Leave a comment:


  • Corey
    replied
    Re: Continuos Loop Sound?

    I have no idea how you can control an external projector, not something I would try personally... Seems like you're getting pretty complicated considering the end user will most likely not even notice your great creation. [img]/ubbthreads/images/icons/smile.gif[/img] My personal opinion is that you are pursuing something without much end value, but hey whatever works...

    So that being said I have never noticed my one page apps getting sluggish... I guess that would depend on the size of the app, but I can't see what would make it sluggish. Think about it though, are you doing anything which will tax the system? If so maybe this isn't a good plan. Not sure...

    Another solution would be to build your entire app in Flash then you can just use a sound object... Wish I had more to offer but I'm pretty much out of perspective on this one, best of luck...

    P.S. you could always suggest this as a new feature too if you think it's important. Just ask for a universal project background sound which auto-ducks in-app audio events... Who knows? [img]/ubbthreads/images/icons/smile.gif[/img]

    Corey Milner
    Creative Director, Indigo Rose Software

    Leave a comment:


  • yosik
    replied
    Re: Continuos Loop Sound?

    If you mention it. What would the difference be between having a project broken down between pages and having all of it on one page? sluggish? slow? long delay?

    The best way to reslove my problem would be to launch an external flash projector. But how can I close it down when needed (and of course, at the end of the project)?

    Thanks
    Yossi

    Leave a comment:


  • Corey
    replied
    Re: Continuos Loop Sound?

    If you are asking for seamless MP3 from page to page which can automatically pause/resume when other objects play I know of no way.

    Although as a workaround if you can make your page more dynamic, and therefore contain your app to a specific page you could simulate that pretty well...

    Corey Milner
    Creative Director, Indigo Rose Software

    Leave a comment:


  • yosik
    replied
    Re: Continuos Loop Sound?

    Hi,
    I tried the methods quoted in this thread. But what I want is the song to play over pages (with an added bonus to have the sound stop and start again at certain points, like when a media object is launched).
    ALL methods, except executing a flash projector, had the song stop when moving from one page to the other (mp3 object, flash object with song embedded...).
    Am I missing something?

    Thanks
    Yossi

    Leave a comment:


  • TJ_Tigger
    replied
    Re: Continuos Loop Sound?

    I am glad that you got it working.

    Here is my latest string of actions. I got tired of listening to the same song every time I tested my build. So I set a variable to create a random variable and then use that random variable to set position in the global list and then play from the current position. Here it is

    <IR_ACTIONS_LIST>
    <Action name="IF">
    <Type>200</Type>
    <Function>1</Function>
    <DTIndentLevel>0</DTIndentLevel>
    <Enabled>1</Enabled>
    <ErrorHandling>
    <UserNotificationMode>2</UserNotificationMode>
    <CustomErrorMessage/>
    <OnErrorAction>0</OnErrorAction>
    <JumpToLabel/>
    </ErrorHandling>
    <Condition> !%visit%</Condition>
    </Action>
    <Action name="Set Random Value">
    <Type>65</Type>
    <Function>0</Function>
    <DTIndentLevel>1</DTIndentLevel>
    <Enabled>1</Enabled>
    <ErrorHandling>
    <UserNotificationMode>2</UserNotificationMode>
    <CustomErrorMessage/>
    <OnErrorAction>0</OnErrorAction>
    <JumpToLabel/>
    </ErrorHandling>
    <Variable>%RndValue%</Variable>
    <Method>0</Method>
    <Maximum>11</Maximum>
    <Minimum>0</Minimum>
    <Mask/>
    </Action>
    <Action name="Set Position">
    <Type>113</Type>
    <Function>0</Function>
    <DTIndentLevel>1</DTIndentLevel>
    <Enabled>1</Enabled>
    <ErrorHandling>
    <UserNotificationMode>2</UserNotificationMode>
    <CustomErrorMessage/>
    <OnErrorAction>0</OnErrorAction>
    <JumpToLabel/>
    </ErrorHandling>
    <TargetList>playlist</TargetList>
    <SetType>4</SetType>
    <Index>%rndvalue%</Index>
    </Action>
    <Action name="Get Item">
    <Type>112</Type>
    <Function>0</Function>
    <DTIndentLevel>1</DTIndentLevel>
    <Enabled>1</Enabled>
    <ErrorHandling>
    <UserNotificationMode>2</UserNotificationMode>
    <CustomErrorMessage/>
    <OnErrorAction>0</OnErrorAction>
    <JumpToLabel/>
    </ErrorHandling>
    <TargetList>playlist</TargetList>
    <GetType>0</GetType>
    <Index/>
    <IndexDelimiter>;;</IndexDelimiter>
    <Variable>%FullPath%</Variable>
    <VarDelimiter>;;</VarDelimiter>
    </Action>
    <Action name="Load">
    <Type>105</Type>
    <Function>0</Function>
    <DTIndentLevel>1</DTIndentLevel>
    <Enabled>1</Enabled>
    <ErrorHandling>
    <UserNotificationMode>2</UserNotificationMode>
    <CustomErrorMessage/>
    <OnErrorAction>0</OnErrorAction>
    <JumpToLabel/>
    </ErrorHandling>
    <MP3File>%fullpath%</MP3File>
    <External>1</External>
    </Action>
    <Action name="Play">
    <Type>106</Type>
    <Function>0</Function>
    <DTIndentLevel>1</DTIndentLevel>
    <Enabled>1</Enabled>
    <ErrorHandling>
    <UserNotificationMode>2</UserNotificationMode>
    <CustomErrorMessage/>
    <OnErrorAction>0</OnErrorAction>
    <JumpToLabel/>
    </ErrorHandling>
    </Action>
    <Action name="Set Value">
    <Type>6</Type>
    <Function>0</Function>
    <DTIndentLevel>1</DTIndentLevel>
    <Enabled>1</Enabled>
    <ErrorHandling>
    <UserNotificationMode>2</UserNotificationMode>
    <CustomErrorMessage/>
    <OnErrorAction>0</OnErrorAction>
    <JumpToLabel/>
    </ErrorHandling>
    <Variable>%visit%</Variable>
    <Value>TRUE</Value>
    <Evaluate>1</Evaluate>
    </Action>
    <Action name="END IF">
    <Type>201</Type>
    <Function>1</Function>
    <DTIndentLevel>0</DTIndentLevel>
    <Enabled>1</Enabled>
    <ErrorHandling>
    <UserNotificationMode>2</UserNotificationMode>
    <CustomErrorMessage/>
    <OnErrorAction>0</OnErrorAction>
    <JumpToLabel/>
    </ErrorHandling>
    </Action>
    </IR_ACTIONS_LIST>

    Leave a comment:


  • pagedown
    replied
    Re: Continuos Loop Sound?

    TJ,

    I got it, thanks for the suggestions. I had to change the Original MP3 with the Underscore Fourplay_Chant.mp3 before i loaded. Then in the load file select and it matched up. I guess It was looking for the Fourplay-Chant.mp3, i only changed it once, forgot it needed two changes...... Thanks, no to figure out the Global List feature

    Leave a comment:


  • TJ_Tigger
    replied
    Re: Continuos Loop Sound?

    Don't know what to tell ya. Seems weird that it would work on your hard drive and not on a CD. I would just make sure that the file is getting burned correctly on CD. Have you browsed the CD to ensure that the file is there and existing where it is supposed to be?

    Leave a comment:


  • pagedown
    replied
    Re: Continuos Loop Sound?

    changed the - to _ and still nothing. I shortend the name to just the mp3 file name an i still get the same error. *&amp;^$#@

    Leave a comment:

Working...
X