Thanks! The USB dongles don't seem to offer more than what's already on the board (mono in + stereo out). I guess I would use the internal sound for audio and add some low resolution ADC and DAC for reading/generating control signals.
BTW, what's your experience regarding latency when using internal sound in Pd? Christof
Gesendet: Dienstag, 10. Mai 2016 um 02:10 Uhr Von: "Peter Nyboer" pnyboer@slambassador.com An: "Christof Ressi" christof.ressi@gmx.at Cc: pd-list@lists.iem.at Betreff: Re: [PD] LibPd on microcontroller
It has SPI, no i2s, so that makes the traditional DAC shield impossible. But, USB is cool. You can use the cheepie Cmedia dongles if you want http://www.amazon.com/Sabrent-External-Adapter-Windows-AU-MMSA/dp/B00IRVQ0F8... a higher quality thing like this http://www.ebay.com/itm/231620915394?_trksid=p2060353.m1438.l2649&ssPage...] I2C is not really suitable for audio. In theory, you could bitbang i2s over GPIO, but you’d be in the weeds in not only building a driver, but probably having timing issues, too. Peter
On May 9, 2016, at 5:05 PM, Christof Ressi <christof.ressi@gmx.at[christof.ressi@gmx.at]> wrote:
:-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@slambassador.com[pnyboer@slambassador.com]> An: pd-list@lists.iem.at[pd-list@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%5Bhttp://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@lists.iem.at[Pd-list@lists.iem.at] mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list%5Bhttps://lists.puredata.info/l...]]