How to make audio track respond to timeline

I'm starting a project and need the ability to control the speed of an audio file playback using the timeline.
There are specific events that happen at certain times in the song, and i need the ability to scrub forward and backward on the timeline, including the audio. is this possible?
I have a mechanism to scrub through the timeline of a symbol, but i can't get it to recognize the audio track.
I use this code on the stage in a "composition ready"
var symDur = sym.getSymbol("timelinePlay").getDuration(); // Get the timeline length of timelinePlay. We'll reference this later in the code. var mySymbol = sym.getSymbol("timelinePlay"); // Get the symbol timelinePlay. We'll reference this later in the code. var scrubber = sym.$("scrubber"); // Touch this to scrub the timeline of timelinePlay var bar = sym.$("bar"); // Bar the scrubber follows sym.$("mobileHit").hide(); // Added an extra invisible div to increase the hit region for mobile (hard to grab otherwise) var dragme = false; // Set the initial dragme function to false // Detect if mobile device, and if so swap out mouse events for touch events. This is pretty much duplicated code with touch events swapped. if (/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent)) {     sym.$("mobileHit").show(); // Show the extra invisible div to increase the hit region for mobile (hard to grab otherwise)     $(function () {         scrubber.bind("touchstart", function (e) { // Enable the scrubber on touchstart             e.preventDefault(); // Cancels the default action of the mobile device - used to ensure our touch events are fired             dragme = true;         });         scrubber.bind("touchend", function () { // Disable the scrubber on touchend             e.preventDefault();             dragme = false;         });         scrubber.bind("touchmove", function (e) { // Make the magic happen on touchmove             if (dragme) {                 var touch = e.originalEvent.touches[0];                 var possibleX = touch.pageX;                 var leftX = bar.offset().left;                 var rightX = (leftX + bar.width()) - scrubber.width();                 var scrubWidth = rightX - leftX;   // Confine the scrubber to the width of the bar                 if (possibleX < leftX) {                     possibleX = leftX;                 }                 if (possibleX > rightX) {                     possibleX = rightX;                 }                 scrubber.offset({                     left: possibleX                 });                 var relativeX = possibleX - leftX;                 var stopTimeline = Math.ceil((relativeX / scrubWidth) * symDur); // Make the scrubber scrub the timeline length of timelinePlay                 mySymbol.stop(stopTimeline); // Stop the timeline of timelinePlay when the scrubber is released             }         });     }) } else $(function () {     scrubber.mousedown(function () { // Enable the scrubber on mousedown         dragme = true     })     $(document).mouseup(function () { // Disable the scrubber on mouseup         dragme = false     })     $(document).mousemove(function (e) { // Make the magic happen on mousemove         if (dragme) {             var possibleX = e.pageX;             var leftX = bar.offset().left;             var rightX = (leftX + bar.width()) - scrubber.width();             var scrubWidth = rightX - leftX;             // Confine the scrubber to the width of the bar             if (possibleX < leftX) {                 possibleX = leftX;             }             if (possibleX > rightX) {                 possibleX = rightX;             }             scrubber.offset({                 left: possibleX             });             var relativeX = possibleX - leftX;             var stopTimeline = Math.ceil((relativeX / scrubWidth) * symDur); // Make the scrubber scrub the timeline length of timelinePlay             mySymbol.stop(stopTimeline); // Stop the timeline of timelinePlay when the scrubber is released         }     }) }) 
and have an group called 'scrubber' that contains a div called 'dot' and a box called 'mobileHit.' There's a horizontal bar that's not included in the 'scrubber' div (representation of a timeline) called 'bar' on top of which the 'scrubber' sits.
the whole contraption controls a symbol called "timelinePlay"
If there's any way to get the audio included in the timeline and give me the ability to scrub through the timeline /and/ audio, (imagine manually fast forwarding and rewinding a VHS tape) that would be wonderful!!!

anybody?

