EDP Clone - A Raspberry Pi Project

Discuss any custom user interfaces that have been developed for SL.

Moderator: jesse

trafficjam
Posts: 2
Joined: Sat Jan 20, 2018 4:11 am

Re: EDP Clone - A Raspberry Pi Project

Post by trafficjam »

Congrats, that looks awesome.
I've learned a couple things while trying to mimic the neopixel feedback.
RPI USB audio and neopixel controlled over pwm pin do not work together, at least for me so far. You can do one or the other but not both at the same time. I have 3-4 workarounds to try but just haven't gotten to doing it.
I was so close getting it working on a seperate pi zero talking over osc. I spent a couple days at least trying to do some updates to the pi to install some dependencies.
The updates kept failing, in conclusion I believe it was due to a corrupt sd card.
I'm not giving up on it I just need to dedicate more time to trying.
Thanks for your help Colin pointing me in the right directions.
Now its almost finished, hopefully you can take some time to play and enjoy it when its done.

Snake Eyez
Posts: 2
Joined: Sat Dec 29, 2018 7:04 pm

Re: EDP Clone - A Raspberry Pi Project

Post by Snake Eyez »

Looks like it's coming along great! Have you seen Patchbox OS from Blokas? It's a custom distro for RPi audio projects;

https://blokas.io/patchbox-os

Also, a cv input for a clock signal for loop tempo input would be great to sync with eurorack gear or clock pedals such as EHX Clockworks.

I've got the Audio Injector Octo as well, but haven't tried it as yet so looking forward to test drive with your efforts.

Cheers ;)

alignwaivers
Posts: 11
Joined: Thu Dec 06, 2018 2:11 am

Re: EDP Clone - A Raspberry Pi Project

Post by alignwaivers »

I've had an issue with tracking loop position (on > 3 loops) : are you autoregistering the loop positions and lengths or sending the '/get' osc messages to update. I was using 15 ms autoregistered updates for position, etc.

alignwaivers
Posts: 11
Joined: Thu Dec 06, 2018 2:11 am

Re: EDP Clone - A Raspberry Pi Project

Post by alignwaivers »

So I'm curious how many loops total are you running and how are you getting position? I'm running into a bottle neck with autoregistering loop_pos for more than 3 loops and having them all play simultaneously. Lookin forward to hearing an update from ya, best of luck!

alignwaivers
Posts: 11
Joined: Thu Dec 06, 2018 2:11 am

Re: EDP Clone - A Raspberry Pi Project

Post by alignwaivers »

Hey did you migrate your code? getting a 404 now for the link that was working before on your github. was just going to look to see if you were autoregistering osc messages such as position to get the leds to align with the current postion (divided by length, assumably). Let me know, ran into a bottleneck issue and was curious if this came up for you. Thanks

jesse
Posts: 510
Joined: Sat Sep 06, 2008 9:46 am
Contact:

Re: EDP Clone - A Raspberry Pi Project

Post by jesse »

alignwaivers, just for reference, the GUI app itself registers 100ms auto-updates, so see what happens if you try that instead of 15ms.

colinbrogan
Posts: 24
Joined: Thu Oct 25, 2018 8:15 pm

Re: EDP Clone - A Raspberry Pi Project

Post by colinbrogan »

Alignwaivers:

https://github.com/colinbrogan/broganheimer_edp4/

Make sure you are logged into to your username on Github, because it is private. It is still showing you as a collaborator, so you should be able to access it as long as you are logged in.

In test_buttons.py, see this line:

client.send( OSCMessage("/sl/0/register_auto_update", ["loop_pos", 5, "sooperlooperpi:5432", "/loop_pos" ] ) )

Then in osc_server.py, you can see the loopPos function which recieves this auto-update. I have yet to expand the code to do more than one loop. I also have noticed high CPU consumption with all these auto_update registrations, and all the looping I am doing to write the LED wheels. If I can just finish the hardware and get the bottom-lid bolted on, I will get back to the code. Will probably start from scratch to optimise CPU performance, while achieving everything I want to do. Just haven't gotten the chance to sit down and think it through.

Post Reply