[mirtoolbox] Re: miraudio(..., 'Extract') reads entire song?
- From: Olivier Lartillot <olartillot@xxxxxxxxx>
- To: mirtoolbox@xxxxxxxxxxxxx
- Date: Mon, 11 Jun 2012 11:42:08 +0200
Hi,
miraudio('filename','Extract',...) should read just the specified part of
filename, not the entire file.
What is exactly the miraudio command you use?
Cheers,
Olivier
On 11.6.2012, at 3.39, Cheng-ya Sha wrote:
> Hi all,
>
> Does miraudio(..., 'Extract') read the entire song and then clip the part
> specified in the arguments? Or does it just read part of the song specified
> in the arguments?
> Is it the same for both .wav and .mp3?
>
> I have this question because when I use miraudio to read the first 30 seconds
> of a very long mp3 file, the memory usage of MATLAB rises dramatically and
> finally I got out of memory error. However if the mp3 file is shorter there
> won't be this kind of problem.
>
> Thanks very much for your reply in advance!
>
>
> Sincerely,
> Alan Sha
Other related posts: