piano

Hello. I try to make a piano on matlab gui for final project but I don't know how I play sound. Only keybord is enough for my project but I need help. I will appreciate if you help me. Thank you in advance. http://www.mathworks.com/matlabcentral/fileexchange/21262-matlab-piano I need same thing but it not needed to complex

9 Comments

Jan
Jan on 21 Dec 2011
What does "but it not needed to complex" mean?
Walter Roberson
Walter Roberson on 21 Dec 2011
Perhaps you could work with Hesiyun on this matter, as Hesiyun has a very similar project. See http://www.mathworks.com/matlabcentral/answers/24340-matlab-piano
Can
Can on 21 Dec 2011
'but it not needed to complex' mean ten or fifteen button is enough for me.
Walter Roberson
Walter Roberson on 21 Dec 2011
You could delete the others -- or rather, simply not add them in, since you should be writing your own code.
Can
Can on 21 Dec 2011
I don't understand :(
Walter Roberson
Walter Roberson on 21 Dec 2011
If 15 buttons are enough for you, then just do not implement more buttons.
Can
Can on 21 Dec 2011
I know it but I don't know how I play sound. If I learn it for one button I implement it for others.
Walter Roberson
Walter Roberson on 21 Dec 2011
Are you now saying that it is *not* the number of buttons that is "too complex", even though your response earlier was
'but it not needed to complex' mean ten or fifteen button is enough for me.
Can
Can on 21 Dec 2011
Sorry. It is number of buttons. Fifteen buttons is enough but If I learn it for one button I can implement it for other buttons.

Sign in to comment.

Answers (1)

Jan
Jan on 21 Dec 2011

1 vote

It is your final project. What kind of answer do you expect from the forum? Should we post a simplified copy of the code of the mentioned FEX submission? If so, why don't you simplify it by your own?

5 Comments

Can
Can on 21 Dec 2011
I don't know how I play sound.
Sean de Wolski
Sean de Wolski on 21 Dec 2011
doc sound
Can
Can on 21 Dec 2011
?
Sean de Wolski
Sean de Wolski on 21 Dec 2011
If you type 'doc sound' at the command line it will lead you to documentation on how to play sound from MATLAB.
Jan
Jan on 21 Dec 2011
Let me repeat it: It is your turn to solve the problem. Instead of posting, what you do not know, you can ask Google:
http://www.google.de/search?q=Matlab+play+sound
You will not solve this problem without any effort.

Sign in to comment.

Categories

Find more on Just for fun in Help Center and File Exchange

Asked:

Can
on 21 Dec 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!