loading a song
5 views (last 30 days)
Show older comments
hello, i am new to Matlab and i am trying to use it for the first time. I am trying to make a laser show. I will output the 3 frequencies (low, mid and high) on laser. To filter the frequencies i will be using matlab. I found some examples to help do this but i have no idea where and how to load a song. I have the song in .wav. Can someone help me. thanks
0 Comments
Answers (1)
Walter Roberson
on 16 Apr 2011
wavread() to read in a .wav file.
2 Comments
snehal moghe
on 11 Mar 2014
See what should be done, if we want the complete song to be analysed, or at least half of it..!! Wavread is not beneficial in songs, right now.
Walter Roberson
on 11 Mar 2014
wavread() allows you to select a range of sample numbers.
The replacement for wavread() is http://www.mathworks.com/help/matlab/ref/audioread.html which also allows samples to be selected.
If the song does not fit in memory you are going to have difficulties in analyzing it if the analysis depends on the properties of all of the samples.
See Also
Categories
Find more on Audio I/O and Waveform Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!