Play sounds with leJOS

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: roger, imaqine, 99jonathan

quack
Novice
Posts: 26
Joined: Sun Jul 08, 2007 9:03 pm

Play sounds with leJOS

Postby quack » Thu Jul 12, 2007 2:10 pm

Is it possible to program NXT (with leJOS) to play sounds? If so, could anyone give me some howto?

Thanks in advance

99jonathan
Moderator
Posts: 122
Joined: Thu Mar 01, 2007 5:30 am

Postby 99jonathan » Thu Jul 12, 2007 3:40 pm

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.

quack
Novice
Posts: 26
Joined: Sun Jul 08, 2007 9:03 pm

Postby quack » Thu Jul 12, 2007 4:04 pm

ok. could you post it then?

imaqine
Moderator
Posts: 80
Joined: Sun Apr 08, 2007 6:20 am
Contact:

Postby imaqine » Thu Jul 12, 2007 4:33 pm

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.

99jonathan
Moderator
Posts: 122
Joined: Thu Mar 01, 2007 5:30 am

Postby 99jonathan » Thu Jul 12, 2007 5:25 pm

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...


Return to “NXJ Software”

Who is online

Users browsing this forum: No registered users and 1 guest

cron