[PD] LibPd on microcontroller
Joe White
white.joe4 at gmail.com
Sun May 15 15:06:04 CEST 2016
Hi Chuckk,
I'm one of the developers of heavy. Apologies that you felt some
information was lacking, would be very interested in hearing more about
your experience and what wasn't answered.
The code that heavy generates should compile on any platform that has a C99
compiler, and if it didn't we'd be very interested in looking into why.
There are no OS specific dependencies and you can even swap out your own
malloc, math, etc.. implementations.
The code is optimised for SSE, AVX and NEON instruction sets and we also
provide a single sample option for platforms where they are not available
(i.e. javascript)
Here's an example of integration with portaudio
https://github.com/enzienaudio/examples/tree/master/portaudio
Thanks,
Joe
On 13 May 2016 at 23:22, Chuckk Hubbard <badmuthahubbard at gmail.com> wrote:
> Apropos of the heavy compiler, I was reading up on it and simply moved on
> because of what seems to me a lack of information. There was an allusion to
> it working for a wide variety of platforms and so on, but no actual lists
> of this supposedly wide variety.
> Does someone have an idea if it could compile Pd patches to work without
> an OS for some architecture? Otherwise, why would you bother with it?
> (that's not a rhetorical question)
> Thanks.
> -Chuckk
>
>
> On Mon, May 9, 2016 at 6:39 PM, cyrille henry <ch at chnry.net> wrote:
>
>> hello,
>>
>> I recently send a mail in this list describing my experience of audio
>> synthesis on microcontroler, but i did not use libpd.
>>
>> i did not recommend libpd for microcontrolers.
>>
>> in fact, I did not recommend audio processing on hardware that did not
>> have support for float arithmetic.
>> (only me or crazy nerd do that).
>>
>> a micro controller to use is for example the cortex M4. You can find
>> them on the teensy hardware.
>> teensy also provide a audio synthesis library, and is supported by
>> arduino IDE.
>>
>> You can also have a look at the heavy compiler if you want to embedded a
>> pd patch.
>>
>> Cyrille
>>
>>
>>
>>
>>
>> Le 09/05/2016 17:01, Christof Ressi a écrit :
>>
>>> Hi,
>>>
>>> has anyone experience in using LibPd on a microcontroller?
>>> I wanna try to run some rather basic DSP code on this guy here:
>>>
>>> https://www.olimex.com/Products/IoT/MOD-WIFI-ESP8266-DEV/open-source-hardware
>>> There are some existing Arduino/C++ frameworks and I thought I could
>>> either write my own small DSP library in C++ or use LibPd.
>>>
>>> I understood that LibPd is completely independed of audio drivers and
>>> external libraries and since it's plain C code it should work on everything
>>> that can run code. However, I have only encountered LibPd in the context of
>>> other applications (processing, openFrameworks) and mobile devices so far.
>>> Do you think it could work on an ESP8266? I'm also a bit concerned about
>>> efficiency, as computation power is rather limited:
>>>
>>> "ESP8266EX is embedded with Tensilica L106 32-bit micro controller
>>> (MCU), which features extra low
>>> power consumption and 16-bit RSIC. The CPU clock speed is
>>> 80MHz. It can also reach a maximum
>>> value of 160MHz. Real Time Operation System (RTOS) is enabled.
>>> Currently, only 20% of MIPS has
>>> been occupied by the WiFi stack, the rest can all be used
>>> for user application programming and
>>> development."
>>>
>>> Christof
>>>
>>> _______________________________________________
>>> Pd-list at lists.iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> https://lists.puredata.info/listinfo/pd-list
>>>
>>>
>> _______________________________________________
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> https://lists.puredata.info/listinfo/pd-list
>>
>
>
>
> --
> http://www.badmuthahubbard.com
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160515/14392e07/attachment.html>
More information about the Pd-list
mailing list