-
... in / fade out by a tiny amount to achieve this). Consider adjusting the volume/loudness too, for example normalising to -1.0db - but this is very subjective and will depend on the nature of the samples and the music they're used with. For ...
-
... * mul).map + add} ], [ 'loud', {arg in=1, mul=1, add=0, lag=0; var sig, chain, loudness; sig = SoundIn.ar( (in-1).max(0) ); chain = FFT(LocalBuf(1024), sig); loudness = Loudness.kr(chain).min(64).max(0).lag(lag); (loudness.linlin(0,64,-1,1 ...
-
// BinaryOpUGen('==', a, b) compares two signals. // While the two signals are not at same value, // output is zero. When they happen to be the same, // output is 1. ( { var a = DC.ar(0.7); var b = SinOsc.ar(1).round(0.1); x = BinaryOpUGen( ...
-
//This file is part of The BBCut Library. Copyright (C) 2001 Nick M.Collins distributed under the terms of the GNU General Public License full notice in file BBCutLibrary.help //originals N.M.Collins 12/8/03 revised 8/05/05 //there may be p ...
-
LoudnessModel { classvar data, phons, freqs, logfreqs; *initClass { data = [ [ 76.6, 83.1, 89.3, 94.6, 99.5, 104.3, 108.9, 113.5, 118, 122.5, 127.1 ], [ 67.3, 75.7, 82.9, 88.8, 94.1, 99.1, 104.1, 108.9, 113.7, 118.5, 123.3 ], [ 58.4, 68.6, ...
-
... ``Per-split``` settings,\n" "turn ```MIDI MODE``` to ```ChPerRow```,\n" "and ```LOUDNESS/Z``` to ```CHAN PRES```.", longName: "LinnStrument" ), elementsDesc: ( elements: [ ( key: \vol, shared: (midiNum: 7, midiMsgType: \cc, 'spec': 'midiCC' ...
-
/* FitzHugh-Nagumo model of firing nerve cells: e.g. 8 nerve cells are connected in a ring fashion, and each one plays its spikes into the next cell. Audio input and pink noise can also influence into the cells. // to load from outside NTMI ...
-
//sound+scope example - performing notch and bandpass filtering with scsynth and play out in stereo //note: this is more like a template showing how to get and use the bci data in scsynth ( ~openbci= CytonSerial("/dev/tty.usbserial-DM00DRM0 ...
-
... ice proxy + registry migration (Task 1). // Run headless: sclang Testcode/tests/loudness_tests.scd // Prints TESTS_PASSED or TESTS_FAILED <n> and exits with matching status code. ( var failures = 0; var assertClose = {|got, expected, tolera ...
-
/* This is a synthDef that's inspired by (and tries to replicate) the Decimator quark. The decimator quark allows you to change the sample rate and bit depth of a signal, independently of the sample rate and bit depth supercollider is curre ...