Shop OBEX P1 Docs P2 Docs Learn Events
emic text to speech — Parallax Forums

emic text to speech

rrrr Posts: 63
edited 2007-02-22 18:07 in BASIC Stamp
Hey guys,
·
I·just got the text to speech mod and it is really nice.·I am wondering how to adjust the volume and pitch·I thought that·I had it figured out but it seems to just make the board stop working...
Maybe·it was because·I was running off a battery and a .1 watt speaker. and·I was blowing the speaker when·I turned the volume all the way up... I am now running off of a regulated power source and a .3 watt speaker so I should be good I just wanted to check before I mess anything else up.
·
This was the line·I was trying to add
·
SEROUT TX, Baud, [noparse][[/noparse]Volume, 7, EOM]
·
you can see the attached file...
·
also·I am wondering if·I can hook up a amplifier to the speaker output?·I have this amplifier kit from velleman (K4001)
http://www.designnotes.com/Merchant2/merchant.mvc?Screen=PROD&Product_Code=K4001&Category_Code=auha
·

Thanks for the help...

Post Edited (rr) : 2/21/2007 8:02:37 PM GMT

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-02-21 20:16
    The Velleman amplifier is very similar to one I've used before with an MP3 player. It ought to work. You'll need a volume control like in their documentation since the Emic output level is probably much higher than the amplifier needs. An alternative would be to use a small audio transformer with one winding at 8 ohms (to the Emic) and the other somewhere between 200 ohms and 2K connected to the volume control. You wouldn't need the electrolytic capacitor in the case of the transformer.
  • Tracy AllenTracy Allen Posts: 6,664
    edited 2007-02-21 23:04
    For volume control, I think the command should be,

    SEROUT TX, Baud, [noparse][[/noparse]Volume, "7", EOM]

    rather than the command you have where the 7 is not in quotes. It could also be, DEC1 7.

    myVolume=7
    SEROUT TX, Baud, [noparse][[/noparse]Volume, DEC1 myVolume, EOM]

    I'm looking at one of my programs where that works, not at the manual. Not sure if the other is okay as an alternative form.

    I use a 25 ohm speaker with the EMIC. If it is an 4 or 8 ohm speaker, try a resistor of 10 or 20 ohms in series until you test the volume. Otherwise at the higher volume settings it can clip and distort (not to mention blow out the tiny speaker). The 8 ohm speaker should be okay at lower volume settings.

    The EMIC has an audio output from the pin labeled AOUT. It is a higher output impedance than the speaker output and might suit your Velleman amplifier (via a capacitor).

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Tracy Allen
    www.emesystems.com
  • KatyBriKatyBri Posts: 171
    edited 2007-02-22 03:42
    Mike/Tracy

    I also am building a STAMP/EMIC system similar to the one in this thread. But I am using two ceiling speakers, each having 16 ohms impedance. I am also using a similar audio amp rated at 4/8 ohms output. Could you tell me how to properly connect the two ceiling speakers to the amp output to work properly? Thanks.
  • Tracy AllenTracy Allen Posts: 6,664
    edited 2007-02-22 18:07
    KatyBri,

    Does the amplifier have stereo output? If so, connect one speaker to each channel, if not connect the speakers in parallel to the single output. If it is stereo, you will feed the same EMIC signal into both channels. Is that the setup?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Tracy Allen
    www.emesystems.com
Sign In or Register to comment.