Prev: Problems with Logs and the gradient function
Next: patch transparency on logarithmic scaled plots
From: Keyur Patel on 12 Aug 2010 17:19 I have to create a music player that reads .wav files in matlab. I started off by creating the push buttons in the gui and the listbox as the place to store my songs. I'm a little confused on how to begin the coding for reading the files from the current directory so that the player can function, such as play, stop, next, previous. any tips would be good thanks.
From: Robert on 13 Aug 2010 02:51 "Keyur Patel" <patel_key(a)yahoo.com> wrote in message <i41og9$lb6$1(a)fred.mathworks.com>... > I have to create a music player that reads .wav files in matlab. > I started off by creating the push buttons in the gui and the listbox as the place to store my songs. > I'm a little confused on how to begin the coding for reading the files from the current directory so that the player can function, such as play, stop, next, previous. > any tips would be good thanks. mylist = dir; will list all the files in the current directory. Choose only those with mylist(i).isdir==false Cheers, Robert
|
Pages: 1 Prev: Problems with Logs and the gradient function Next: patch transparency on logarithmic scaled plots |