TreeFallSound / pi-stomp

pi-stomp is a DIY high definition, multi-effects stompbox platform for guitar, bass and keyboards
https://treefallsound.com
GNU General Public License v3.0
104 stars 19 forks source link

Pi-stomp on PI5 would be awesome!!! #97

Open maarthome opened 8 months ago

maarthome commented 8 months ago

Hi all,

Pi-stomp on PI5 would be awesome!!! Best wishes to you all!!

Maarten

rreichenbach commented 7 months ago

Workin' on it. The new RP1 GPIO management screws up a few things (SPI and PWM specifically). No more RPi.GPIO. I've been converting pi-Stomp code to use gpiozero instead which is probably better in the long run. Still some low level things that will likely require kernel changes though.

maarthome commented 6 months ago

Hi Randall,

Is there any update? I am sooooo anxious to try Pi-Stomp on my Pi5! :-)

Thanks a lot for working on this great project!

JustBKen commented 1 month ago

Still stuck with RP1 PWM support for the LEDs. Devs are waiting on this: https://github.com/jgarff/rpi_ws281x/issues/528

JustBKen commented 4 weeks ago

Everything else works with a PI 5 tho. I am running pi5 on my test build, just without the LEDs.

maarthome commented 2 weeks ago

That is great! Looking forward tp try it.... Enjoy 😃🙏

maarthome commented 2 weeks ago

How did you get it installed? I have hardware version 2.... Could you give me your procedure?

Thanks! Maarten

rreichenbach commented 2 weeks ago

If you mean, how to get bookworm/pi5 to work with v2 hardware, you can do this for now:

Start with bookworm 64-bit lite

sudo apt install -y git
git clone -b beta-bookworm-dev https://github.com/treefallsound/pi-stomp.git](https://github.com/micahvdm/pi-stomp.git
cd pi-stomp
nohup ./setup.sh -v 2 > setup.log | tail -f setup.log

After reboot

sudo apt remove python3-rpi.gpio
sudo apt install python3-rpi-lgpio

Add this line to /boot/firmware/config.txt: dtoverlay=spi0-2cs,cs0_pin=0,cs1_pin=7

sudo reboot

maarthome commented 2 weeks ago

Hi Randall,

Thanks for your fast reply!!! The whole compilation goes OK now... 😊😊 However, the screen is switched on/off displaying 'pi Stomp' in green or nothing on a glitch screen...

Perhaps you have some time to look at the errors... ? 🎶 errorlog.txt

PS I checked whether the pre-bookworm version still worked... and indeed... it did (although the display 'stuttered' before the UI became visible)

Thanks again and cheers,

Maarten

JustBKen commented 2 weeks ago

Could you post the outputs of

ps-run -l debug sudo journalctl -fu mod-ui sudo journalctl -fu mod-host sudo journalctl -fu jack

rreichenbach commented 2 weeks ago

Looks like it's having a problem controlling the GPIO's for the LED pins. Not sure if it's a problem with the LED module for gpiozero or the way we're using it, but I only hit that issue using a pi5 not a pi4 so I'm wondering if there's a RP1 issue with gpiozero.

Anyway, for a workaround, you should probably be able to comment out or delete the gpio_output lines in ~/data/config/default_config.yml, then ps-restart. Your LED halos (if you have any) won't light, but on my build, everything else seems to work.

maarthome commented 2 weeks ago

Hi Randall, Thanks for your quick and VERY helpful replies! It works now... sooooo glad!

Also 'Birge "Ken" Tok' ... Thanks for monitoring and helping!!

Next is.... making it possible to select models and IR's via the encoder and display...

Thanks again, Greetings, Maarten

rreichenbach commented 2 weeks ago

Yeah, good point about model/IR selection, Maarten. And yes, thanks Ken for your help!

Those parameters are different than what we currently support for editing via the LCD. They are of LV2 type atom:Path. Might be a little more complex, but if MOD can grok the info for the MOD-UI, we should be able too.

maarthome commented 1 week ago

Hi Randall,

Strange things is that with the ToobAmpML very good lv2 plugin set from #https://github.com/rerdavies/ToobAmp (Robin Davies) in PISTOMP, it is possible to load models via the LCD screen but NOT via the web interface... ? (at least I can load models here..... 😊) (You should checkout these plugins.... also the flanger is absolutely perfect!)

Cheers, Maarten

rreichenbach commented 1 week ago

Wow, cool plugin. Thanks for sharing that. Will need to add that to our defaults.

The models that I see available in the TooB ML Amplifier plugin (BluesJr, BossDistortionDS1, etc.) are "hardcoded" as an lv2:enumeration

https://github.com/rerdavies/ToobAmp/blob/a9a5b60dbfd5234c1a0081d894b2c3b5de8ba885/src/ToobAmp.lv2/ttl.in/ToobML.ttl.in#L171

but Not a dynamic list based on which files are loaded as far as I can tell. That selection does work via LCD or MOD-UI for me, cuz yeah, we do support enumerations.