ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Piano Program

I'm working on a project in LabVIEW to create some kind of piano. But i have encoutered alot of problems, and i can't figure them out.
I keymapped the piano buttons to the sound in the block diagram. But when i do continuously play i get all sort of weird sounds. I think it's weird because my buttons are setup as latch when pressed.
I also would like that my sounds get played directly and dont wait before a previous sound has finished playing.
I tried to record my sound that i played, but i kept getting the message to overwrite the while were my 'song' had to be stored. I would like to know how you can start recording and stop recording by pressing a start and stop button or record button. And the sound get's saved in a folder as a .wav file
 
If you want to test this file, you need to change the sound paths first, but your probably knew that already.
 
Update of my program are always welcome 🙂
 
Regards Raf Vanduffel
 
0 Kudos
Message 1 of 5
(4,661 Views)

Hi,

I changed your VI so it's easier to modify. With your VI and with my VI everything sounds OK.  Smiley Very Happy

 

0 Kudos
Message 2 of 5
(4,640 Views)
Hi Rafvandu....
I spent some time with your piano and this is what I came up with.....it could be better ...I am still working on it.
Here is the vi in LV 7.1.


Ohiofudu.

Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 3 of 5
(4,639 Views)
Whit a simple save played 'melody'  Je Koe zegt geen Boeh
0 Kudos
Message 4 of 5
(4,601 Views)
Thank you for you help and your time,

now i can continue my project.

Greeting Raf

0 Kudos
Message 5 of 5
(4,560 Views)