Info
This question is closed. Reopen it to edit or answer.
URL aceppted by Simulink "FromMultiMediaFile" and not accepted by "AudioFileReader" system object
1 view (last 30 days)
Show older comments
The Simulink dsp Toolbox block "From MultimediFile" aceppts the following Url as "filename" input: mms://apasf.apa.at/oe1_live_worldwide.
The dsp.AudioFileReader sytstem object does not aceppt the same Url. The follwoing lines of code produces an error: "Error using AudioFileReader/setup Input File specified not found" Error in matlab.system.mixin.FiniteSource/isDone (line 38)
hmfr = dsp.AudioFileReader('mms://apasf.apa.at/oe1_live_worldwide');
hap = dsp.AudioPlayer('SampleRate', hmfr.SampleRate);
while ~isDone(hmfr)
audio = step(hmfr)
step(hap, audio);
end
What kind of URl do i have to use with the "AudioFIleReader" object in order to make this work?
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!