-
... $1, { a.size.do{ |i| f.(i, 512.rand) } }, // random waveform $2, { Array.interpolation(1024, 0, 512).do{ |val, i| f.(i, val) } }, // linear ramp $3, { Array.fill(1024, { |i| sin(i/1024*2pi) * 256 + 256 }).do{ |val, i| f.(i, val) } ...
-
... 00, width, height)).front; img= Image.color(width, fft.fftSize2+1, Color.black).interpolation_(\fast); win.drawFunc= { channelData= fft.fft(channelData); if(~smoothingFilter.notNil, { channelData= ~smoothingFilter.filterLog(channelData.max( ...
-
IndexInBetween IndexInBetween.ar(bufnum, in, mul, add) IndexInBetween.kr(bufnum, in, mul, add) Finds the (lowest) point in the Buffer at which the input signal lies in-between the two values, and returns the index. The fractional part of th ...
-
// methods for estimating number of events in a pattern // most base patterns are infinite + Pattern { estimateLength { ^inf } } + Punop { estimateLength { ^a.estimateLength } } + Pbinop { estimateLength { ^if(adverb == \x) { a.estimateLeng ...
-
... le of data display. Available modes: \linear connecting data points with linear interpolation \points draw data points only \plines combination of lines and points \levels horizontal lines \steps connecting data points with step interpolati ...
-
// 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 ...
-
... e the audio output. see also: OffsetOut // example: demonstrate cubic subsample interpolation Server .default = s = Server .internal; // switch servers for scope // impulse train that can be moved between samples ( SynthDef ( \Help_Subsampl ...
-
StereoConvolution2L stereo real-time convolver with linear interpolation add StereoConvolution2L.ar(in, kernelL, kernelR, trigger, framesize, crossfade, mul, add) Strict convolution with fixed kernel which can be updated using a trigger sig ...
-
... value that is a valid Env curve: \sine, \welch, \exponential, \step, or a float Interpolation curves are designed to behave similarly to their Env counterparts, but are not exact matches in most cases. x = Interpl.new( [0,40,5], [5,72,\welc ...
-
... nimate them over time. // For now two types of animation are supported: linear interpolation and fixed value. // To indicate linear interpolation, use curly brackets {}. E.g. here we let the tempo gradually increase from 80 bpm to 160 bpm ...