New project enabled by rpi-rgb-led-matrix and others

Two parts, one is a receiver to accept pixel streams from art net, DDP, and sacn. The other a composer that sends streams of pixels using DDP.

Thank you for sharing.
TME is Apache-2 (I saw you mentioned it in your code with no license)

apologies for failing to copy the license in the other versions up to TME69

Mark Estes has my eternal admiration for all these demos.

Sounds really cool.
I have a similar project to Marc - an LED screen t-shirt that plays animated GIFs etc using the matrix library - we wear them to music events.

Can this work in real-time? ie can it do generative visuals in response to live sounds, as they happen?

It looks like the intended usage is that the composer runs on something other than the Pi? Would it be feasible to run it on the Pi?

If so, how compute intensive is it? With just plain cycling GIFs, I get about 10 hours of life from my battery pack. I would not want to impact that too much.

If it’s feasible, would be interested in trying to set it up such that I can modify my app to integrate it, and every so often in the GIF cycle, switch to generative visuals mode for say a minute or two. I also have buttons which I normally use to trigger specific GIFs, so I could have a manual switchover mode maybe.

Yes and no. I first wrote a DDP receiver for the pi that runs on my 256x192 panel to about 30fps in full color nice and clean. The stream can come from anything that can run nodejs.

The receiver also lets you tag and save streams, sort, edit, etc. But that is obviously static. I have not tried to turn on audio with a pi5 yet either. I was using one of these todo audio processing and push it back ‘https://daisy.audio/products/seed3’

I have a build of the receiver that will mix two channels realtime also, but without audio, no features on a pi. But that package is basically a firmware for pi that does event board kinda work. I put all the text things in that one, and we strap a 1/8th scan row of panels to grandmas wheel chair for her weekly visit to the street corner in protest…

The composer has a media player that can random, sequential, or by playlist read from a directory anything it finds on one input channel, and transforms the media on beat, bar, key, etc. Pulse, rotate, fold, etc. The randomizer lets you bind that to one channel as well.

I did spend a thousand times more effort on the feature analysis than anything else. Multiple beat tracking methods that work as a quorum to find beats, predict changes on the bar, track key, find texture in mids and sparkles in the highs. And a simple verify tool that folds the spectral beat map over on the bar… if the bpm is right, 4/4 has four clear lines in the spectra. 3/4 three.. but I digress.

I will update that Marc. Thank you. I must admit, your DNA is in the box. Thanks for the tools, toys, and learning :slight_smile: Your entire demo library has been ported in using json data and a single pattern engine. Probably all the animated gifs as well, but I did not put those in the release.

Cheers
Anjin

Eh, I’m glad at least one person is using all that demo code I gathered and published (most of the actual demos were not written by me, it’s not what I do best and why write code that lovely people had already written before me like Jason Coon (Aurora) and Mark Estes (TME)

Cool that you can now just give this to an AI and it will translate all the code to another language

Today I asked an agent to bring each bin of the spectrum analyser into an elements that could be assigned in the pattern editor at will, and gave some examples of use, like a flocking pattern where flock members are assigned a frequency, and scaled by amplitude. And asked the agent to create a new non random artistic pattern with a modifier from the set of changes we had made. It made three unique ones, and also made a pattern to my description of a use case.

This spring, I was tweaking a set of patterns for a necklace I made my partner using one of Jason Coon’s Fibbonaci Matrix panels, I asked an agent to make it orderly, reordered based on Jasons own repos as a style guide. Update all the docs and code with comments, and then check it in with a PR to uipstream. And the agent also wrote this one just out of the blue.

https://github.com/jasoncoon/fibonacci128-touch-demo/blob/f128-one-inch/fibonacci128-touch-demo/PatternPhyllotaxisBloom.h

Thank you again.

Cheers
James