-
... ectionIndex]; //startTime: //search for the first point pass above threshold. //MAYBE: Use adaptative threshold method (weakest effort method) for start time detection. //Peeters, Geoffroy. “A Large Set of Audio Features for Sound Descripti ...
-
... if ( label.notNil and: (label.asSymbol != \0 ), { this.add( label, id ); },{ // maybe the label is already in the spec label = spec.findNode( id ); }); if ( osc.notNil, { osc.newExpected( id, label ); }); if ( size.notNil, { if ( type == 0 ...
-
... if({ (intervals[i].abs > ~avgInterval) or: { durs[i] > ~avgDelta } }, { true // maybe this should be false? }); }; notes = notes.separate({ |note1, note2, i| // do not start a new segment if less than minsegsize (i - lastTrueIndex < minSegS ...
-
... ip between packets // wait = 0 might not be safe in a high traffic situation // maybe okay with tcp pos = collstream.pos; while { pos < collsize } { var msg = ['/b_setn', bufnum, pos + startFrame, bundsize] ++ Array.fill(bundsize, { collstr ...
-
... roupFuncs = ( // // remain single elements, should not be needed at all // // - maybe use only to switch MPadView to its proper mode. noteOnTrig: { |dict| dict.putAll((\midiMsgType: \noteOn, \spec: \midiBut)); }, noteOnVel: { |dict| dict.pu ...
-
... rs *initClass { StartUp.add { Event.parentEvents.put(\voicerMIDI, (args: [], // maybe you want to use non-equal-temperament. write it here midiNoteToFreq: #{ |notenum| notenum.midicps }, prepNote: #{ var i; ~freq = ~freq ?? { ~note.freq }; ...
-
... : 9, string: "bye", keepNumber: false); z.changeSliderLabel(ccNum: 10, string: "maybe this is master volume", keepNumber: false); */ changeSliderLabel { | ccNum, string, keepNumber = true | var newLabel; if(keepNumber, { newLabel = "cc" ++ ...
-
... can be used to test the patterns without having a midi controller at hand. Maybe the MidiCC mapping has to be adjusted according your controller. There may be a lot of mistakes in the script, but at least it runs ;). ( s.options ...
-
... synth; var started = false; if( unit.shouldPlayOn( target ) != false ) { /* // maybe we don't need this, or only at verbose level if( unit.preparedServers.includes( target.asTarget.server ).not ) { "U:makeSynth - server % may not (yet) be ...
-
... ; id = 0; } setMsg {} setCallBack { ^nil } // by MIDI, can only set midinote // maybe later do mapped args to CCs but not today set { |args, latency| var i, j, note, vel, oldNote; if(this.isPlaying) { i = args.detectIndex(_ == \freq); if(i. ...