Microcontroller Speech Synthesis Lets Your Project Be Heard

[Aditya] had a project that called for spoken output. He admits that he could have built a PC-based solution, but he found that adding speech by using a microcontroller was not only a cheap and portable alternative, it was also a fun and easy build.

His design uses an ATMega128. Many microcontrollers would work, but his major requirements were PWM generation and plenty of memory to store the file(s). The output is cleaned up in a simple low pass filter before going to the 8Ω speaker.

[Aditya] lays his tracks in WAV format and then compresses it to 8-bit/8kHz. He found a C++ function that converts the track data into a huge arrays and then digitizes it. He uses two timers, one to generate the waveform and second one to time the square wave. [Aditya] has a zip of samples available on his site that will speak the digits 0-9.

Comments

  1. JKnot says:

    The subject is completely misleading.
    This has absolutely nothing to do with speech synthesis…

  2. Thomas Kirchner says:

    A library exists for the Arduino already for PWM output modulation, along with a project on instructables

  3. tekkieneet says:

    “He found a C++ function that converts the track data into a huge arrays and then digitizes it.”

    And all these years I thought “digitize” means converting something analog to a digital representation. The data is already digitized when it is inside a huge array. He might be *compressing* or *processing*, but certainly not *digitizing*.

  4. rue_mohr says:

    you know your projects solid when the only thing they can pick apart is the wording of the article.

    • Phreaknik says:

      Seriously, lol. We have a bunch of grammar Nazis in the room. The rest of us knew what you meant when you said “digitize”

    • tekkieneet says:

      I pick on the person that writes the summary just as I would pick on technical aspect of a “hack” and for that I rarely pick on grammar.

      For a person that is *paid* to write summaries for hack, fact checking, knowledge of terms and how clearly they explain things are *important* part of being a professional. For that, me picking on them hopefully would improve the quality of summaries over time.

      You are picking on my for entirely different reasons.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 96,656 other followers