[PD-dev] Porting Pd to FreeRTOS ( was Re: plans for next Pd release)

Christof Ressi info at christofressi.com
Thu Jul 15 22:32:26 CEST 2021


> It's tricky getting everything to fit in 512K RAM - I think the new
> ESP32S3 has the same memory size, so that will be the limiting aspect.
On the ESP32-S2 it's possible to use up to 4MB of external RAM: 
https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/api-guides/external-ram.html

Still not a lot, but better than 512KB :-)

Christof

On 15.07.2021 21:39, Miller Puckette via Pd-dev wrote:
> Yeah, AOO on RTOS will be cool!  For that we should drop bluetooth
> in favor of some flavor of WIFI I think.
>
> It's tricky getting everything to fit in 512K RAM - I think the new
> ESP32S3 has the same memory size, so that will be the limiting aspect.
>
> cheers
> M
>
> On Thu, Jul 15, 2021 at 12:09:45PM +0200, Winfried Ritsch wrote:
>> Am Mittwoch, 14. Juli 2021, 18:03:32 CEST schrieb Miller Puckette via Pd-dev:
>>> Cool, that's excellent news.  I'm using the ADF i2s audio driver but staying
>>> away from their "streams" since they're too clunky (and they eat memory). I
>>> have only audio, bluetooth serial emulation, and SD card filesystem, no
>>> threaded readsf or networking (probably too memory-intensive again).
>>>
>> Starting with the DIYasb [1], distributed streaming devices for field
>> recording and audio projections using Pd, want to include the AOO-Streaming
>> [2] functionality, already tested and used also for VRR [3] now for ESP32xx
>> devices, especially simple Ambisonics Mics and field-speaker for a future
>> project.
>>
>> Doing simple streaming over WiFi, I did not get any trouble using opus lib,
>> but did no extensive processing until now and allowed enough latency for these
>> applications, but have to dig in deeper... not using bluetooth and waiting for
>> the ESP32S3...
>>
>>> I had to go way out on a Pd branch to get it running, but I want to rebase
>>> all that once I get the Pd source in better shape to support it.
>>>
>> thats fine, please keep us updated.
>>
>> mfG  Winfried
>>
>> References
>>
>> [1] https://urldefense.proofpoint.com/v2/url?u=https-3A__git.iem.at_cm_diyasb&d=DwICAg&c=-35OiAkTchMrZOngvJPOeA&r=XprZV3Fxus2L1LCw80hE4Q&m=1G1ft6Y7XaTqdv7GIbZgQevQVIh7dCEYyqblVJUOl8A&s=REqsW94KN3j1zmoTc8fuAzacKH95auw8rnFkm2yKquQ&e=
>> [2] https://urldefense.proofpoint.com/v2/url?u=https-3A__git.iem.at_cm_aoo&d=DwICAg&c=-35OiAkTchMrZOngvJPOeA&r=XprZV3Fxus2L1LCw80hE4Q&m=1G1ft6Y7XaTqdv7GIbZgQevQVIh7dCEYyqblVJUOl8A&s=2H_p8O28epbFdWYd9CdZKxGVaqQIKSEQwpA0UiSQg4c&e=
>> [3] https://urldefense.proofpoint.com/v2/url?u=https-3A__vrr.iem.at_&d=DwICAg&c=-35OiAkTchMrZOngvJPOeA&r=XprZV3Fxus2L1LCw80hE4Q&m=1G1ft6Y7XaTqdv7GIbZgQevQVIh7dCEYyqblVJUOl8A&s=uN5zUyzjx7xUPEbzK821HONeuQM_qgtNQWdVdA1c6lQ&e=
>> [4] https://urldefense.proofpoint.com/v2/url?u=https-3A__git.iem.at_uC_&d=DwICAg&c=-35OiAkTchMrZOngvJPOeA&r=XprZV3Fxus2L1LCw80hE4Q&m=1G1ft6Y7XaTqdv7GIbZgQevQVIh7dCEYyqblVJUOl8A&s=1r_RHEIuU6WoOrdkiSLsH21Z2Ybjm-GBtKKuX1P5Y2M&e=
>>
>>> cheers
>>> Miller
>>>
>>> On Wed, Jul 14, 2021 at 10:32:23AM +0200, Winfried Ritsch wrote:
>>>> Hello,
>>>>
>>>>> Before doing that I want to do some reorganizing - in porting Pd to
>>>>> FreeRTOS (so I can run it on an Espressif LyraT board, which I think
>>>>> takes only about 10 or 20% of the current that a Pi needs) I found out
>>>>> that I had to move a few functions from one file to another.
>>>> That is really exciting news, since I do most physical project on ESP32xxx
>>>> for distributed computermusic projects from speaker to robotic
>>>> instruments.
>>>>
>>>> So please let us know how it progress if you need for testing debug or
>>>> other helps. Maybe can help with objects helping interfacing the
>>>> Peripheral possibilities, from touch to solenoids drive...
>>>>
>>>> Are you targeting the ESP-IDF/ESP-ADF framework ?
>>>>
>>>> mfg winfried
>>
>> -- 
>> - ao.Univ.Prof. DI Winfried Ritsch
>> - ritsch at iem.at - https://urldefense.proofpoint.com/v2/url?u=http-3A__iem.at_ritsch&d=DwICAg&c=-35OiAkTchMrZOngvJPOeA&r=XprZV3Fxus2L1LCw80hE4Q&m=1G1ft6Y7XaTqdv7GIbZgQevQVIh7dCEYyqblVJUOl8A&s=vgmXjpjGKuiTwOhEOGcejsNc7XHldqmmVbok4GFFvew&e=
>> - Institut fuer Elektronische Musik und Akustik
>> - University of Music and Dramatic Art Graz
>> - Tel. ++43-316-389-3510 (3170) Fax ++43-316-389-3171
>>
>>
>>
>>





More information about the Pd-dev mailing list