Dynamically change pitch of an audio playback
2 次查看(过去 30 天)
显示 更早的评论
Hello, I am currently working on a real-time Simulink simulation of a high speed craft simulator for my final year University project. The simulator uses a joystick input to control the thottle of the craft. I wish to relate this throttle position to the pitch an engine audio output, but am so far having little joy.
What would be the best approach to altering the pitch of an audio file as it plays back? I have attempted to use a Phase/Frequency offset block, but cannot find how to dynamically alter the frequency offset parameter. I have also attempted using upsample and downsample blocks, but again ran into the problem whereby I could not change the up/downsample factor as the throttle position was changed, with the added inconvenience that a low-pass filter was needed.
Any help would be much appreciated!
3 个评论
Paulo Silva
2011-3-2
Maybe messing around with the audio amplitude, instead of increasing the pitch you could increase the amplitude?
回答(2 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Aerospace Applications 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!