Author Topic: Programming a 10bit Attiny85 pitch shifter  (Read 2828 times)


Re: Programming a 10bit Attiny85 pitch shifter
« Reply #20 on: January 06, 2023, 04:17:11 AM »
Tiny84 flanger is right here...
...and yes, it is the one found on Soundcloud.


Re: Programming a 10bit Attiny85 pitch shifter
« Reply #21 on: January 31, 2023, 02:10:24 PM »
Great initiative!
I'm also working on a similar solution. Real time pitch shifting. If you are @home in Assembly, the following page might be of interest:

ASM code if available for download at the bottom of the page...
Also, as an microcontroller, the ATtiny1616 might be a good choice.
It has a DAC, hardware multiplication support and a 20MHz internal oscillator; so no crystal needed and at the time of writing it is actually available ;-).
« Last Edit: January 31, 2023, 02:21:18 PM by nodemand »


Re: Programming a 10bit Attiny85 pitch shifter
« Reply #22 on: May 21, 2023, 05:58:11 AM »
Alternately, you could try this with a board implementing either the ATSAMD21 or ATSAMD51 chips--such as the Adafruit Itsybitsy boards.  With these you could have either 10 bit output (at 44.1Khz sampling rate) with the 21 or 12 bit output with the 51.  And, if you were so inclined, use I2S with an additional decoder board to get 16 bit!  (IF you opt to go this route, make sure the chip has I2S capabilities--the 48 pin (smd) version of the 51 does not.)

Caveat:  This approach will require considerable adaptation from the technoblogy code.

Incidentally, I had previously attempted to sort of "fuse" the short sample player code from technoblogy with the method described for obtaining 10 or 12 bit pwm output.  Eventually, I just went with an ATSAMD21 board as it's got way more... well, way more everything as compared with the Attiny85, and I could store multiple (short) samples on a single board and have more than one outputting simultaneously.  Also, while somewhat larger than the Attiny, these boards are (or can be, depending upon which board you go with and how many pins and such you intend to utilize) still quite small--which I needed for my particular application. *

* OK, maybe I didn't need such, but I'm a bit obsessed with fitting things into the most compact enclosure conceivable.