Brought to you by Sweetwater Back to Sweetwater.com




  #1  
Old 11-05-2009, 04:03 PM
WinnieNicklaus WinnieNicklaus is offline
Registered User
 
Join Date: Nov 2009
Location: Seattle, WA
Posts: 1
WinnieNicklaus is on a distinguished road
Adding a delay to streaming audio

I'm not really involved with digital music, but I have a project I need help with and these forums seemed like a good place to start. I have very little experience with digital audio. I use PCs.

I'd like to record audio from AM/FM radio and play it back with a delay of several (~5-10) seconds*. I think there are two tasks involved with this:
1) Capture an audio stream from the radio
--- I think this should be fairly simple: just connect a radio's headphone or line out jack to my computer's line in or microphone jack. Actually recording it is another matter, but I think that will depend on how I solve the next task:
2) Play it back
--- Here's where I am stuck. I could just repeatedly record 10-second-long files and create a monster playlist, but I suspect the sound wouldn't be smooth (little hiccups every time a new file is played). Plus, when I need to "tune" the delay, I'd have to wait 10 seconds after every adjustment to see if I got it right. I want to put 10 seconds of audio into a buffer and then just play from the buffer while continuously adding the streaming audio to the end of it.

I have quite a bit of programming experience, so if anyone knows of ways to capture audio streams or build buffers or play audio via Perl, for example, that would be an acceptable solution. I'm willing to spend time on this because it sounds like a fun project, but I don't know where to begin. Thanks so much!

*To be more explicit about my goals: I love watching sports on TV, but much prefer my hometown radio announcers. When I watch games on TV with the radio on, the radio broadcast is typically about 8 or 9 seconds ahead. So if I can route the radio through my computer and add a delay to the playback, I can have my hometown announcers and see the game, too, without hearing what happens 10 seconds before I see it.
Reply With Quote
  #2  
Old 11-06-2009, 05:14 AM
Arpatle's Avatar
Arpatle Arpatle is offline
Registered User
 
Join Date: Jul 2007
Location: Utrecht, The Netherlands
Posts: 267
Arpatle is on a distinguished road
Try this out:
http://www.dontcrack.com/freeware/do...ware/MiniHost/

It's an application which is able to process audio in realtime. In order to delay your sound, you'll need a so called VST plugin for that, like this one. In your case, put the feedback parameter of the delay effect to zero, mix to max and (tempo) sync should be off.
You may need to disable the audition of your computer's line in using the software mixer of your sound card.
__________________
arpatle.patsmuziek.nl
"The FREE! punishment EP" - free download
Reply With Quote
  #3  
Old 08-16-2010, 06:27 AM
Hank Hank is offline
Registered User
 
Join Date: Jun 2010
Location: New York
Posts: 5
Hank is on a distinguished road
Hi,try use Macvide Audio Recorder.It's helps for record your streaming audio.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump




All times are GMT -5. The time now is 02:25 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright © 2008 AudioForums.com