New topic: 

Scrubbing Audio

<http://forums.realsoftware.com/viewtopic.php?t=38055>

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        CjBerg          Post subject: Scrubbing AudioPosted: Thu Mar 10, 
2011 10:01 pm                         
Joined: Sun Feb 07, 2010 12:30 am
Posts: 7                In my application, I would like to be able to scrub 
through some audio. I am currently loading in a .wav file and creating the 
waveform(so I have all the sound data loaded). I would now like to be able to 
have the user be able to scrub back and forth over the sound. 

I have done similar things in the past using Java, but I dont know if there is 
the ability to gain this kind of access to sound in RB? I have looked at the QT 
Player controls, but there is nothing this integrated that I could find?

I would love any pointers or suggestions where to look, before I start writing 
a new plug-in to do this.

(RB on OS X)

Thank you,

Cj   
                             Top                 IMIXMMM          Post subject: 
Re: Scrubbing AudioPosted: Fri Mar 11, 2011 1:04 am                         
Joined: Thu Oct 26, 2006 4:49 am
Posts: 285                Hi CjBerg,

Try with Quicktime.

When you scrub audio , you are basically dragging from  left to right a small 
line of a play head, this will return back the current position of a track, 
then play the track from that position, until another position is made.

You will need some kind of variable to control the "sensitivity" eg ,
 try >5 pixels of playhead position  = Play from her otherwise keep playing 
from where you were. On drop stop playing.

Something like that.

Dave M   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 2 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to