|
#1
|
|||
|
|||
|
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. |
|
#2
|
||||
|
||||
|
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. |
|
#3
|
|||
|
|||
|
Hi,try use Macvide Audio Recorder.It's helps for record your streaming audio.
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|