RenamoFest Part II: Updating Ugen plugin names, class and helpfiles for new naming conventions

nix
Owen Green 7 years ago
parent 8b231257ec
commit 205cc528a5

@ -1,4 +1,4 @@
FDCompose{
FluidBufCompose{
*process { arg server, srcBufNumA, startAtA = 0, nFramesA = -1, startChanA = 0, nChansA = -1, srcGainA = 1, dstStartAtA = 0, dstStartChanA = 0, srcBufNumB, startAtB = 0, nFramesB = -1, startChanB = 0, nChansB = -1, srcGainB = 1, dstStartAtB = 0, dstStartChanB = 0, dstBufNum;
if(srcBufNumA.isNil) {Error("Invalid Buffer").format(thisMethod.name, this.class.name).throw};

@ -1,4 +1,4 @@
FDBufferExperiments {
FluidBufExperiments {
*allocMatch{|server, srcbuf, rank=1|
var dstbuf,srcbufnum;

@ -1,4 +1,4 @@
FDHPSS{
FluidBufHPSS{
*process { arg server, src, offsetframes = 0, numframes = -1, offsetchans = 0, numchans = -1, harmbuf, percbuf, psize = 31, hsize = 17, winsize = 4096, hopsize = 1024, fftsize = -1;
server = server ? Server.default;

@ -1,4 +1,4 @@
FDNMF {
FluidBufNMF {
*process { arg server, srcBufNum, startAt = 0, nFrames = -1, startChan = 0, nChans = -1, dstBufNum, dictBufNum, dictFlag = 0, actBufNum, actFlag = 0, rank = 1, iterations = 100, sortFlag = 0, windowSize = 1024, hopSize = 256, fftSize = -1, windowType = 0, randomSeed = -1;
if(srcBufNum.isNil) { Error("Invalid buffer").format(thisMethod.name, this.class.name).throw};

@ -1,4 +1,4 @@
FDSines{
FluidBufSines{
*process { arg server, src, offsetframes = 0, numframes = -1, offsetchans = 0, numchans = -1, sinebuf, resbuf, bandwidth = 76, threshold = 0.7, mintracklen = 15, magweight = 0.1, freqweight = 1, winsize = 4096, hopsize = 1024, fftsize = -1;
server = server ? Server.default;

@ -1,4 +1,4 @@
FDTransients {
FluidBufTransients {
*process { arg server, srcBufNum, startAt = 0, nFrames = -1, startChan = 0, nChans = -1, transBufNum, resBufNum, order = 200, blockSize = 2048, padding = 1024, skew = 0, threshFwd = 3, threshBack = 1.1, windowSize = 14, debounce = 25;
if(srcBufNum.isNil) { Error("Invalid buffer").format(thisMethod.name, this.class.name).throw};

@ -1,4 +1,4 @@
FDGain : UGen {
FluidGain : UGen {
*ar { arg in = 0, frameSize=64, gain=1.0;
^this.multiNew('audio', in.asAudioRateInput(this),frameSize, gain)
}

@ -1,4 +1,4 @@
FDRTHPSS : MultiOutUGen {
FluidHPSS : MultiOutUGen {
*ar { arg in = 0, percussiveFilterSize = 17, harmonicFilterSize = 17, percussiveThreshold = 50, harmonicThreshold = 50, windowSize= 1024, hopSize= 256, fftSize= -1;
^this.multiNew('audio', in.asAudioRateInput(this),harmonicFilterSize,percussiveFilterSize,percussiveThreshold,harmonicThreshold,windowSize, hopSize, fftSize)
}

@ -1,4 +1,4 @@
FDSTFTPass : UGen {
FluidSTFTPass : UGen {
*ar { arg in = 0, windowSize= 1024, hopSize= 256, fftSize= -1;
^this.multiNew('audio', in.asAudioRateInput(this),windowSize, hopSize, fftSize)
}

@ -1,4 +1,4 @@
FDRTSines : MultiOutUGen {
FluidSines : MultiOutUGen {
*ar { arg in = 0, bandwidth = 76, threshold = 0.7, minTrackLen = 15, magnitudeWeight = 0.1, frequencyWeight = 1.0, windowSize= 2048, hopSize= 512, fftSize= 8192;
^this.multiNew('audio', in.asAudioRateInput(this), bandwidth, threshold, minTrackLen, magnitudeWeight,frequencyWeight ,windowSize, hopSize, fftSize)
}

@ -8,7 +8,7 @@ s.reboot
FDHPSS.process(s,b,0,1-1,0,-1,h,p,31,17)
FluidBufHPSS.process(s,b,0,1-1,0,-1,h,p,31,17)
p.play;
h.play;

@ -1,4 +1,4 @@
TITLE:: FDNMF
TITLE:: FluidBufNMF
summary:: Non-Negative Matrix Factorisation on Spectral Frames
categories:: Libraries>FluidDecomposition
related:: Overviews/FluCoMa

@ -9,7 +9,7 @@ s.reboot
Buffer.new(s)
FDSines.process(s,b,0,1-1,0,-1,h,n,15,0.2)
FluidBufSines.process(s,b,0,1-1,0,-1,h,n,15,0.2)
n.play;
h.play;

@ -1,4 +1,4 @@
TITLE:: FDTransients
TITLE:: FluidBufTransients
summary:: A Non-Real-Time Transient Extractor
categories:: Libraries>FluidDecomposition
related:: Overviews/FluCoMa

@ -1,4 +1,4 @@
TITLE:: FDGain
TITLE:: FluidGain
summary:: Real-Time Buffered Gain Changer
categories:: UGens>Algebraic
related::Classes/UnaryOpFunction
@ -26,13 +26,13 @@ returns::
EXAMPLES::
Summing with the inverse (gain of -1) with a delay of the latency gives us CPU-expensive silence.
code::
{ var source = PinkNoise.ar(0.1); DelayN.ar(source,delaytime:1000/s.sampleRate) + FDGain.ar(source,1000,-1); }.play
{ var source = PinkNoise.ar(0.1); DelayN.ar(source,delaytime:1000/s.sampleRate) + FluidGain.ar(source,1000,-1); }.play
::
Varying the gain at audio rate.
code::
{ FDGain.ar(PinkNoise.ar(0.1), gain:LFTri.ar(1)) }.play
{ FluidGain.ar(PinkNoise.ar(0.1), gain:LFTri.ar(1)) }.play
::
Varying the gain at comtrol rate, in beautiful stereo.
code::
{ FDGain.ar(SinOsc.ar([222,333],mul:0.1), gain:LFTri.kr([0.5,0.7])) }.play
{ FluidGain.ar(SinOsc.ar([222,333],mul:0.1), gain:LFTri.kr([0.5,0.7])) }.play
::

@ -1,3 +1,3 @@
s.reboot
b = Buffer.cueSoundFile(s,"/Users/owen/Desktop/denoise_stn/sources/01-mix.wav",0,1)
x = {FDRTHPSS.ar(DiskIn.ar(1,b.bufnum,loop:1))}.play
x = {FluidHPSS.ar(DiskIn.ar(1,b.bufnum,loop:1))}.play

@ -1,4 +1,4 @@
TITLE:: FDSTFTPass
TITLE:: FluidBufSTFTPass
summary:: Real-Time FFT/IFFT return trip.
categories:: UGens>Algebraic
related:: Classes/UnaryOpFunction
@ -32,17 +32,17 @@ EXAMPLES::
Summing with the inverse (gain of -1) with a delay of the latency gives us CPU-expensive silence.
code::
{ var source = PinkNoise.ar(0.1); DelayN.ar(source, delaytime:1024/s.sampleRate, mul: -1) + FDSTFTPass.ar(source, 1024, 256, 1024); }.play
{ var source = PinkNoise.ar(0.1); DelayN.ar(source, delaytime:1024/s.sampleRate, mul: -1) + FluidBufSTFTPass.ar(source, 1024, 256, 1024); }.play
::
Larger, oversampled, FFT
code::
{ FDSTFTPass.ar(PinkNoise.ar(0.1), 2048, 128, 8192) }.play
{ FluidBufSTFTPass.ar(PinkNoise.ar(0.1), 2048, 128, 8192) }.play
::
Stereo Input Tests.
code::
{ FDSTFTPass.ar([SinOsc.ar(222,mul: 0.1), PinkNoise.ar(Decay.ar(Impulse.ar(0.666,mul: 0.2), 0.5))], fftSize:1024)}.play
{ FluidBufSTFTPass.ar([SinOsc.ar(222,mul: 0.1), PinkNoise.ar(Decay.ar(Impulse.ar(0.666,mul: 0.2), 0.5))], fftSize:1024)}.play
::
Stereo Parameter Tests.
code::
{ FDSTFTPass.ar(SinOsc.ar(222,mul: 0.1), [1024,8192],256,8192)}.play
{ FluidBufSTFTPass.ar(SinOsc.ar(222,mul: 0.1), [1024,8192],256,8192)}.play
::

@ -1,4 +1,4 @@
s.reboot;
b = Buffer.cueSoundFile(s,"/Users/owen/Box Sync/FluCoMa/Test files/SMS test files/Test Files/PAs 24 bit files/maxou-FR-a-k.wav.wav",0,1);
b.query
x = {FDRTSines.ar(DiskIn.ar(1,b.bufnum))}.play;
x = {FluidSines.ar(DiskIn.ar(1,b.bufnum))}.play;

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

@ -92,7 +92,7 @@ private:
PluginLoad(BoringMixer2UGens) {
ft = inTable;
registerUnit<FDGain>(ft, "FDGain");
registerUnit<FDGain>(ft, "FluidGain");
}

@ -116,7 +116,7 @@ namespace hpss{
PluginLoad(FluidSTFTUGen) {
ft = inTable;
registerUnit<fluid::hpss::FDRTHPSS>(ft, "FDRTHPSS");
registerUnit<fluid::hpss::FDRTHPSS>(ft, "FluidHPSS");
}

@ -85,7 +85,7 @@ private:
PluginLoad(FluidSTFTUGen) {
ft = inTable;
registerUnit<fluid::stft::FDSTFTPass>(ft, "FDSTFTPass");
registerUnit<fluid::stft::FDSTFTPass>(ft, "FluidSTFTPass");
}

@ -126,9 +126,6 @@ namespace stn{
PluginLoad(FluidSTFTUGen) {
ft = inTable;
registerUnit<fluid::stn::FDRTSines>(ft, "FDRTSines");
registerUnit<fluid::stn::FDRTSines>(ft, "FluidSines");
}

Loading…
Cancel
Save