From 7ed55167733a73d186e4bd6f09a140b532220f03 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Tue, 19 Jun 2018 19:59:37 +0200 Subject: [PATCH] Better JACK autostart, conf for Cadence --- .config/Cadence/GlobalSettings.conf | 16 +++ .config/i3/config | 15 +-- .config/jack/conf.xml | 2 +- .config/nonmixer/Home/snapshot | 22 +++- .ladish/studios/Home.xml | 158 +++++++++++++++++++++++++--- 5 files changed, 189 insertions(+), 24 deletions(-) create mode 100644 .config/Cadence/GlobalSettings.conf diff --git a/.config/Cadence/GlobalSettings.conf b/.config/Cadence/GlobalSettings.conf new file mode 100644 index 0000000..a696d1c --- /dev/null +++ b/.config/Cadence/GlobalSettings.conf @@ -0,0 +1,16 @@ +[A2J] +AutoStart=true +ExportHW=true + +[ALSA-Audio] +BridgeChannels=2 +BridgeIndexType=1 +BridgeTool=alsa_in + +[JACK] +AutoLoadLadishStudio=true +AutoStart=true +LadishStudioName=Home + +[Pulse2JACK] +AutoStart=false diff --git a/.config/i3/config b/.config/i3/config index a471a2b..072b97d 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -183,10 +183,11 @@ bindsym Mod4+Shift+e exec spacefm #Gamma, color temp and brightness night adjuster exec --no-startup-id redshift-gtk -# Start JACK server and session manager : -- Claudia will start JACK afaik. -- As studio contains Non-Mixer and PianoTeq apps, they will start automatically -exec_always --no-startup-id claudia - -# Next start ALSA MIDI -> JACK MIDI bridge -exec --no-startup-id a2j -e \ No newline at end of file +# Start JACK server and session manager : +#- Cadence starts JACK, A2J and load Home LADISH studio +#- Claudia starts GUI +for_window [class="Claudia"] move container to workspace 3 +for_window [class="Cadence"] move container to workspace 3 +for_window [class="Non-Mixer"] move container to workspace 3 +for_window [title="Pianoteq*"] move container to workspace 3 +exec_always --no-startup-id "sh -c 'cadence-session-start --start; sleep 5; non-mixer /home/chosty/.config/nonmixer/Home/; sleep 5; claudia'" \ No newline at end of file diff --git a/.config/jack/conf.xml b/.config/jack/conf.xml index 56b7c14..81ae6b4 100644 --- a/.config/jack/conf.xml +++ b/.config/jack/conf.xml @@ -4,7 +4,7 @@ JACK settings, as persisted by D-Bus object. You probably don't want to edit this because it will be overwritten next time jackdbus saves. --> - + diff --git a/.config/nonmixer/Home/snapshot b/.config/nonmixer/Home/snapshot index 13da6e7..0e01551 100644 --- a/.config/nonmixer/Home/snapshot +++ b/.config/nonmixer/Home/snapshot @@ -4,13 +4,31 @@ Mixer_Strip 0x1 create :name "Firefox 1" :width "narrow" :tab "fader" :color 424238335 :gain_mode 0 :mute_mode 0 :group 0xD :auto_input "" :manual_connection 0 Chain 0x2 create :strip 0x1 :tab "controls" JACK_Module 0x3 create :parameter_values "0.000000:2.000000" :is_default 1 :chain 0x2 :active 1 - Gain_Module 0x4 create :parameter_values "-8.250000:0.000000" :is_default 1 :chain 0x2 :active 1 + Gain_Module 0x4 create :parameter_values "1.250000:0.000000" :is_default 1 :chain 0x2 :active 1 Meter_Module 0x5 create :is_default 1 :chain 0x2 :active 1 JACK_Module 0x6 create :parameter_values "2.000000:0.000000" :is_default 1 :chain 0x2 :active 1 Mixer_Strip 0xE create :name "Firefox 2" :width "narrow" :tab "fader" :color 596516649 :gain_mode 0 :mute_mode 0 :group 0xD :auto_input "" :manual_connection 0 Chain 0xF create :strip 0xE :tab "chain" JACK_Module 0x10 create :parameter_values "0.000000:2.000000" :is_default 1 :chain 0xF :active 1 - Gain_Module 0x11 create :parameter_values "0.000000:0.000000" :is_default 1 :chain 0xF :active 1 + Gain_Module 0x11 create :parameter_values "1.250000:0.000000" :is_default 1 :chain 0xF :active 1 Meter_Module 0x12 create :is_default 1 :chain 0xF :active 1 JACK_Module 0x13 create :parameter_values "2.000000:0.000000" :is_default 1 :chain 0xF :active 1 + Mixer_Strip 0x15 create :name "Firefox 3" :width "narrow" :tab "fader" :color 1025202362 :gain_mode 0 :mute_mode 0 :group 0xD :auto_input "" :manual_connection 0 + Chain 0x16 create :strip 0x15 :tab "chain" + JACK_Module 0x17 create :parameter_values "0.000000:2.000000" :is_default 1 :chain 0x16 :active 1 + Gain_Module 0x18 create :parameter_values "0.000000:0.000000" :is_default 1 :chain 0x16 :active 1 + Meter_Module 0x19 create :is_default 1 :chain 0x16 :active 1 + JACK_Module 0x1A create :parameter_values "2.000000:0.000000" :is_default 1 :chain 0x16 :active 1 + Mixer_Strip 0x1B create :name "PianoTeq" :width "narrow" :tab "fader" :color 1350490027 :gain_mode 0 :mute_mode 0 :group 0xD :auto_input "" :manual_connection 0 + Chain 0x1C create :strip 0x1B :tab "chain" + JACK_Module 0x1D create :parameter_values "0.000000:2.000000" :is_default 1 :chain 0x1C :active 1 + Gain_Module 0x1E create :parameter_values "0.000000:0.000000" :is_default 1 :chain 0x1C :active 1 + Meter_Module 0x1F create :is_default 1 :chain 0x1C :active 1 + JACK_Module 0x20 create :parameter_values "2.000000:0.000000" :is_default 1 :chain 0x1C :active 1 + Mixer_Strip 0x21 create :name "VLC" :width "narrow" :tab "fader" :color 783368690 :gain_mode 0 :mute_mode 0 :group 0xD :auto_input "" :manual_connection 0 + Chain 0x22 create :strip 0x21 :tab "chain" + JACK_Module 0x23 create :parameter_values "0.000000:2.000000" :is_default 1 :chain 0x22 :active 1 + Gain_Module 0x24 create :parameter_values "0.000000:0.000000" :is_default 1 :chain 0x22 :active 1 + Meter_Module 0x25 create :is_default 1 :chain 0x22 :active 1 + JACK_Module 0x26 create :parameter_values "2.000000:0.000000" :is_default 1 :chain 0x22 :active 1 } diff --git a/.ladish/studios/Home.xml b/.ladish/studios/Home.xml index d8c9714..7990f00 100644 --- a/.ladish/studios/Home.xml +++ b/.ladish/studios/Home.xml @@ -2,7 +2,7 @@ - + @@ -37,8 +37,20 @@ ladish Studio configuration. + + + + + + + + + + + + @@ -53,6 +65,10 @@ ladish Studio configuration. + + + + @@ -73,6 +89,46 @@ ladish Studio configuration. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -102,26 +158,42 @@ ladish Studio configuration. - + + + - + + + + + + + + + + + - - + + - - + + - - + + + + + + - 1505.7545849578214 - 1110.4882568341422 + 1508.2101294754946 + 1092.0716729515952 @@ -164,12 +236,56 @@ ladish Studio configuration. - 1361.6096417545596 - 1243.4096141320415 + 1367.7485030487421 + 1288.83718770899 + + + + + + + + + + + + + + + + + + + + + + + + + 1514.3946044937425 + 1060.0339624926442 + + + + + + + + + + + + + + + + + + @@ -179,13 +295,27 @@ ladish Studio configuration. + + + + + + + + + + + + + + - non-mixer + non-mixer pianoteq