From: Eugene Petkevich Date: Mon, 15 Aug 2022 15:17:45 +0000 (+0300) Subject: small updates X-Git-Url: https://git.zuelum.org/?a=commitdiff_plain;h=14b8a136c1881ec9d302339052cd6f12286e9597;p=scprojects.git small updates --- diff --git a/extensions/classes/midimix.sc b/extensions/classes/midimix.sc index 1d2d01b..d910b74 100644 --- a/extensions/classes/midimix.sc +++ b/extensions/classes/midimix.sc @@ -98,7 +98,7 @@ MidiMix101 : MidiHandler { ]; } - *new {|name='DJ-Tech MIX-101', midiNames=#["Mix-101", ["Mix-101 MIDI 1", "Mix-101 MIDI 1"]], reveal=true| + *new {|name='DJ-Tech MIX-101', midiNames=#["Mix-101", ["Mix-101 MIDI 1", "Mix-101"]], reveal=true| ^super.newCopyArgs(name, midiNames, reveal).midiInit.controlInit; } diff --git a/startup.scd b/startup.scd index 9a77442..a701012 100644 --- a/startup.scd +++ b/startup.scd @@ -1,5 +1,7 @@ // ==== Server setup //s.options.outDevice = "MA WFRIENDZ"; +//s.options.outDevice = "MacBook Air Speakers"; +//s.options.outDevice = "External Headphones"; s.options.maxNodes = 128 * 1024; s.options.maxSynthDefs = 32 * 1024; s.options.memSize = 1024 * 1024; diff --git "a/\320\245\321\215\320\267\320\270\321\204\321\203/test.scd" "b/\320\245\321\215\320\267\320\270\321\204\321\203/test.scd" index 15bad46..c39cec3 100644 --- "a/\320\245\321\215\320\267\320\270\321\204\321\203/test.scd" +++ "b/\320\245\321\215\320\267\320\270\321\204\321\203/test.scd" @@ -164,16 +164,26 @@ s.waitForBoot{ ~kedi = MidiRemote25SL(); [ 0, 2, 8, 10, 14, 18, 20 ]/2 [ 0.0, 2.0, 4.0, 5.0, 7.0, 8.0, 11.0 ].do{|e, i| }; + +~geshude = Scale([0, 2, 4, 5, 7, 9, 10], 12, tuning: Tuning.et12); +~integral = Scale([0, 2, 3, 7, 8, 10], 12, tuning: Tuning.et12); + +todi: Scale([ 0, 1, 3, 6, 7, 8, 11 ], 12, Tuning.et12) + ( ~keys = KeySynth(~kedi, \dyti, 1, true, nil, 0.2, nil, false); -~keys.amp = 1.0; -~keys.synthName = \sidrub; +~keys.amp = 0.5; +~keys.synthName = \dyti; ~keys.onlyWhite = true; -~keys.scale = Scale([0, 2, 4, 5, 7, 10, 12], 13, tuning: ~tun); +~keys.scale = Scale.todi; ~keys.params[\modAmp] = 0.0; ~kedi.press_{|v| var val = v * 0.02; ~keys.group.set(\modAmp, val); ~keys.params[\modAmp] = val; }; -) \ No newline at end of file +) + +[ D, E, F, G, A, A#, C# ] + +Scale.nahawand \ No newline at end of file