Page 1 of 1

Play sounds with leJOS

Posted: Thu Jul 12, 2007 2:10 pm
by quack
Is it possible to program NXT (with leJOS) to play sounds? If so, could anyone give me some howto?

Thanks in advance

Posted: Thu Jul 12, 2007 3:40 pm
by 99jonathan
Look at lejos.nxt.Sound. It allows you to play tones for various lengths at various frequencies. Once I finish up with my project (could be today if i work at it) you will be able to play .wav files.

Posted: Thu Jul 12, 2007 4:04 pm
by quack
ok. could you post it then?

Posted: Thu Jul 12, 2007 4:33 pm
by imaqine
99jonathan's wav project is located in the NXJ Projects sections, viewtopic.php?p=728 . Check there for any updates that he has with it.

Posted: Thu Jul 12, 2007 5:25 pm
by 99jonathan
First release is out... Be sure to read the notes since it probably is not usable until we figure out how to read a file...