Recent Posts

Pages: [1] 2 3 ... 10
1
Using pi-Stomp / Re: MIDI works on one channel only
« Last post by Peetem on September 07, 2023, 10:21:35 AM »
That file only affects hotspot. You’re welcome to play with it. I’ve been trying to replicate your issue, but so far I can’t. I’m also gonna see what else can be changed in there

OK.  I'll make a few tweaks to the file and see what happens.

I also pulled out an old laptop running Windows.  I use it to control our Xair mixers, so it connects fine to other devices.  It also won't connect to the Pistomp.  So something weird is going on.
2
Hacking pi-Stomp / Re: RGB stomp switch led
« Last post by bigbluecoconut on September 05, 2023, 09:05:13 AM »
Thx, that did the trick  :)
3
Hacking pi-Stomp / Re: RGB stomp switch led
« Last post by Randall (Admin) on September 04, 2023, 11:27:16 PM »
See this line:
https://github.com/TreeFallSound/pi-stomp/blob/master/pistomp/ledstrip.py#L27

LED_DMA = 12          # DMA channel to use for generating signal (try 10)   # TODO XXX need to figure this out


12 worked for pi3a+, 10 appears to work for pi4.  Please try 10.  That got rid of the DMA errors and the pi-stomp error for me.

As the my TODO comment suggests, we need to figure this out  ;)




4
Hacking pi-Stomp / Re: RGB stomp switch led
« Last post by bigbluecoconut 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.
5
Hacking pi-Stomp / Re: RGB stomp switch led
« Last post by micahvdm on September 04, 2023, 10:56:18 AM »
Are you using any customised settings for the pi, like overclocking? Those DMA errors are no good
6
Hacking pi-Stomp / Re: RGB stomp switch led
« Last post by bigbluecoconut 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
7
Hacking pi-Stomp / Re: RGB stomp switch led
« Last post by micahvdm on September 04, 2023, 06:36:34 AM »
Try removing the color: option and the ps-restart
8
Hacking pi-Stomp / Re: RGB stomp switch led
« Last post by bigbluecoconut 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
9
Hacking pi-Stomp / Re: RGB stomp switch led
« Last post by micahvdm on September 04, 2023, 01:07:47 AM »
Can you paste what your default_config.yml contents for us to check?
10
Using pi-Stomp / Re: MIDI works on one channel only
« Last post by micahvdm on September 04, 2023, 12:25:18 AM »
That file only affects hotspot. You’re welcome to play with it. I’ve been trying to replicate your issue, but so far I can’t. I’m also gonna see what else can be changed in there
Pages: [1] 2 3 ... 10