From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
If you do a search of the forums for "piano" you should find some examples which show how to generate waveforms and send them to the speakers. I will leave it to you to figure out how to generate the exact frequencies and lengths.