Shop OBEX P1 Docs P2 Docs Learn Events
Assembly Tone Generator (Fixed) — Parallax Forums

Assembly Tone Generator (Fixed)

RaymanRayman Posts: 14,826
edited 2009-04-26 17:48 in Propeller 1
I've made this little dual tone generator in assembly.· It produces high quality sine waves in the audio range.

It has a lot of comments, so it should be easy for beginners to follow.

Note:· Original version had a calculation error frequencies over 2 kHz or so...· I've attached the fixed version here.

Post Edited (Rayman) : 4/26/2009 5:50:42 PM GMT

Comments

  • virtuPICvirtuPIC Posts: 193
    edited 2009-04-25 20:13
    A DTMF generator? smilewinkgrin.gif

    Sorry, couldn't resits.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Airspace V - international hangar flying!
    www.airspace-v.com/ggadgets for tools & toys
  • RaymanRayman Posts: 14,826
    edited 2009-04-25 23:57
    It's also good for testing out your hearing...

    I used an oscope to make sure even ultrasonic frequencies were nice sine waves.

    PS:· The PE kit mentions something about a sine wave generator in a later lab, but I couldn't find it...· (I think it doesn't actually exist).

    Post Edited (Rayman) : 4/26/2009 12:02:44 AM GMT
  • RaymanRayman Posts: 14,826
    edited 2009-04-26 17:48
    Ooops! The version I first posted had a bug for frequencies over ~ 2kHz (some other frequency would come out). Hopefully, nobody was actually testing their hearing out with that one [noparse]:)[/noparse]

    I've posted the fixed version on top.
Sign In or Register to comment.