Extra Switches (sw1): Sustain Pedal, Panic Button, etc

Here is what I get:

Apr 05 04:54:03 zynthian startx[5236]: INFO:root:Bold Switch 4
Apr 05 04:54:03 zynthian startx[5236]: INFO:root:All Notes Off!
Apr 05 04:54:03 zynthian startx[5236]: INFO:root:All Sounds Off!
Apr 05 04:54:04 zynthian startx[5236]: INFO:root:Raw All Notes Off!
Apr 05 04:54:04 zynthian startx[5236]: INFO:root:Raw All Notes Off for channel 0!
Apr 05 04:54:04 zynthian startx[5236]: INFO:root:Raw All Notes Off for channel 1!
Apr 05 04:54:04 zynthian startx[5236]: INFO:root:Raw All Notes Off for channel 2!
Apr 05 04:54:04 zynthian startx[5236]: INFO:root:Raw All Notes Off for channel 3!
Apr 05 04:54:04 zynthian startx[5236]: INFO:root:Raw All Notes Off for channel 4!
Apr 05 04:54:04 zynthian startx[5236]: INFO:root:Raw All Notes Off for channel 5!
Apr 05 04:54:04 zynthian startx[5236]: INFO:root:Raw All Notes Off for channel 6!
Apr 05 04:54:04 zynthian startx[5236]: INFO:root:Raw All Notes Off for channel 7!
Apr 05 04:54:04 zynthian startx[5236]: INFO:root:Raw All Notes Off for channel 8!
Apr 05 04:54:04 zynthian startx[5236]: INFO:root:Raw All Notes Off for channel 9!
Apr 05 04:54:04 zynthian startx[5236]: INFO:root:Raw All Notes Off for channel 10!
Apr 05 04:54:04 zynthian startx[5236]: INFO:root:Raw All Notes Off for channel 11!
Apr 05 04:54:04 zynthian startx[5236]: INFO:root:Raw All Notes Off for channel 12!
Apr 05 04:54:04 zynthian startx[5236]: INFO:root:Raw All Notes Off for channel 13!
Apr 05 04:54:04 zynthian startx[5236]: INFO:root:Raw All Notes Off for channel 14!
Apr 05 04:54:04 zynthian startx[5236]: ./zynthian.sh: line 127: 7057 Segmentation fault ./zynthian_gui.py
Apr 05 04:54:04 zynthian startx[5236]: PNG file: /zynthian/config/img/zynthian_logo_error_ip.png - Application must supply a known background gamma
Apr 05 04:54:04 zynthian startx[5236]: /zynthian/config/img/zynthian_logo_error_ip.png is 320x240 PNG image, color type RGB_ALPHA, 8 bit, file gamma 0.4545
Apr 05 04:54:04 zynthian startx[5236]: Zooming image by 133%ā€¦done
Apr 05 04:54:04 zynthian startx[5236]: Mergingā€¦done
Apr 05 04:54:04 zynthian startx[5236]: Building XImageā€¦done

I disabled all MIDI out ports before I made the test. Anyway, if MIDI out is not disabled, the result is the same but the crash was at channel 7, so I donā€™t thing it has something to do with a paticular channel.

I will add a picture at the weekend :wink:

I havenā€™t the heart to say I meant an audio contribution ā€¦

Bad wyleu, naughty wyleu . . .

1 Like

Hi @uli!

What image are you using? Itā€™s an official Gorgona or an experimental ZynthianOS image?
Is it updated to the last?

Regards,

Sorry, but as a musician Iā€™m in the learning stage :woozy_face: and I donā€™t think, that you like to hear my voice :wink:. My expierence in programming is also not so high. I normally have to program on windows. But I plan to install a development environment.

Iā€™m using Gorgona. I will get myself a second SD an test the experimental image.

1 Like

Donā€™t worry, itā€™s really all a community building effort and as someone who is enough of a musician to know how good real dedicated musicians are, it need to be nothing more than one note from a patch that you like, or perhaps donā€™t like.
At the end of the day the zynth is a musical instrument and it deserves to have itā€™s voice heard by fellow like minded souls . . . .(*)

(*) soft sentimental version aimed at tugging the heart stringsā€¦

Meanwhile. . . .

DO IT OR WE SEND IN RAMMSTEIN!

An extra connector for some extra switch :

Test is OK :
CH#00 CONTROL_CHANGE 81 => 127
CH#00 CONTROL_CHANGE 81 => 0
CH#00 CONTROL_CHANGE 83 => 127
CH#00 CONTROL_CHANGE 83 => 0
CH#00 CONTROL_CHANGE 80 => 127
CH#00 CONTROL_CHANGE 80 => 0
CH#00 CONTROL_CHANGE 82 => 127
CH#00 CONTROL_CHANGE 82 => 0

Great feature, these configurable extra switches :slight_smile:

Remains to build the pedal board and to make a sound sample :wink:

5 Likes

Very good idea to use a DIN-5 connector for it!! Congratulations!!

Please, could you give some details about the configuration (webconf) and add some photo of the wiring, etc.? Iā€™m sure that other @zynthianers would find it very useful !!

Thanks!

Yes, I started another topic for that:

2 Likes

Hi Jofemodo,
I read your thread from dez 1st 2018
how to i stall the sustain pedal and the panic button.

I do not know how to solder a ā€œ5pin connectorā€ at the allInOne board.
In my Zynthian I see the flat cable and the connector is as long as there are pins.

Whats to do?

Which Zynthian version do you have? The original all-in-one board did not have the 5 pin breakout for the extra switches. These were added in the updated all-in-one board. Extra switches can, however, still be added to the original all-in-one board by soldering wires directly to the pins on the MCP chip. This is what I did. Iā€™ll post some photos of this when I get home tonight.

Have you read the wiki?

http://wiki.zynthian.org/index.php/Adding_Extra_Switches

Regards,

thanx, yes photos are great. I have no plan.

Now I have 2 Zynthians.

The first one is a raspi 3 and i want to build it in my livetime projekt.
This is a Bƶhm CNTKeybed in a DX7-case with a Bƶhm 12/24 expander. When this Zynthian has a sustain-pedal, I have a small setup without missing sounds. :joy::rainbow:

2 Likes

The second one is a raspi 4 with a 5"hdmi monitor and a behringer UCA222 2x2 Interface. without knobs and faders. I try to play it without an own ui, just using the control channel and notes on the keyboard.

I donā€™t know how to add fotos, excuse Problem solved, thanx!

.

1 Like

Excuse me, sometimes I need time.

Yes I read it.

A picture shows the aio connector with 5 pins cross to the long connector. Ok
But what is with the switches?

I need the sustain pedal and the panic button. What numbers do they have? I think, the others are for further purposes. :slightly_smiling_face:

The wires for sustain pedal will end at fem jack at the case,
and the wires for the panic button will end at a switch.

The I have to edit the webconf entries.

I hope thats right.:+1:

Thanx for your serenity and helping.

From the wiki:

Connect some kind of switch between pins 2-5 and pin 1 (GND). The switches are normally open, closing to pin 1 (GND).

Click the ā€œuploadā€ button on the editor topbar. Itā€™s the 7th from left.

Thanx! :+1::rainbow:

Sidenote/question: how faulttolerant is the os for just yanking the poweradapter out (as turning off zynthian)? Preferably a switch/button to call for shutdown-command would be nice. Maybe its already been implemented, in that case sorry for my ignorance