Updated Amateur. Minor fixes.

This commit is contained in:
severak 2021-01-01 18:19:40 +01:00
parent ef05a015e5
commit dfcdb7b82a
4 changed files with 10 additions and 7 deletions

View File

@ -65,7 +65,7 @@ me.add(csd_checkbox(me, csd, "quack", "Quack?", 0))
me.add(csd_param(me, csd, "vol", "Peak", 0, 0, 1))
me.add(csd_param(me, csd, "vol", "Volume", 1, 0, 1.5))
me.add(act_confirm(me, 'Shutdown?', exit))
me.add(act_confirm(me, 'Reset synth?', exit))
menu(me)
</GuineaSynth>

View File

@ -15,5 +15,8 @@ _display.lcd_display_string("wait for JACK...", 2)
MSG
jack_wait -w
while true; do
python guinea-synth.py
echo "OK"
sleep 1s
done

View File

@ -9,8 +9,8 @@
#
# PIN numbers of rotary encoder - change these if needed:
PIN_clk = 9
PIN_dt = 10
PIN_clk = 10
PIN_dt = 9
PIN_btn = 25
import sys

View File

@ -41,14 +41,14 @@ me.add(csd_param(me, csd, "traveller", "Traveller (Hz)", 22000, 20, 22000, 30))
me.add(csd_checkbox(me, csd, "quack", "Quack?", 0))
me.add(csd_checkbox(me, csd, "bite", "Bite?", 0))
me.add(act_confirm(me, 'Shutdown?', exit))
me.add(act_confirm(me, 'Reset synth?', exit))
menu(me)
</GuineaSynth>
<CsoundSynthesizer>
<CsOptions>
; silent, default DAC, PortMidi and all inputs, cps to p4, velocity to p5
-d -+rtaudio=jack -o dac -+rtmidi=PortMidi -Ma --midi-key-cps=4 --midi-velocity-amp=5
-d -o dac -+rtmidi=PortMidi -Ma --midi-key-cps=4 --midi-velocity-amp=5
</CsOptions>
<CsInstruments>
; Initialize the global variables.
@ -130,7 +130,7 @@ instr 1
endif
if iwave==7 then
kfilter = cpsmidinn(inotnum + 24) + kbnd
kfilter = cpsmidinn(inotnum + 12) + kbnd
endif
if iquack==1 then