Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 6 of 6

Thread: Audio help

  1. #1
    Join Date
    Nov 2007
    Posts
    4

    Grin Audio help

    Hello. Im using hotspots for playing mp3 tracks on channel_narration with the built in player, but my problem is, when the selected track ends i want it to load a spesific new track without manually click on next hotspot. Is there any commands thats load a spesific track after the current loaded track ends ?
    My current script looks like this:
    Audio.Load(CHANNEL_NARRATION, "AutoPlay\\Audio\\MyMusicTrack.mp3", false, false);
    Audio.Pause(CHANNEL_BACKGROUND);
    Audio.Stop(CHANNEL_NARRATION);
    Audio.Play(CHANNEL_NARRATION);
    Thanks

  2. #2
    Join Date
    Aug 2007
    Location
    Leon, Mexico.
    Posts
    406

    Arrow Use Stop or Play on mouse Over

    It will be a flash kind mode

    Use Actions at the hot spots

  3. #3
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    Look at the On Audio event you can detect when an audio track ends and with that you can tell the program to load and play another file.

    Tigg
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

  4. #4
    Join Date
    Aug 2007
    Location
    Leon, Mexico.
    Posts
    406

    Talking Yeah Listen to the Eye off Thundera

    Quote Originally Posted by TJ_Tigger View Post
    Look at the On Audio event you can detect when an audio track ends and with that you can tell the program to load and play another file.

    Tigg
    Hey Tigg how whose called the feline leader there.?

    Old Days Cartoons eeerrryyyy.

    i wose wondering where wose the japanese artist those days huh

    Greets and Cheers

  5. #5
    Join Date
    Oct 2004
    Location
    East, South & West Asia
    Posts
    1,020
    Hi Dixter,

    You might want to hack a sample called MP3 Player Hard_Coded on my web site.
    It may help you in having continuous play of several tracks until you STOP it.

    In the sample, get rid of the WMP Plugin and use the player you built so you
    can have continuous play across pages.
    Last edited by azmanar; 12-04-2007 at 01:11 AM.
    Newbie Examples
    ------> AMS 7.5 : amstudio.azman.info
    ----> AMS 6 & 5: www.azman.info/ams/
    ----> FB: facebook.com/GuideToWealth

    ----> Content Development Blog: www.AZMAN.asia

  6. #6
    Join Date
    Nov 2007
    Posts
    4
    Thanks for the replies guyes

    Hi Dixter,

    You might want to hack a sample called MP3 Player Hard_Coded on my web site.
    It may help you in having continuous play of several tracks until you STOP it. In the sample, get rid of the WMP Plugin and use the player you built so you
    can have continuous play across pages.
    Hello bro, yeah i tested it out for some time now. I sat up a list box, that i prob can just hide when building the app in the end, and a playlist.txt. But the problem is, when i use the hotspots, lets say for an example i load track number 7, it play, and when it`s finished, the listbox/page automaticly load track number 2, instead of the next track that would be 8, + if i load a hotspot track after the page/listbox has loaded track 2, nothing get`s loaded (maybe something wrong in my config?).

    The thing is.., lets use a cd-player as an example, with hotspots as the buttons..
    When i insert a cd in my cd player and select track number 7, the song will be played, and when it ends, the cd-player will automaticly load track 8, then 9 and so on. Even if i skip back to the 3. track, it wil continue playing sequence 4 and 5, after each track...
    If it`s possible (im sure it is), i wan`t all the pages to handle the spesific audio tracks, exactly the same way as a cd-player handle it`s track. Because every uniq page in my project contain`s 1 cd. Also if it`s possible to repeat the whole "cd" (page-playlist) when it ends, and (start all over again), that would be great.

    Any help would be highly apreachiated

    Cheers

Similar Threads

  1. Build failure because of errors
    By Ed Stanley in forum AutoPlay Media Studio 6.0
    Replies: 2
    Last Post: 02-07-2006, 03:51 PM
  2. HELP: Trying to create a bookmark for audio
    By Ren in forum AutoPlay Media Studio 5.0
    Replies: 3
    Last Post: 09-12-2005, 05:20 AM
  3. Help: Trying to create a bookmark for audio
    By Ren in forum AutoPlay Media Studio 5.0
    Replies: 0
    Last Post: 09-09-2005, 01:43 PM
  4. Playing Multiple Audio Files in Sequence
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 6
    Last Post: 08-15-2005, 03:38 PM
  5. audio question
    By mike41 in forum AutoPlay Media Studio 5.0
    Replies: 0
    Last Post: 09-03-2004, 02:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts