Close

Design update, parts ordered

A project log for BitMasher

Portable lo-fi music sequencer

michele-perlaMichele Perla 12/01/2014 at 17:560 Comments

Hey there,

I just ordered a few parts that will compose the project for the sake of the deadline I preferred to reduce at a minimum implementation of non-project-related stuff, so I moved on ready-made parts. There will still be 16 buttons in a 4x4 matrix, with green LEDs, then I moved onto a mini OLED display and a 4-way+button mini joystick for feature selection/navigation. For the audio output, I'm currently evaluating the idea of using PWM to create real time synthesis and 1-bit audio using the Roman Black's BTc algorithm; this will reduce samples size drastically while keeping good quality (for an 8-bit lo fi project); I'd fix with 16 kHz sampling/interrupt frequency so to have more time for processing and more space for audio (at 16 kHz, I could fit 8 seconds of audio in almost 16 KB, that leaves 12 KB of program space). I'm still considering the idea of using an external ROM, to save multiple songs, also.

Anyway, I finally cut out some time to test stuff and in the last hour or so (I'm using my sleep hours right now) I got the BTc audio decoding up and running on an Arduino Leonardo (the first one that I had lying around). The audio output is very low on volume, but you can kind of hear it in the demo video that you can find here:

As usual, you can find the code on my Google Drive pages:

https://drive.google.com/folderview?id=0B-yo2xApQsSeT1pGYVlNYmtVcGM&usp=sharing

Stay tuned for more updates!

Mick

Discussions