230 Commits (2ca6e583ca0766318bc710922b83bdbfc6ec5851)

Author SHA1 Message Date
Owen Green d76f446b4f Merge branch 'nrt-threading' into features/ClientMessagesThreading 7 years ago
Owen Green d8d66db770 Hit SC Wrapper until threading works (mostly making sure it only tries to run async post-job functions once): TODO Fix up for stateful clients (not yet an issue) 7 years ago
Owen Green 53b9d7dc0f Starting to add messages to SCWrapper 7 years ago
Owen Green a160a86c76 Merge threading into ClientMessaging, re-add argument parsing from sc_msg_iter 7 years ago
Alex Harker b331456913 Merge branch 'master' into nrt-threading
# Conflicts:
#	include/FluidSCWrapper.hpp
7 years ago
Owen Green 906d281c75 change to buffer adaptor const samps 7 years ago
Owen Green d628c90433 Make it so RT classes compile as well 7 years ago
Owen Green 5dcfd66c1b Add cancellation and put placeholder example of kr usage in help file 7 years ago
Owen Green 021fc1d917 Run Unit doneAction once everything is tidied away 7 years ago
Owen Green b3895c5be6 Functional attempt at NRT threading:
* changes to NRT SC Wrapper makes it a UGen, using the RT thread for polling and delegating to SC NRT thread for launching
* changes to FluidBufNMF: Now a UGen with kr (emitting progress updates); process() wraps .kr via Function.play. Sync at end managed through use of doneAction
* TODO: cancelling, checking progress, all the other client (and then the help...)
7 years ago
Owen Green 200d4a86e4 * SCBufferAdaptor update to new interface
* FluidSCWrapper update to cope with InputBuffer parameters
7 years ago
Owen Green ab6103d984 Don't run next(1) when we register calc function, clear outputs instead (otherwise we read into arbitary memory). Resolves #25 hopefully 7 years ago
Owen Green b7093de5b2 SCWrapper: newline at end of console messages, ensures that they actually appear. 7 years ago
weefuzzy 58c1ea682a Uh, ok. Not sure why 'template' was there to start with. Fair cop MSVC 7 years ago
Owen Green abeb868a65 ssshhh 7 years ago
Alex Harker eae7223907 removed ranks from buffer adaptors 7 years ago
Owen Green fa56f06fdb Set params at client creation time to ensure that everything we expect happens in the client constructor
include/FluidSCWrapper.hpp
7 years ago
Owen Green 82cc1dc77f Set client sampling rate in time for it to be available the first time process is called
include/FluidSCWrapper.hpp
7 years ago
Owen Green d407f97f37 ssssh: deal with warnings about integers and unused parameters 7 years ago
Owen Green db960b09e2 ssssh: Surpress a lot of unused argument and integer conversion warnings
include/FluidSCWrapper.hpp
7 years ago
Owen Green 242b2bd454 include/SCBufferAdaptor.hpp Proper copy assign / constructor signature 7 years ago
Owen Green d345e8b548 Deal with fixed params, and this time don't break everything else.
TODO: deal with better with SC args vs param numbers
include/FluidSCWrapper.hpp
7 years ago
Owen Green 2c38d28df4 Revert "Deal with fixed params better"
This reverts commit 31ebbf68c3.
7 years ago
Owen Green 31ebbf68c3 Deal with fixed params better
include/FluidSCWrapper.hpp
7 years ago
Owen Green 2d60d8654c Implement sample rate in SCBufferAdaptor
include/SCBufferAdaptor.hpp
7 years ago
Owen Green 56b3338265 Set RT client sample rate
include/FluidSCWrapper.hpp
7 years ago
Alex Harker 8ef7a10fcd Simplification 7 years ago
Alex Harker c673cd1ea8 Remove unused include 7 years ago
Alex Harker a3f5f63d35 Change ParamArraySetter to ParamLiteralConvertor 7 years ago
Alex Harker 38882780ae Merge branch 'refactor-review' of https://bitbucket.org/flucoma/flucoma-supercollider into refactor-review 7 years ago
Alex Harker dcff9fc535 Use ParamArraySetter 7 years ago
Owen Green facfe26d85 Merge branch 'refactor-review' of https://bitbucket.org/flucoma/flucoma-supercollider into refactor-review 7 years ago
Owen Green 66de314839 Constraning params in `next()`
include/FluidSCWrapper.hpp
7 years ago
Alex Harker e0e2498b53 Rename getters as setters (as in other wrappers) and use std::array in the Setter 7 years ago
Alex Harker 73c6fef292 Full template on getting arguments in SC (no full specialisations) 7 years ago
Alex Harker abf3e5cb77 Rename method for constraining parameters 7 years ago
Alex Harker 01f05feb16 Move checkParameters() to the right place 7 years ago
Alex Harker 09a049f38f Temporary fix for checking parameters (now in the wrong place) 7 years ago
Alex Harker d5adb76746 Const-correctness 7 years ago
Alex Harker 0a09bd10c8 Typo 7 years ago
Alex Harker ed15215857 Merge branch 'refactor-review' of https://bitbucket.org/flucoma/flucoma-supercollider into refactor-review 7 years ago
Alex Harker 83c74e5811 Updates to SCBufferAdaptor 7 years ago
Owen Green aeb08735f5 Merge branch 'refactor-review' of https://bitbucket.org/flucoma/flucoma-supercollider into refactor-review 7 years ago
Owen Green 6d44a48d61 Use the proper type for buffer adaptor
include/FluidSCWrapper.hpp
7 years ago
Alex Harker 8534f59510 Method name change 7 years ago
Owen Green 2a22d7d0e7 Less badness for FloatPairArray
include/FluidSCWrapper.hpp
7 years ago
Owen Green 62c4b8401d Deeply ugly initialisartion for FloatPairArray type
include/FluidSCWrapper.hpp
7 years ago
Alex Harker 481dd955ba The wrapper now takes care of processing type - all objects updated to fit the new design 7 years ago
Alex Harker 02842c8aec Updates for changes in client types 7 years ago
Alex Harker f56bd42182 Initial commit for linking parameters to clients 7 years ago
Owen Green 6d19889ba5 Formatting
include/FluidSCWrapper.hpp
include/SCBufferAdaptor.hpp
7 years ago
Owen Green e6d4bacaf5 Fail more informatively and gracefully if number of arguments from language side doesn't match server object's expectations
include/FluidSCWrapper.hpp
7 years ago
Owen Green 653874b1d0 Change reply for latency u_cmd
include/FluidSCWrapper.hpp
7 years ago
Owen Green caef598168 Remove vestigual debug print because it made @tremblap sad 7 years ago
Owen Green 82c2c798c1 Deals with separation of clients and params; new FFT param type;
include/FluidSCWrapper.hpp
7 years ago
Owen Green 6529d6c813 Cosmetic changes to include/SCBufferAdaptor.hpp 7 years ago
Owen Green aaba970d0f NMFMatch working in SC
Having gone to the trouble of making the right numbers, I should use them, rather than other numbers. I should also use the outputs I've made, rather than nothing.
include/FluidSCWrapper.hpp
7 years ago
Owen Green 3260302782 Counting and arthmetic are valuble skills, I hear
include/FluidSCWrapper.hpp
7 years ago
Owen Green c23dfbe359 Yeah, maybe don't overwrite the Unit that SC loving prepared for you. That would be stupid
include/FluidSCWrapper.hpp
7 years ago
Owen Green 9ab5dc3d56 Make client factory, attempts to initialise client with constructor args from istantiation params.Add NMF wrapper
include/FluidSCWrapper.hpp
include/SCBufferAdaptor.hpp
src/FluidNMFMatch/FluidNMFMatch.cpp
7 years ago
Owen Green 5496a72a18 Updates to wrapper for HPSS freq-amp pairs parameter, improved kontrol input handling. Updated object stubs
include/FluidSCWrapper.hpp
src/FluidBufHPSS/FluidBufHPSS.cpp
src/FluidBufNoveltySlice/FluidBufNoveltySlice.cpp
src/FluidHPSS/FluidHPSS.cpp
7 years ago
Owen Green 5c7641a734 Handle buffer parameters in wrapper
include/FluidSCWrapper.hpp
7 years ago
Owen Green c61190993f Add NRT to wrapper, remove old NRT header. Seperate out buffer adaptor to own header. Small changes to existing clients
include/fdNRTBase.hpp
include/FluidSCWrapper.hpp
include/SCBufferAdaptor.hpp
release-packaging/Classes/FluidSTFTPass.sc
src/FluidBufTransients/FluidBufTransients.cpp
src/FluidGain/FluidGain.cpp
src/FluidTransients/FluidTransients.cpp
7 years ago
Alex Harker a5121a8f71 Template only on the client (untested/uncompiled) 7 years ago
Owen Green 4e95063af7 include/FluidSCWrapper.hpp: Tidy types 7 years ago
Owen Green 03e9ff1dc1 include/FluidSCWrapper.hpp: Don't update params with audio rate inputs 7 years ago
Owen Green b091e48244 Add generic SC wrapper
include/FluidSCWrapper.hpp
CMakeLists.txt
7 years ago
Owen Green 6660cb53dc All files: The great namespace purge 7 years ago
Owen Green 52bafc0184 All files: Enforce naming conventions 7 years ago
Owen Green 4b1f2a87a4 fdNRTBase: Add real-time-only buffer view (calls World_GetBuf in acquire) 7 years ago
Owen Green 004bd4f9fc fdNRTBase: Fix memory mismanagement (move data deallocation to after hand off with RT thread, in 'stage 4')
FdCompose: Add call to buffer cleanup per above
CMakeLists: Copy audio files from fluid decomp on configure
7 years ago
Owen Green 7a5cff49ec NRTCommandBase: Correct typo in SC stub generator (but should completely refactor to expect bufnums in, rather than buffer instances) 7 years ago
Owen Green 1e524d4135 fdNRTBase: Source of buffer weirdness is because I often forget how pointers work, and that PA is right more often than not. This fixes (a) plotting buffers language side after our NRT processes and (b) re-processing stuff we've allocated 7 years ago
Owen Green bac7e21c39 fdNRTBase Correct typos in code generator 7 years ago
Owen Green a6e0146acf Add BufferCompose utility
fdNRTBase: add function for autogenerating SC class shell
7 years ago
Owen Green 97f336d064 fdNRTBase.hpp: Changes due to buffer wrapper refactoring 7 years ago
Owen Green 035e1833ce fdNRTBase, fdNMF: Changes to parameter instance ownership; implement offsets in frames and channels 7 years ago
Owen Green 26d637ca98 fdNMF and fdNRTBase: Refactor for changed buffer adaptor interface and FFTSize default 7 years ago
Owen Green f4a9560e9c Add fdNRTBase: Base class for Non Real-Time SC commands 7 years ago
Owen Green 159b9c39d9 fdNRTBase: Make a header, put in include, delete old target folder 7 years ago