Play audio --> wait a while --> record audio
2 次查看(过去 30 天)
显示 更早的评论
I'm trying to use a soundcard to oscillate a cantilever at different frequencies, and then record the signal. Since the cantilever needs some time (100 ms) to stabilize its oscillation, I won't sweep the frequency but use distinct sine waves.
How can I make matlab wait a short time after I start playing the signal using the play function? I don't want to use playblocking, since I want to start the recorder after 100 ms, I can't use pause since that will pause the player... I'm really at loss here, there's probably a really easy answer...
0 个评论
采纳的回答
更多回答(1 个)
Daniel Shub
2011-6-9
You could also start the recording at about the same time as the playback and then disregard the first 100 ms of the recording.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio and Video Data 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!