[PD] LibPd on microcontroller

Christof Ressi christof.ressi at gmx.at
Tue May 10 02:05:24 CEST 2016


:-o Wow, I'll immediately buy one of these, no matter if it's the right thing for my project. Just wanna try it out.

Let's say I use a CHIP for my project: I'd hook up an external ADC and DAC chip (CHIP has only mono input and stereo output), write some code to interface with the hardware and let libPd do the DSP stuff. Now, what would be the best way to interface with ADC/DAC chips? I noticed that CHIP doesn't have SPI. Would I2C be fast enough? I aim for 44.1 kHz/16 bit, but I can also do with less... 

Thanks!

Christof 

Gesendet: Dienstag, 10. Mai 2016 um 00:39 Uhr
Von: "Peter Nyboer" <pnyboer at slambassador.com>
An: pd-list at lists.iem.at
Betreff: Re: [PD] LibPd on microcontroller

 

Content-Type: text/plain; charset=UTF-8

Hi, thanks for your answer! I'll definitely have a look at heavy and compare the results with some bits of my own DSP code.
 How do you plan to output audio
from it? It has SPI that could get you to connect to some DACs but
nothing of top quality audio. One can also use PWM to simulate analog
out.
I actually thought of connecting ADCs and DACs via SPI, I don't need top audio quality, I'm rather looking for cheap effect/sound boxes :-). On the other hand, the ESP8266 also an I2S interface (dedicated to audio). I've seen videos of people streaming and playing mp3 files with it!

Once I've done my tests (probably not before July), I'll tell my results.
Not sure how cheap is cheap, but the CHIP from Next Thing Co is $9 + shipping http://getchip.com and has audio, wifi, and bt built-in. I’ve been running PD on it. There’s still some issues with duplex audio in PD, but there is vast potential for audio fun on this thing.
disclosure: I work for NTC
P
 _______________________________________________ Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list[https://lists.puredata.info/listinfo/pd-list]



More information about the Pd-list mailing list