[Project] Teensy 3.1 + AudioBoard + Sequencer

Status
Not open for further replies.

Relampago

Member
Hi all,

Yesterday I visited a iot hackathon here in Nuremberg. I ordered a teensy and an audioboard the week before but had no chance to get into it.

Nevertheless I got something working after 7 hours, not too impressive but I won the competition.��

32 step sequencer
Recording functionality
7 tracks, could be infinite
Bmp can be adjusted
SD card streaming (did some dirty tricks with preloading small chunks for buffering, otherwise I could not achieve polyphonic audio playing)
Live playing (super simple mpc)


Have a look:

http://youtu.be/RsCtGyrawKA


BR
Andi

Thanks for this little powerpack
 
Last edited:
I find it quite impressive that you got that done in 7 hours! Very nice demonstration of what is possible with the Teensy the Audio Adapter and I Am assuming the Autdio Libary. Congratulations on winning the competition!

I usually don't understand a lot of the music specific terminology used in the Audio Library thread but little videos like that make it tempting to get into that sort of thing. Perhaps you can write a tutorial. That would be very helpful for music noobs like me.
 
Brilliant! Glad to see the audio library starting to make some music. ;)

Nice to see the proof of functionality as well, can't wait to get going myself.
 
HW update :)

The idea was to laser everything into my case directly, but the ABS material started burning while lasering it. So i used a CNC to gut the front out of my case ;-( and relasered everything into plexi.

BOM:

- Teensy 3.1
- Teensy Audio Board
- 1,8" from Adafruit
- Trellis from Adafruit :)
- OKW case (http://www.okw.com/en/Comtec/A0620019.htm?var=f30d2022-633f-11e3-937d-00163e72470b) inkl 4x1,5V AAA !!!
- OKW knobs
- 4x tactile push buttons
- Lasered plexi
- 4 ALPS 24/24 encoders

Ideas:
- Usability: Color matching between knobs and push-buttons (currently is does not look that good :-()
- SW: Still working on improved streaming/prefetching little chunks from SDcard into memory (ringbuffer principle)

sampler_mock.jpg
 
Looking good; I'm curious - currently teensy audio 1.0 can stream 4 or 5 44khz mono streams concurrently from SDCard @ 96Mhz

Do you see an improvement with you're ring buffer system? And how is it that you cannot achieve polyphony with the audio library?
 
Last edited:
Update, sorry that i am using this thread as a kind of blog/history for myself.

Knobs + Encoders + 1,8":
WP_20141224_013.jpg

Audioports:
WP_20141224_019.jpg

USB:
WP_20141224_018.jpg

Alps + OKW Knobs (colors do not match with knobs so far):
WP_20141224_014.jpg

Closed battery compartment:
WP_20141224_020.jpg

Openend battery compartment:
WP_20141224_021.jpg
 
Update:

HW:
- Display running
- Knobs and buttons do colormap now
- Trellis running

SW:
-Have to learn a bit more on audio effects and audio streaming (the engine must be pulling the bytes, not pushing, otherwise cpu is overloaded too much)
 
Have you tried running RAW files from the onboard 16mb SPI flash? I think you'll get 20-30 channel polyphony easy.

Frank B has posted some code to get it working nice and easy ;)
 
Wow, I love it!
would you like to share with us how you buffered the chunks from the SD card?
Perhaps even some code?:eek:
 
WP_20150201_006.jpgWP_20150201_005.jpg

Hopefully i can start working on the software next week. I hadn't had the chance to work on this since 1 month. Additionally I only used floating point arithmetic so far, with C#
 
Status
Not open for further replies.
Back
Top