Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: random sequence .wav file
Replies: 3   Last Post: Dec 15, 2010 1:01 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Fiboehh

Posts: 8
Registered: 12/15/10
Re: random sequence .wav file
Posted: Dec 15, 2010 11:25 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Wayne King" <wmkingty@gmail.com> wrote in message <iead93$6c4$1@fred.mathworks.com>...
> "Fiboehh " <stig_dooms@hotmail.com> wrote in message <iea896$akt$1@fred.mathworks.com>...
> > Hellow, i'm working on a project to classify music by genre. I have very memory using calculations that are too big for a whole song.
> > So anyone knows how to chance a 2 dim .wav file into a audio sequence of ten seconds random in the song. And not the intro or outro.
> > GrtZ

>
> Hi Fiboehh, I see a couple ways you can do this.
> You can use wavread() with the syntax
>
> wavread('filename',[N1 N2])
>
> where you choose N1 and N2 to indicate the first and last sample in the .wav file you wish to read. Knowing the sampling frequency, you know the number the samples you must include in the interval [N1 N2] to span ten seconds.
>
> If you have the Signal Processing Blockset license, write back and I can show you how to do this with System objects.
>
> Wayne


Oh i didn't know you could use that syntax, thx. But still not found how to split it up in seconds. And yes i have the signal processing blockset, so i hope you can show me.

many thx
GrtZ Fiboehh



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.