Compare commits

...

2 Commits

Author SHA1 Message Date
Rob Canning 9505ba4a52 accelerometer reintegrated 2022-12-06 00:40:39 +01:00
Rob Canning 9a51a20a4f glitch fix - pointer enabled properly 2022-12-05 12:39:53 +01:00
5 changed files with 681 additions and 697 deletions

View File

@ -114,7 +114,7 @@ VLayout(
StaticText(~grainGui, Rect(50,50,300,40)).string_("PLAYHEAD MODE").background_(Color.clear).stringColor_(Color.black).font_(Font.default.size_(30));
~posModeGui = QPopUpMenu(~grainGui, Rect(10, 50, 300, 40))
.items_([0, "Static", "Looping","Randomise","Constrained", "Sensor", 6, 7])
.items_(["0.125", "0.25", "0.5", "1","2", "3", "4", "sensor"])
.font_(Font.default.size_(35)).background_(Color.yellow);
StaticText(~grainGui, Rect(50,50,300,40)).string_("PITCH MODE").background_(Color.clear).stringColor_(Color.black).font_(Font.default.size_(30));
@ -150,17 +150,17 @@ VLayout(
.value_(0)
.stringColor_(Color.black).background_(Color.yellow);
StaticText(~grainGui, Rect(50,50,300,40)).string_("DENSITY").background_(Color.clear).stringColor_(Color.black).font_(Font.default.size_(30));
StaticText(~grainGui, Rect(50,150,150,40)).string_("DENSITY").background_(Color.clear).stringColor_(Color.black).font_(Font.default.size_(30));
~densityModeGui = QPopUpMenu.new(~grainGui, Rect(10,200,100,40))
.items_(["1","2","3","5","8","13","21", "34", "55","89","144","233", "377"])
.font_(Font.default.size_(35)).background_(Color.yellow);
~densModeGui = QPopUpMenu.new(~grainGui, Rect(50,60,100,40))
.items_(["1","2","3","5","8","13","21", "34", "55","89","144","233", "377"]) .font_(Font.default.size_(30)).background_(Color.yellow);
StaticText(~grainGui, Rect(50,50,300,40)).string_("IMPULSE MODE").background_(Color.clear).stringColor_(Color.black).font_(Font.default.size_(30));
StaticText(~grainGui, Rect(50,50,150,40)).string_("IMPULSE").background_(Color.clear).stringColor_(Color.black).font_(Font.default.size_(30));
~impulseModeGui = QPopUpMenu.new(~grainGui, Rect(10,250,300,40))
.items_(["SYNCHRONIOUS","ASYNCHRONIOUS","Array"])
.font_(Font.default.size_(20)).background_(Color.yellow);
// ~impulseModeGui = QPopUpMenu.new(~grainGui, Rect(30,350,300,40))
// .items_(["SYNCHRONIOUS","ASYNCHRONIOUS","Array"]) .font_(Font.default.size_(20)).background_(Color.yellow);
~impulseModeGui = CheckBox.new(~grainGui, Rect(30,350,80,60)).value_(1).string_("sync/async");
~gPanModeGui = QPopUpMenu(~grainGui, Rect(10, 300, 220, 30))
.items_(["OFF","STEREO FRONT","STEREO BACK", "STEREO PAN", "STEREO RND", "QUAD", "QUAD ROTATE", "QUAD RANDOM" ]).font_(Font.default.size_(24));
@ -181,7 +181,7 @@ VLayout(
.alwaysOnTop_(true);
~inputGui.bounds_(Rect(10, 60, 250, 450)); // contents adjust since coords are relative
~grainGui.bounds_(Rect(280, 60, 350, 550)); // contents adjust since coords are relative
~grainGui.bounds_(Rect(280, 60, 450, 650)); // contents adjust since coords are relative
~iSpatGui.bounds_(Rect(10, 570, 250, 500)); // contents adjust since coords are relative
)

1166
gtr.scd

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,76 @@
<!DOCTYPE patchbay>
<patchbay version="0.9.1" name="live_jackpatchbay">
<output-sockets>
<socket client="system" name="system 1" type="jack-audio" exclusive="on">
<plug>capture_1</plug>
<plug>capture_2</plug>
<plug>capture_3</plug>
<plug>capture_4</plug>
</socket>
<socket client="ardour" name="ardour 1" type="jack-audio" exclusive="off">
<plug>Master\/audio_out\ 1</plug>
<plug>Master\/audio_out\ 2</plug>
</socket>
<socket client="ardour" name="ardour sc4ch" type="jack-audio" exclusive="off">
<plug>SC\ 4CHAN\/audio_out\ 1</plug>
<plug>SC\ 4CHAN\/audio_out\ 2</plug>
<plug>SC\ 4CHAN\/audio_out\ 3</plug>
<plug>SC\ 4CHAN\/audio_out\ 4</plug>
</socket>
<socket client="gx_head_amp" name="gx_head_amp 1" type="jack-audio" exclusive="off">
<plug>out_0</plug>
</socket>
<socket client="gx_head_fx" name="gx_head_fx" type="jack-audio" exclusive="off">
<plug>out_0</plug>
<plug>out_1</plug>
</socket>
<socket client="SuperCollider" name="SC2CH" type="jack-audio" exclusive="off">
<plug>out_1</plug>
<plug>out_2</plug>
</socket>
<socket client="SuperCollider" name="SC 3-4" type="jack-audio" exclusive="off">
<plug>out_3</plug>
<plug>out_4</plug>
</socket>
<socket client="SuperCollider" name="SuperCollider 4ch" type="jack-audio" exclusive="off">
<plug>out_1</plug>
<plug>out_2</plug>
<plug>out_3</plug>
<plug>out_4</plug>
</socket>
</output-sockets>
<input-sockets>
<socket client="gx_head_amp" name="gx_head_amp" type="jack-audio" exclusive="off">
<plug>in_0</plug>
</socket>
<socket client="gx_head_fx" name="gx_head_fx 1" type="jack-audio" exclusive="off">
<plug>in_0</plug>
</socket>
<socket client="SuperCollider" name="SC 4CH" type="jack-audio" exclusive="off">
<plug>in_1</plug>
<plug>in_2</plug>
<plug>in_3</plug>
<plug>in_4</plug>
</socket>
<socket client="ardour" name="sc2chan" type="jack-audio" exclusive="off">
<plug>SUPERCOLLIDER\/audio_in\ 1</plug>
<plug>SUPERCOLLIDER\/audio_in\ 2</plug>
</socket>
<socket client="system" name="system 1" type="jack-audio" exclusive="off">
<plug>playback_1</plug>
<plug>playback_2</plug>
<plug>playback_3</plug>
<plug>playback_4</plug>
</socket>
</input-sockets>
<slots/>
<cables>
<cable input="gx_head_amp" type="jack-audio" output="system 1"/>
<cable input="SC 4CH" type="jack-audio" output="gx_head_fx"/>
<cable input="system 1" type="jack-audio" output="SC 3-4"/>
<cable input="system 1" type="jack-audio" output="SuperCollider 4ch"/>
<cable input="system 1" type="jack-audio" output="ardour 1"/>
<cable input="gx_head_fx 1" type="jack-audio" output="gx_head_amp 1"/>
</cables>
</patchbay>

View File

@ -0,0 +1,112 @@
<!DOCTYPE patchbay>
<patchbay version="0.9.1" name="recording_jackpatchbay">
<output-sockets>
<socket client="system" type="jack-audio" name="system 1" exclusive="on">
<plug>capture_1</plug>
<plug>capture_2</plug>
<plug>capture_3</plug>
<plug>capture_4</plug>
</socket>
<socket client="ardour" type="jack-audio" name="ardour sc4ch" exclusive="off">
<plug>SC\ 4CHAN\/audio_out\ 1</plug>
<plug>SC\ 4CHAN\/audio_out\ 2</plug>
<plug>SC\ 4CHAN\/audio_out\ 3</plug>
<plug>SC\ 4CHAN\/audio_out\ 4</plug>
</socket>
<socket client="gx_head_amp" type="jack-audio" name="gx_head_amp 1" exclusive="off">
<plug>out_0</plug>
</socket>
<socket client="gx_head_fx" type="jack-audio" name="gx_head_fx" exclusive="off">
<plug>out_0</plug>
<plug>out_1</plug>
</socket>
<socket client="SuperCollider" type="jack-audio" name="SC2CH" exclusive="off">
<plug>out_1</plug>
<plug>out_2</plug>
</socket>
<socket client="SuperCollider" type="jack-audio" name="SC 3-4" exclusive="off">
<plug>out_3</plug>
<plug>out_4</plug>
</socket>
<socket client="SuperCollider" type="jack-audio" name="SuperCollider 4ch" exclusive="off">
<plug>out_1</plug>
<plug>out_2</plug>
<plug>out_3</plug>
<plug>out_4</plug>
</socket>
<socket client="ardour" type="jack-audio" name="ardour master out" exclusive="off">
<plug>Master\/audio_out\ 1</plug>
<plug>Master\/audio_out\ 2</plug>
</socket>
<socket client="ardour" type="jack-audio" name="ardour sc stereo" exclusive="off">
<plug>SUPERCOLLIDER\/audio_out\ 1</plug>
<plug>SUPERCOLLIDER\/audio_out\ 2</plug>
<plug>SC\ GTR\/audio_out\ 1</plug>
<plug>SC\ GTR\/audio_out\ 2</plug>
</socket>
<socket client="ardour" type="jack-audio" name="ardour sc gtr" exclusive="off">
<plug>SC\ GTR\/audio_out\ 1</plug>
<plug>SC\ GTR\/audio_out\ 2</plug>
</socket>
</output-sockets>
<input-sockets>
<socket client="gx_head_amp" type="jack-audio" name="gx_head_amp" exclusive="off">
<plug>in_0</plug>
</socket>
<socket client="gx_head_fx" type="jack-audio" name="gx_head_fx 1" exclusive="off">
<plug>in_0</plug>
</socket>
<socket client="SuperCollider" type="jack-audio" name="SC 4CH" exclusive="off">
<plug>in_1</plug>
<plug>in_2</plug>
<plug>in_3</plug>
<plug>in_4</plug>
</socket>
<socket client="ardour" type="jack-audio" name="ardour gtrx input" exclusive="off">
<plug>\ GuitarX\/audio_in\ 1</plug>
<plug>\ GuitarX\/audio_in\ 2</plug>
</socket>
<socket client="ardour" type="jack-audio" name="ardour SC2CH IN" exclusive="off">
<plug>SUPERCOLLIDER\/audio_in\ 1</plug>
<plug>SUPERCOLLIDER\/audio_in\ 2</plug>
</socket>
<socket client="ardour" type="jack-audio" name="ardour SC GTR" exclusive="off">
<plug>SC\ GTR\/audio_in\ 1</plug>
<plug>SC\ GTR\/audio_in\ 2</plug>
</socket>
<socket client="ardour" type="jack-audio" name="sc2chan" exclusive="off">
<plug>SUPERCOLLIDER\/audio_in\ 1</plug>
<plug>SUPERCOLLIDER\/audio_in\ 2</plug>
</socket>
<socket client="ardour" type="jack-audio" name="ardour sc4ch" exclusive="off">
<plug>SC\ 4CHAN\/audio_in\ 1</plug>
<plug>SC\ 4CHAN\/audio_in\ 2</plug>
<plug>SC\ 4CHAN\/audio_in\ 3</plug>
<plug>SC\ 4CHAN\/audio_in\ 4</plug>
</socket>
<socket client="ardour" type="jack-audio" name="ardour master in" exclusive="off">
<plug>Master\/audio_in\ 1</plug>
<plug>Master\/audio_in\ 2</plug>
</socket>
<socket client="system" type="jack-audio" name="system 1" exclusive="off">
<plug>playback_1</plug>
<plug>playback_2</plug>
<plug>playback_3</plug>
<plug>playback_4</plug>
</socket>
</input-sockets>
<slots/>
<cables>
<cable type="jack-audio" output="system 1" input="gx_head_amp"/>
<cable type="jack-audio" output="ardour master out" input="system 1"/>
<cable type="jack-audio" output="gx_head_amp 1" input="gx_head_fx 1"/>
<cable type="jack-audio" output="gx_head_fx" input="SC 4CH"/>
<cable type="jack-audio" output="gx_head_fx" input="ardour gtrx input"/>
<cable type="jack-audio" output="SC2CH" input="ardour SC2CH IN"/>
<cable type="jack-audio" output="SC 3-4" input="ardour SC GTR"/>
<cable type="jack-audio" output="SuperCollider 4ch" input="ardour sc4ch"/>
<cable type="jack-audio" output="ardour sc stereo" input="ardour master in"/>
<cable type="jack-audio" output="ardour sc gtr" input="ardour master in"/>
</cables>
</patchbay>

View File

@ -1,5 +1,7 @@
# /usr/bin/jackd -u -dalsa -dhw:USB -r44100 -p512 -n3 -S
killall -9 jackd
/usr/bin/jackd -u -dalsa -r44100 -p256 -n3 -D -Chw:U192k -Phw:U192k
/usr/bin/jackd -aa -u -dalsa -r44100 -p512 -n3 -D -Chw:U192k -Phw:U192k