Get samples from audioplayer object

2 次查看(过去 30 天)
Ryan Sinfield
Ryan Sinfield 2016-11-15
回答: Rajanya 2024-12-19
Is there any way to get the samples that make up an audioplayer object after it's been instantiated?
a = audioplayer(y, fs)
s = get(a, 'AllSamples');

回答(1 个)

Rajanya
Rajanya 2024-12-19
I understand that you are trying to get the audio data from the 'audioplayer' object after it has been instantiated. Here's a link to a similar question which addresses the issue -
Thanks!

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by