From e7cf953891487d194d7d740702b402ac8521625b Mon Sep 17 00:00:00 2001 From: jaseknighter <52048666+jaseknighter@users.noreply.github.com> Date: Sat, 24 Dec 2022 07:49:21 -0800 Subject: [PATCH 1/2] ittybitty typo fix in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1a98034..878978b 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ the default mappings, along with the controls available on the grid, are designe - **amp [a/b/c]**: the amplitude or volume of the three sine waves in the synth voice - by default, the amplitutes are: + by default, the amplitudes are: | a | b | c | | - | - | - | From fde2885696ff85df5c688aba462d25548510f2c1 Mon Sep 17 00:00:00 2001 From: jaseknighter <52048666+jaseknighter@users.noreply.github.com> Date: Sat, 28 Jan 2023 09:26:21 -0800 Subject: [PATCH 2/2] sg bergen updates reduce the number of engine voices from 16>4 play notes sent via midi play notes sent via osc add the nb lib --- lib/Engine_Orgn.sc | 2 +- lib/midi.lua | 48 +++++++++++++++++++++++++++++++- lib/orgn.lua | 9 +++++- lib/ui.lua | 69 +++++++++++++++++++++++++++------------------- orgn.lua | 17 +++++++++++- 5 files changed, 112 insertions(+), 33 deletions(-) mode change 100644 => 100755 lib/Engine_Orgn.sc mode change 100644 => 100755 lib/midi.lua mode change 100644 => 100755 lib/orgn.lua mode change 100644 => 100755 lib/ui.lua mode change 100644 => 100755 orgn.lua diff --git a/lib/Engine_Orgn.sc b/lib/Engine_Orgn.sc old mode 100644 new mode 100755 index c1fa3c3..7906cb5 --- a/lib/Engine_Orgn.sc +++ b/lib/Engine_Orgn.sc @@ -7,7 +7,7 @@ Engine_Orgn : CroneEngine { var = 16) then - _patrec{ - x = wide and 16 or { 1, 2 }, y = wide and { 4, 7 + lr } or 2, - pattern = pattern, varibright = varibright, - } - end - end end diff --git a/orgn.lua b/orgn.lua old mode 100644 new mode 100755 index 60ba4d5..8db744c --- a/orgn.lua +++ b/orgn.lua @@ -43,6 +43,7 @@ Key, Enc = include 'lib/nest/norns' Text = include 'lib/nest/text' Grid = include 'lib/nest/grid' + multipattern = include 'lib/nest/util/pattern-tools/multipattern' of = include 'lib/nest/util/of' to = include 'lib/nest/util/to' @@ -59,6 +60,9 @@ Orgn = include 'orgn/lib/ui' --nest v2 UI components (norns scr map = include 'orgn/lib/params' --create script params m = include 'orgn/lib/midi' --midi keyboard input +--nb lib or orgn +nb = include 'orgn/lib/nb/lib/nb' + engine.name = "Orgn" --set up global patterns @@ -94,12 +98,23 @@ nest.connect_screen(_app.norns, 24) --init/cleanup function init() + print("orgn init") orgn.init() params:read() params:set('demo start/stop', 0) + + nb:init() + params:add_separator("externals") + -- nb:add_param("voice_t"..t, "OUTPUT") + nb:add_param("nb_voice1", "OUTPUT1") + nb:add_param("nb_voice2", "OUTPUT2") + params:add_separator("VOICE CONTROLS") + nb:add_player_params() + + params:bang() -end +end function cleanup() params:write() end