FluidTransientSlice has now a help file skeleton, and a few cool audio tests

nix
Pierre Alexandre Tremblay 7 years ago
parent 926f7c943f
commit b0307f9192

@ -1,6 +0,0 @@
s.reboot;
b = Buffer.cueSoundFile(s,"/Users/owen/Desktop/denoise_stn/sources/01-mix.wav",0,1);
b.query
x = {FluidSliceTransients.ar(DiskIn.ar(1,b.bufnum))}.play;

@ -0,0 +1,52 @@
TITLE:: FluidTransientSlice
summary:: (put short description here)
categories:: Libraries>FluidDecomposition
related:: Guides/FluCoMa, Guides/FluidDecomposition
DESCRIPTION::
It is part of the Fluid Decomposition Toolkit of the FluCoMa project. footnote::
This was made possible thanks to the FluCoMa project (http://www.flucoma.org/) funded by the European Research Council (https://erc.europa.eu/) under the European Unions Horizon 2020 research and innovation programme (grant agreement No 725899).::
CLASSMETHODS::
METHOD:: ar
(describe method here)
ARGUMENT:: in
(describe argument here)
ARGUMENT:: order
(describe argument here)
ARGUMENT:: blocksize
(describe argument here)
ARGUMENT:: padding
(describe argument here)
ARGUMENT:: skew
(describe argument here)
ARGUMENT:: threshFwd
(describe argument here)
ARGUMENT:: threshBack
(describe argument here)
ARGUMENT:: winSize
(describe argument here)
ARGUMENT:: debounce
(describe argument here)
returns:: (describe returnvalue here)
INSTANCEMETHODS::
EXAMPLES::
code::
(some example code)
::

@ -2,8 +2,20 @@ s.reboot;
b = Buffer.read(s,"../../release-packaging/AudioFiles/Tremblay-AaS-SynthTwoVoices-M.wav".resolveRelative);
// basic param
x = {FluidTransients.ar(PlayBuf.ar(1,b.bufnum,loop:1))}.play
// basic param (the process add a latency of (blockSize + padding - order) samples
{var sig = PlayBuf.ar(1,b.bufnum,loop:1); [FluidTransientSlice.ar(sig)*0.5, DelayN.ar(sig, 1, ((256 + 128 - 20)/ s.sampleRate))]}.play
// sexier params
x = {FluidTransients.ar(PlayBuf.ar(1,b.bufnum,loop:1))}.play //change to something sensible
{var sig = PlayBuf.ar(1,b.bufnum,loop:1); [FluidTransientSlice.ar(sig,order:80,debounce:2205)*0.5, DelayN.ar(sig, 1, ((256 + 128 - 80)/ s.sampleRate))]}.play
// more musical trans-trigged autopan
(
{
var sig, trig, syncd, pan;
sig = PlayBuf.ar(1,b.bufnum,loop:1);
trig = FluidTransientSlice.ar(sig,order:10,debounce:2205);
syncd = DelayN.ar(sig, 1, ((256 + 128 - 10)/ s.sampleRate));
pan = TRand.ar(-1,1,trig);
Pan2.ar(syncd,pan);
}.play
)
Loading…
Cancel
Save