Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - bigbluecoconut

Pages: [1]
1
Hacking pi-Stomp / Re: RGB stomp switch led
« on: September 05, 2023, 09:05:13 AM »
Thx, that did the trick  :)

2
Hacking pi-Stomp / Re: RGB stomp switch led
« on: September 04, 2023, 12:56:54 PM »
No, thats a freshly installed pi-stomp on a pi 4.
When using the standard config it works normally without errors.

3
Hacking pi-Stomp / Re: RGB stomp switch led
« on: September 04, 2023, 09:19:10 AM »
Sadly it didnt help, im getting this error:
Code: [Select]
Sep 04 15:18:05 pistomp systemd[1]: Started MOD-ALA-PI-STOMP.
Sep 04 15:18:06 pistomp python3[2616]: /usr/sbin/alsactl: set_control:1461: Cannot write control '2:0:0:Max Overclock PLL:0' : Device or resource busy
Sep 04 15:18:06 pistomp python3[2616]: /usr/sbin/alsactl: set_control:1461: Cannot write control '2:0:0:Max Overclock DSP:0' : Device or resource busy
Sep 04 15:18:06 pistomp python3[2616]: /usr/sbin/alsactl: set_control:1461: Cannot write control '2:0:0:Max Overclock DAC:0' : Device or resource busy
Sep 04 15:18:07 pistomp python3[2598]: DMA Error: 00000000
Sep 04 15:18:07 pistomp python3[2598]: None False
Sep 04 15:18:07 pistomp python3[2598]: Traceback (most recent call last):
Sep 04 15:18:07 pistomp python3[2598]:   File "/home/pistomp/pi-stomp/modalapistomp.py", line 150, in <module>
Sep 04 15:18:07 pistomp python3[2598]:     main()
Sep 04 15:18:07 pistomp python3[2598]:   File "/home/pistomp/pi-stomp/modalapistomp.py", line 87, in main
Sep 04 15:18:07 pistomp python3[2598]:     hw = factory.create(handler, midiout)
Sep 04 15:18:07 pistomp python3[2598]:   File "/home/pistomp/pi-stomp/pistomp/hardwarefactory.py", line 37, in create
Sep 04 15:18:07 pistomp python3[2598]:     return Pistompcore.Pistompcore(self.cfg, handler, midiout, refresh_callback=handler.update_lcd_fs)
Sep 04 15:18:07 pistomp python3[2598]:   File "/home/pistomp/pi-stomp/pistomp/pistompcore.py", line 81, in __init__
Sep 04 15:18:07 pistomp python3[2598]:     self.reinit(None)
Sep 04 15:18:07 pistomp python3[2598]:   File "/home/pistomp/pi-stomp/pistomp/hardware.py", line 84, in reinit
Sep 04 15:18:07 pistomp python3[2598]:     self.__init_footswitches(self.cfg)
Sep 04 15:18:07 pistomp python3[2598]:   File "/home/pistomp/pi-stomp/pistomp/hardware.py", line 246, in __init_footswitches
Sep 04 15:18:07 pistomp python3[2598]:     fs.clear_pedalboard_info()
Sep 04 15:18:07 pistomp python3[2598]:   File "/home/pistomp/pi-stomp/pistomp/footswitch.py", line 136, in clear_pedalboard_info
Sep 04 15:18:07 pistomp python3[2598]:     self.set_category(None)
Sep 04 15:18:07 pistomp python3[2598]:   File "/home/pistomp/pi-stomp/pistomp/footswitch.py", line 65, in set_category
Sep 04 15:18:07 pistomp python3[2598]:     self.pixel.set_color_by_category(category, self.enabled)
Sep 04 15:18:07 pistomp python3[2598]:   File "/home/pistomp/pi-stomp/pistomp/ledstrip.py", line 63, in set_color_by_category
Sep 04 15:18:07 pistomp python3[2598]:     self.set_enable(enabled)
Sep 04 15:18:07 pistomp python3[2598]:   File "/home/pistomp/pi-stomp/pistomp/ledstrip.py", line 70, in set_enable
Sep 04 15:18:07 pistomp python3[2598]:     self._render_color_rgb(0, 0, 0)
Sep 04 15:18:07 pistomp python3[2598]:   File "/home/pistomp/pi-stomp/pistomp/ledstrip.py", line 86, in _render_color_rgb
Sep 04 15:18:07 pistomp python3[2598]:     self.strip.show()
Sep 04 15:18:07 pistomp python3[2598]:   File "/usr/local/lib/python3.9/dist-packages/rpi_ws281x/rpi_ws281x.py", line 150, in show
Sep 04 15:18:07 pistomp python3[2598]:     raise RuntimeError('ws2811_render failed with code {0} ({1})'.format(resp, str_resp))
Sep 04 15:18:07 pistomp python3[2598]: RuntimeError: ws2811_render failed with code -10 (DMA error)
Sep 04 15:18:07 pistomp python3[2598]: DMA Error: 00000000

4
Hacking pi-Stomp / Re: RGB stomp switch led
« on: September 04, 2023, 04:33:12 AM »
Thats my config:

Code: [Select]
 

hardware:
  # Hardware version (1.0 for original pi-Stomp, 2.0 for pi-Stomp Core)
  version: 2.0

  # midi definition
  #  channel: midi channel used for midi messages
  midi:
    channel: 14

  # footswitches definition
  #   bypass: relay(s) to toggle (LEFT, RIGHT or LEFT_RIGHT)
  #   color: color to use for enable status halo on LCD
  #   debounce_input: debounce chip pin to which switch is connected
  #   disable: disable the switch
  #   gpio_input: gpio pin if not using debounce
  #   gpio_output: gpio pin used to drive indicator (LED, etc.)
  #   id: integer identifier
  #   midi_CC: msg to send (0 - 127 or None)
  #
  footswitches:
  - id: 0
    debounce_input: 0
    ledstrip_position: 0
    bypass: LEFT
    preset: UP
  - id: 1
    debounce_input: 1
    ledstrip_position: 1
    midi_CC: 62
    color: lime
  - id: 2
    debounce_input: 2
    ledstrip_position: 2
    midi_CC: 63
    color: blue

  # analog control definition
  #   adc_input: adc chip pin to which control is connected
  #   disable: disable the control
  #   midi_CC: msg to send (0 - 127 or None)
  #   threshold: minimum value change to trigger a midi msg (16 default, 1024 full scale)
  #   type: control type (KNOB, EXPRESSION)
  #
  #analog_controllers:
  #- adc_input: 0
  #  midi_CC: 70
  #  type: KNOB
  #- adc_input: 1
  #  midi_CC: 71
  #  type: KNOB
  #- adc_input: 7
  #  midi_CC: 77
  #  type: EXPRESSION

5
Hacking pi-Stomp / Re: RGB stomp switch led
« on: September 03, 2023, 03:11:18 PM »
Hi, did you include it in the new build?
I wanted to use some ws2812 to light up my buttons, but
when i change the config file its stuck on the pistomp loading screen.

Pages: [1]