Nayeema 0 Newbie Poster

HI EVERYONE!
i am wondering if anyone can help with the wavplay function. i need to generate the piano octave do, re,me... in matlab using this function. i know that the parameters of this function are wavplay(y, Fs). i am having difficulty understanding what y is and how to use it. i know that Fs is the sampling frequency. should it be equal to the frequency of a specific tone in the octave?
i would greatly appreciate any help on this matter
have a nice day!

nayeema

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.