blakelivingston / avr_tinytune

Audio Synthesis and Song Playback Library for Atmel ATtiny85 microcontrollers
MIT License
17 stars 4 forks source link

NOTE TinyTune has been superseded by DuinoTune which has more updates, compatibility, and better song conversion.

Avr TinyTune

Avr Tinytune is a multi-voice, mult-timbral audio synthesis and song playback library targeting the Atmel ATtiny85 microcontroller, requiring minimal additional electronic components for use in projects.

What Exactly Does It Do?

The C library consists of two somewhat independent parts; A multi-voice synthesizer that uses Fast PWM to simulate 8-bit analog output, and an interrupt driven background-song playback system that plays note and controller data out of chip Flash memory (progmem).

There is also an import utility that generates embeddable code representations of songs, using the save files of the Renoise tracker-based music composition program as input. Renoise offers a demo version that is usable with this project; though I heartily encourage supporting their excellent software if you find it useful.

Example video, running into an oscilloscope: https://www.youtube.com/watch?v=PtxxCKs822M

Update

Features

Hardware

Synthesis

Song playback

Renoise import

Limitations

Documentation and Demos

Hacking

This is a hobby project, and my MCU and electronics experience could always use input. Feel free to make suggestions, point out document errors and unclearness, and, best still, submit patches or feature additions to the project.

Also feel free to drop me a line if you use this library! I'm always curious to see how it comes in handy. My original intent was to augment one of these guys with super enhanced sound, but I still haven't gotten around to it.

License

This project is provided under an MIT License