Try·this on the Propeller Demo Board with headphones, or just put some RC integrators on pins 10 and 11 and listen in stereo. Maybe somebody can make a recording of this and post it on this thread.
Here's a recording of the first 30 seconds of SpinSick. It's an MP3 file, but you'll have to download it and rename it from .MPX to .MP3 for it to work with most players.
This will add a truly crazy behaviour to robotic projects, for certain. Until Propeller, even walking and beeping at the same time was a challenge for my robots, let alone walking and hurling along the way.
That's, um, really neat, Chip! When I played it, my cat got up and left the room. And for some reason I can't quite put my finger on, it evoked memories of college keg parties.
Are you Propeller users out there very intrigued by a speech synthesis object?
Mike Green said...
Here's a recording of the first 30 seconds of SpinSick. It's an MP3 file, but you'll have to download it and rename it from .MPX to .MP3 for it to work with most players.
Chip, that's great! Although I'm currently using the Propeller for robotic control, after hearing (and watching) the Hydra demo and listening to this I see the audio possibiliities of the Propeller are very interesting ...
I've been making weird lofi chip/glitch "music" (using the term generously) for a while now, but mainly using software (favorite tool: Buzztracker!) and a couple of drum machines, but I have a nice collection of old toy keyboards, some of them modified ("bent", see www.anti-theory.com/soundart/circuitbend/).
So I have been pondering the idea of adding some Propeller-based noise making device. Maybe something along the lines of the Avrsyn, ( www.elby-designs.com/avrsynth/avrsyn-about.htm) which uses an Atmel avr along with a rudimentary DAC made out of a 8 resistors in parallel.
One thing I've noticed looking at the schematics for the Propeller demo board is that there's no DAC, but rather a couple of pins going directly to the MAX4411 headphone amplifier. So, you're just using square waves, or am I missing something?
Those RC integrators (10k ohm and 10nF) on the demo board filter the digital output to make analog waveforms.
acantostega said...
One thing I've noticed looking at the schematics for the Propeller demo board is that there's no DAC, but rather a couple of pins going directly to the MAX4411 headphone amplifier. So, you're just using square waves, or am I missing something?
I would like to see the ability to input your voice or MP3 files into the Propeller and then access them or voice clips at address locations like the ISD2560 or ISD25120 chip. This way we could controll what is being played back in some fashion.
Thanks.
Post Edited (T&E Engineer) : 7/20/2006 2:14:03 PM GMT
Uncanny, The last few days have been spent contemplateing which DAC to get to work with my uChip dsp controller. Really just to kill time constructively and learn something about audio. I've known how to record it, but playback like this is a tangent I'd like to followup on!
Chip Gracey (Parallax) said...
Those RC integrators (10k ohm and 10nF) on the demo board filter the digital output to make analog waveforms.
Ah, I see. Hm, I don't know much about analog electronics. Will have to study it.
By the way, Bambino, that sounds interesting. If you make something cool please let us know!
and see if this is adaptable. Spend some time there- the "1 1/2 bit" sound is pretty good!
The advantage I see is that the MP3 to sound to bit stream conversion program is already written. there are also clues for writing the playback program and for storing the files in a separate eprom.
Anyone with an amazing tolerance for tedious work might be able to construct the whole list of phonemes for a speech module.
The·"1 1/2 bit" coding is pretty clever. I think it is very difficult to mix samples (Except for analog mixing with resistors), but the 1/8 compression is very impressive.
I was thinking about ADPCM (1/4 compression) which is open source. ADPCM is signed 16 bit, this makes the algorithm ideal for sample mixing (sound effects, etc.)
I could not find detailed description about the PWM or DUTY cycle mode of the counters. I could not find a commented·example to set the PWM frequency and duty cycle. (Or any any other setup of the counters for sound reproduction)
Attlila said...
I could not find detailed description about the PWM or DUTY cycle mode of the counters. I could not find a commented example to set the PWM frequency and duty cycle. (Or any any other setup of the counters for sound reproduction)
I don't think PWM is involved. I think it's just a serial readout of the bit stream of the information stored in the EEPROM. The question then is what rate to playback. I figure that depends on the cap and resistor values analogue integrator you use and the playback rate.
I'll admit info is a little sketchy and I could be totally wrong. Roman invites inquiry on his site.
a text to speech function would be awesome, i'd volunteer for the tedious stuff like inputting all the different vocal sounds if someone can generate a function for the Prop.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Definetly a E3 (Electronics Engineer Extrodinare!)
"I laugh in the face of imposible,... not because i know it all, ... but because I don't know well enough!"
Have you looked at the two newer threads on this subject? Chip has released an object capable of speech synthesis, and PhiPi has a thread where he has made it say quite a bit of things.
Comments
This will add a truly crazy behaviour to robotic projects, for certain. Until Propeller, even walking and beeping at the same time was a challenge for my robots, let alone walking and hurling along the way.
Ken Gracey
Parallax, Inc.
Thanks for sharing...
-Phil
Are you Propeller users out there very intrigued by a speech synthesis object?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chip Gracey
Parallax, Inc.
Seriously, yes. I can see where this "hurling" is going. The underlying phonemic qualities are pretty convincing!
-Phil
Chip, that's great! Although I'm currently using the Propeller for robotic control, after hearing (and watching) the Hydra demo and listening to this I see the audio possibiliities of the Propeller are very interesting ...
I've been making weird lofi chip/glitch "music" (using the term generously) for a while now, but mainly using software (favorite tool: Buzztracker!) and a couple of drum machines, but I have a nice collection of old toy keyboards, some of them modified ("bent", see www.anti-theory.com/soundart/circuitbend/).
So I have been pondering the idea of adding some Propeller-based noise making device. Maybe something along the lines of the Avrsyn, ( www.elby-designs.com/avrsynth/avrsyn-about.htm) which uses an Atmel avr along with a rudimentary DAC made out of a 8 resistors in parallel.
One thing I've noticed looking at the schematics for the Propeller demo board is that there's no DAC, but rather a couple of pins going directly to the MAX4411 headphone amplifier. So, you're just using square waves, or am I missing something?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chip Gracey
Parallax, Inc.
Thanks.
Post Edited (T&E Engineer) : 7/20/2006 2:14:03 PM GMT
This is neat. I can see this becomming something lilke a text 2 speach hardware device as well...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Propeller + Hardware - extra bits for the bit bucket =· 1 Coffeeless KaosKidd
·
Ah, I see. Hm, I don't know much about analog electronics. Will have to study it.
By the way, Bambino, that sounds interesting. If you make something cool please let us know!
Rob7
someone might want to take a look here. I've been musing that it might be a nice problem (when I got better) to try and convert this for a Prop--
www.romanblack.com/picsound.htm
and see if this is adaptable. Spend some time there- the "1 1/2 bit" sound is pretty good!
The advantage I see is that the MP3 to sound to bit stream conversion program is already written. there are also clues for writing the playback program and for storing the files in a separate eprom.
Anyone with an amazing tolerance for tedious work might be able to construct the whole list of phonemes for a speech module.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The·"1 1/2 bit" coding is pretty clever. I think it is very difficult to mix samples (Except for analog mixing with resistors), but the 1/8 compression is very impressive.
I was thinking about ADPCM (1/4 compression) which is open source. ADPCM is signed 16 bit, this makes the algorithm ideal for sample mixing (sound effects, etc.)
I could not find detailed description about the PWM or DUTY cycle mode of the counters. I could not find a commented·example to set the PWM frequency and duty cycle. (Or any any other setup of the counters for sound reproduction)
I don't think PWM is involved. I think it's just a serial readout of the bit stream of the information stored in the EEPROM. The question then is what rate to playback. I figure that depends on the cap and resistor values analogue integrator you use and the playback rate.
I'll admit info is a little sketchy and I could be totally wrong. Roman invites inquiry on his site.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<
By the way, Bambino, that sounds interesting. If you make something cool please let us know!>
Mother board fried last night, This heat is killing everything but my pepper plants.
Thank God for dual hard Drives!
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Definetly a E3 (Electronics Engineer Extrodinare!)
"I laugh in the face of imposible,... not because i know it all, ... but because I don't know well enough!"
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Evartt
People don't hate computers, they just hate lousy programmers.
http://wehali.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
ALIBE - Artificial LIfe BEing. In search of building autonoumous land robot
http://ALIBE.crosscity.com/
http://fstop.crosscity.com/
http://icar.crosscity.com/
·
I am indeed intrigued by a speech synthesis object.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.