-
... Atan(3); f= EaseInAtan(30); a.collect{|t| [e.(t), f.(t)]}.flop.plot //even this works... e.(a).plot //--use mouse to test s.boot c= {SinOsc.ar(EaseInOutQuint.ar(LFSaw.ar(MouseX.kr(1, 9, 1)).range(0, 1)).linexp(0, 1, 400, 800), 0, 0.1)}.play ...
-
... p(1); newScaleFreqs =(scaleKeys + (VGScale.refOct * 10)).collect {|key| VGScale.workScales[laras][key.asSymbol]}; newScaleIntervals = ((newScaleFreqs / refKeyFreq[1]).ratiomidi * 100).round(0.001); newScaleIntervalsBS = newScaleIntervals.di ...
-
// AlgaLib: SuperCollider implementation of Alga, an interpolating live coding environment. // Copyright (C) 2020-2022 Francesco Cameli. // This program is free software: you can redistribute it and/or modify // it under the terms of the GN ...
-
... onds in the future. duration - if not nil, schedules the release of an CtkNote (works in both real-time and non-real-time) addAction - a symbol (\head, \tail, \before, \after or \replace) or an addAction id (see Server-Command-Reference ) f ...
-
... // synthesize //"afterwards?".postln //may need fine tuning how long is waited, works on my machine //1/10 of realtime on my machine, faster on others I guess! //SystemClock.sched((sflength*0.1)+1.0,{ //}); limit=5000; //1000 seconds 0.01.w ...
-
// General-use synthdefs // I will keep them in a separate SynthDescLib as well as the global one Library.put(\ddwGlobal, \storeMethod, if(SynthDef.findRespondingMethodFor(\add).notNil) { \add } { \memStore } ); SynthDescLib(\ddwSynths, { S ...
-
AudioSpec : Spec { var <>numChannels; *new { arg numChannels; ^super.new.numChannels_(numChannels) } *initClass { var mono,stereo,either; either = AudioSpec(nil); mono=AudioSpec(1); stereo=AudioSpec(2); specs.addAll( [ \audio -> either, \au ...
-
SoundFileAnalysis { classvar <basicAnalysisMethods, <>verbose = false; var <analysisMethods; *initClass { this.initAnalysisMethods; } *new { ^super.new.init } init { analysisMethods = (); } add { |name, type, ugenFunc| analysisMethods.put(n ...
-
... } } /** A SETObject factory which builds SETOs according to their classID. only works for formats including classID. */ SETOmeta : JITseto { classvar <keyDict; classvar <>setoClasses; classvar <fid2oscClassIDs; *initClass { // when assignin ...
-
AudioSpec : Spec { var <>numChannels; *new { arg numChannels; ^super.new.numChannels_(numChannels) } *initClass { var mono, stereo, either; either = AudioSpec(nil); mono=AudioSpec(1); stereo=AudioSpec(2); specs.addAll( [ \audio -> either, \ ...