Similar Messages

  • Audio track missing on timeline when I insert clip from source monitor

    I have the following problem with PP CS6: my media contains two alternate mono tracks (one with the signal boosted as an insurance) and I have PP set up to treat them as two mono tracks, rather than one stereo track. Everything works fine when I drag media directly to the timeline from the project panel. But when I use the source monitor to select in and out points, and then insert the chosen clip into the timeline, only one of the two audio tracks appears on the timeline. Can anyone please explain how to make sure I get both tracks on the timeline via this route?
    Thanks
    DM

    Hi Jim,
    Thanks for replying. Unfortunately this doesn't apply to my case. I've set PP's default behaviour to import as dual mono in Edit\Preferences\Audio. This allows me to drag media from the project panel to the timeline and get two sediscrete mono channels. My problem is that when I go the source monitor route, any clip that I insert does not display two audio tracks on the timeline, just one. I have discovered I can switch the source channel from left to right, which to all intents and purposes fixes my problem, but I would like to maintain the option of getting both channels displayed separately on the timeline if possible.
    Thanks
    DM
    Sent from my iPhone

  • Macbook pro to HDTV, video is working but audio is not working, how to make audio work as well

    Macbook pro to HDTV, video is working but audio is not working, how to make audio work as well

    If you use an HDMI cable, the audiostream will be integrated, so there will be sound when using an HDMI cable!
    Not necessarily.  That only works as stated if you have one of the most recent MBP's that has a built-in HDMI port.
    If the MBP only has a Thunderbolt or miniDisplayPort, you need an appropriate adapter cable and even if you use an HDMI adapter or cable to connect to your HDTV there is no guarantee it will carry audio.  You have to determine if your specific MBP model supports audio out through its miniDisplayPort or Thunderbolt output, and whether the adapter does likewise.

  • How to make Visitor Tracking in embedded Tomcat.

    Hi, Please help me.
    I want to know how to make visitor tracking in embedded Tomcat. If you know, how to catch all the incoming clients to Tomcat, please tell me. I don't know how to catch them.

    enable logging on the server

  • How to replace audio track in mpg file (3,4 Gb) by mp3 fies?

    How to replace audio track in mpg file (3,4 Gb) by mp3 fies? Without loosing video quality?

    I've never used muxers under Linux, but you can try mpegdemux.
    Take a look at Elecard Xmuxer Pro, for example – but that costs $$$. Look here and you may find a good, free Windows-based tool.

  • I just got logic and need help i dont know how to make a track at all

    i just got logic and need help i dont know how to make a track at all

    Pancenter wrote:
    There was a time not too long ago when people respected the incredible amount of talent that contributed to this software...Everyone -wanted- to learn about the craft and "art" that goes into being a good engineer, musician, producer...etc.      
    Beginner's did enough reading and experimentation to at the very least, ask an intelligent question.
    pancenter-
    Hey Pancenter there are still lots of us about.
    I wouldn't take the original post too seriously - I may of course be naive but it sounds like it could be a troll to me!
    I learn a lot from reading the posts of the likes of you, Erik, Bee Jay, sampleconstruct, noeqplease etc so I hope you guys don't become too dispondent when you see posts like these.
    By the same token, I hope the Logic team continue to use their talents to develop powerful software that caters for the professional user, while allowing Garageband to continue to do its (excellent) job of providing for its market.

  • Replace audio tracks in a timeline

    Hi all.
    This is actually kind of embarrasing, but here it goes:
    I've made a rough cut of some source material with 4 audio channels, channels 1-2 with environment audio and track 3-4 with interview audio.
    Me being stupid, I did not enable the second audio track on the timeline onto which the clips where going, hence I've got a timeline with only the environment audio, but no voice.
    Is there an automated way to replace the tracks? Edit done in cs6.
    Best regards, Norway.

    I found the solution my self.
    Mark all the clips with wrong audio channels. Hit "Clip" on the upper menu bar, Modify>Audio Channels and do the replacement in the dialog that pops up.

  • Nokia n8 How to switch audio tracks in video playe...

    How to switch audio tracks in video player? and How can I connect an external audio track playback video?

    Re: Nokia N8 how to reset to factory settings [ New ]
    ‎2013-01-16 23:06
    Hiiii i hace the same problem i dont have pasaron to hard reset my Nokia 8 and i have a big problem, i cant maje calles , or go to the Home menú, or use wifi, dial aytihing I been having that message saying that there no memory and u have to delete some data, since then just menu screen it works but nothing else please help
    HI everyone! I also have the same problem as per above. Please help! Thank you!

  • How do you make audio tracks independent?

    I need to be able to export my live audio tracks 1+2 and M+E tracks 3+4 to QT AIFF mono files
    Problem is even when I unclick the speakers and select just 1+2 tracks I still end up with 3+4 mixed in as well.What am I doing wrong?

    Check the Audio Outputs assignment on sequence tracks 3 & 4 as this determines the output and therefore export patching ... to see the output assignment for a given track you can right click on or around the track's track lock or auto select button and view the assignment from the context menu displayed.
    Hope it helps
    Andy

  • HOW TO MAKE AUDIO SHOW THE SOUND WAVES?

    I was wondering if it was possible to show the sound waves on the audio track, whenever I plug in audio I cant seem to figure out how to make it show like it does in other programs such as Adobe Premiere? Thanks!

    Option-Command-W, if you're the keyboard type
    Otherwise, there's button right by the track height selector buttons, at the bottom left of the Timeline.

  • How to make audio of many clips the same level?

    I have a sequence containing many interview clips which all seem to be at different sound levels. Is there any easy way to make all of these the same level? The only way I know how to adjust the level is using the volume level control under audio effects for a particular clip.
    Also i'm wondering whether there is a way to filter out background noise?
    Many Thanks

    If the mic was a different distance etc then you'll never be able to make them all sound exactly the same tone.  But For the background noise I'd really recommend the effects inside premiere I've already mentioned I have found that 90 percent of the time I don't ever need to use audition for interview type edits. I'm able to get by using a denioser and highpass to remove "most background" noises. However I don't film outside very often most of my background noise problems are usaully from too much gain or AC noise. So your scenario might be different than mine for this reason.
    The benifit of the compressor is that it can make your audio stay exactly within whatever range you want without having to keyframe stuff. With the clips you have desribed you'll want to use a different dynamics filter for each group. So put each group on it's own audio track. So group one that you have desribed would go on track 1 since all those clips have similar range etc. Basically with group 1 I wouldn't compress it at all. I'd leave it alone except for lowering it's audio by -2 on the audio track 1. That way all the clips in the first group will be lowered by 2db if you put them all on track 1. You won't have to worry about it's slightly too high peaks as long as you set a dynamics effect with nothing enabled on it besides the limiter on the master track and have the limiter set to -6 since you said that's what you need your max peak to be. If you do this then everything in group one will be handled as far as levels go. (as far as db goes anyways) However if you want to have other things in the project to be higher than -6 then just simply put the -6 limiter turned on track 1 then instead of the master track.
    Then for the second group I wouldn't touch them at all I'd put them on track 2 and just let the limter on the master track keep it's peaks from going to high since it's basically already where you want it. Then if the clips have a hissing noise or something you can add a denoiser and set the reduction to -10 and adjust from there.
    Then for your final set you are desribing -22 to -12 for these I'd put them on track 3 and use a dynamics filter and keep everything disabled except for the compressor itself. For this I'd start with my ratio at 2 and put my threshold at -20 and set my makeup gain at 9 or so. Then from there if it looks like it's way to loud then try lowering the gain and if it looks like its lows are too quite then add the gain back but if it appears to be to loud then simply raise your ratio or lower the threeshold a bit. But I think the settings I have listed will get your to your desired range.
    For the clips that are hitting -0 a lot if they are distorting then you really can't fix distortion but if they are hitting 0 and aren't distorting then you can just simply lower the volume for these you don't need to add any gain since they are already too loud anyways so if you just lower them by like -6 it should get them right within the range you mentioned.
    As far as background noise such as hissing you'll really want to just use Premiere's denoiser effect. Start off by setting the reduction to like -10 and adjust from there. Then for cars passing etc try out a highpass filter and set it to 120 to start and move up there if needed. It will take the bass out of the peoples voices but it won't sound bad unless you start going over 160-170 range it also depends on if the person has a deep voice to begin with or not too though.

  • How to make Different Tracks in a Recording

    HI there ...
    I'm just starting to make my way around GarageBand ...
    I have to do a recording tomorrow ... its an audition for a pianist. He's going to have to play some solos, scales etc ... all told it will be about an hour and a half of recording or more ...
    What I need to know is ..... Every part of the audition has to end up as a different track on the cd I make of it. For example the ten scales has to play would each be a track number ... his solo piece another number and so on.
    How do I mark tracks on the recording? Also ... if I set up the recording and just press record every time he plays ..... am I going to have enough space in the one project to record everything? I thought I read somewhere that garageband has a limit on the number of bars that it can record.
    Thanks so much for any help .......

    I just looked at Amadeus Pro on the web .... Does it do recording too?
    Yes
    How many tracks can it do ....
    I don't think it's actually specified, but lots. (Actually I don't think this is what you are talkin aboujt, it can do numerous simultaneous tracks for mixing down: but yes, you can split a single recording into separate ones.)
    If I record on GarageBand ... can I use Amadeus to
    edit the GarageBand file? ...
    Yes - first export to iTunes then drag the file from iTunes to the desktop and then drag that to the Amadeus Pro icon in the dock.
    .... Cut sections out ... Mark tracks .... and burn a
    CD? ....
    Yes, yes and yes. The program is still in beta and I haven't actually tried the CD burning facility, but in any case you can burn audio CDs from iTunes.

  • How to add audio track to Final Cut Express

    Does anyone know how to add a audio track to Final Cut Express? My default is four available tracks. What if I want to have 6? How can I add a additional two to the timeline?

    Move your cursor into the gray area below the A4 audio track, then control click and select Add Track.

  • How to insert audio track?

    how do you insert an audio track into garage band to edit? thanks

    Do you mean bring pre-recorded audio into GB? If so, just drag the file into an open GB Timeline. When you see the green plus sign, drop it.

  • How to make audio higher pitched on QuickTime

    I was wondering if you can make noise higher pitched in/on QuickTime. If you can I would greatly appreciate if someone could help me figure out how to do that
    Thanks

    QuickTime Player 7 has an A/V Controls window that can changed the pitch on an audio track.
    QuickTime Player 7 for Mac OS X v10.6.3 or later
    Don't be concerned over the version number and don't compare it to the newer version found in the Applications folder. It's the only version that can be upgraded to Pro.

Maybe you are looking for