Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: bloodline

Search: Search took 0.00 seconds.

  1. Replies
    15
    Views
    8,250

    Here is a video of my poor abused Teensy 3.1 set...

    Here is a video of my poor abused Teensy 3.1 set up for audio playback :)

    http://youtu.be/jKQbtNxmpF4

    -edit- I have added another method to the code here, to to allow playback at different...
  2. Replies
    15
    Views
    8,250

    Certainly! I could post a video too if you like,...

    Certainly! I could post a video too if you like, that will show the audio :)
  3. Replies
    15
    Views
    8,250

    Here is the Code, it should be pretty self...

    Here is the Code, it should be pretty self explanatory... but let me know if you have problems. Happy for anyone to use code, but I would like some credit in the final product :)

    I hope to improve...
  4. Replies
    15
    Views
    8,250

    I have rewritten the playback code to use the...

    I have rewritten the playback code to use the IntervalTimer, which alllows for non blocking audio :) I'll write a complete audio class for you when I get the time :)
  5. Replies
    15
    Views
    8,250

    If you need help converting the audio files to...

    If you need help converting the audio files to data, let me know.
  6. Replies
    15
    Views
    8,250

    I made a quick sketch last night to play 8bit...

    I made a quick sketch last night to play 8bit 15626Hz audio via pin 3 PWM... I have tested it and you can use all the PWM pins at the same time. Works a treat:



    /*
    "Ergonomically Terrific"
    ...
  7. Replies
    15
    Views
    8,250

    +1 on all of this please :)

    +1 on all of this please :)
  8. Replies
    15
    Views
    8,250

    Paul beat me to it, but you can output samples by...

    Paul beat me to it, but you can output samples by varying the PWM output duty at a high frequency. I used to do this on the Atmega328 to output audio, the cheap speaker I used acted as a low pass...
  9. Replies
    15
    Views
    8,250

    If the sounds just need to be tones, then simply...

    If the sounds just need to be tones, then simply put a speaker on the PWM outputs with a frequency of about 1khz. A duty cycle of 0 will shut the speaker up... And somewhere around 50% will make some...
Results 1 to 9 of 9