From: Richard v. <va...@cs...> - 2004-10-15 13:31:15
|
On 15-Oct-04, at 4:17 AM, Alvaro Canivell wrote: > I have been having a look at the festival thing. > > By the way, even in the festival command line, I can not make the > robot produce any sounds... so maybe it is a failure in my festival > configuration? Bingo. If you can't make the robot make sound, Player doesn't stand a chance. Do you have speakers connected to the internal stereo outputs? Do you have the sound modules loaded? Can you play a WAV file from the command line? Make sure that you have sound working in a normal Linux kind of way. Then give Player a try. Richard. > //Alvaro > > Brian Gerkey wrote: > >> On Thu, 14 Oct 2004, Reed Hedges wrote: >> >>> There are three ways to make sounds on Pioneer and family, if I >>> remember correctly (consult the robot's manual for definitive >>> information): >>> >>> 1. With the robot's piezo speaker ("squeaker"), which can produce a >>> certain range of beep tones for some duration. You send a "SAY" >>> command to the microcontroller to do this. Would anyone be >>> interested it having this function in Player? >> >> >> This shouldn't be too hard to add to the 'p2os' driver. It could >> support the >> 'audiodsp' interface, which allows the client to specify amplitude, >> frequency, and duration of a tone to play. >> >>> 2. With the robot's computer and speakers. Peoplebots have these >>> standard, for Pioneer robots it's an option. This is part of the >>> onboard computer (PC) system. Aria has a few features for playing >>> WAV files, and synthesizing speech if you have e.g. Festival >>> installed ("ArSpeech"). >> >> >> Player also has support for Festival, via the 'festival' driver, which >> supports the 'speech' interface: >> >> http://playerstage.sourceforge.net/doc/Player-manual-1.5-html/ >> node71.html >> Note that you first need to install Festival. >> >> If your robot has a fast computer (speech synthesis is expensive) >> and speakers, I highly recommend that you try this. Having the robot >> speak to you is a great form of feedback, it helps with debugging, and >> is easier on the eyes than staring at lines of text flying by in a >> window. >> >>> 3. On the AmigoBot only, you can store some number of saved sounds >>> and play them on command. You send a "PLAY" command to the >>> microcontroller to do this. On non-AmigoBot robots this command >>> does nothing. This command is not even in the Pioneer 3 manual, it >>> seems (Though "PLAYLIST" is, oops.) >>> >>> Player's "sound" device is for #3. >> >> >> Right. I suppose if there were interest in playing pre-recorded >> sounds, >> someone could write a general-purpose (that is, not-AmigoBot specific) >> driver that supports the 'sound' interface by sending .wav (or .au or >> .aiff or whatever) files to /dev/dsp. The user would specify the list >> of files to be played in the .cfg file. >> >> brian. >> > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on > ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give > us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Playerstage-users mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-users > -- Richard Vaughan School of Computing Science / Simon Fraser University |