Add real time sines
parent
cd26246a04
commit
92de975928
@ -0,0 +1,14 @@
|
|||||||
|
FDRTSines : 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)
|
||||||
|
}
|
||||||
|
init { arg ... theInputs;
|
||||||
|
inputs = theInputs;
|
||||||
|
channels = [
|
||||||
|
OutputProxy(rate, this, 0),
|
||||||
|
OutputProxy(rate, this, 1)
|
||||||
|
];
|
||||||
|
^channels
|
||||||
|
}
|
||||||
|
checkInputs { ^this.checkNInputs(1) }
|
||||||
|
}
|
||||||
@ -0,0 +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;
|
||||||
@ -0,0 +1,20 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.3)
|
||||||
|
get_filename_component(PLUGIN ${CMAKE_CURRENT_LIST_DIR} NAME_WE)
|
||||||
|
message("Configuring ${PLUGIN}")
|
||||||
|
set(FILENAME ${PLUGIN}.cpp)
|
||||||
|
|
||||||
|
add_library(
|
||||||
|
${PLUGIN}
|
||||||
|
MODULE
|
||||||
|
${FILENAME}
|
||||||
|
)
|
||||||
|
|
||||||
|
target_include_directories(
|
||||||
|
${PLUGIN} PRIVATE ${CMAKE_CURRENT_LIST_DIR}/../../include
|
||||||
|
)
|
||||||
|
|
||||||
|
target_link_libraries(
|
||||||
|
${PLUGIN} PRIVATE FLUID_DECOMPOSITION
|
||||||
|
)
|
||||||
|
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/../../scripts/target_post.cmake)
|
||||||
Loading…
Reference in New Issue