Get samples from audioplayer object

2 vues (au cours des 30 derniers jours)
Ryan Sinfield
Ryan Sinfield le 15 Nov 2016
Réponse apportée : Rajanya le 19 Déc 2024
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');

Réponses (1)

Rajanya
Rajanya le 19 Déc 2024
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!

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by