239 Commits (059cecdd1c8bc895ae51555192d7836e0d7145b6)

Author SHA1 Message Date
weefuzzy 759066b574 Wrapper: workaround scsynth 32 char cmd length limit with extra dispatch layer
also avoids need for formerly truncated plugin names in some cases
4 years ago
Owen Green ddb039e6c3
Merge pull request #95 from weefuzzy/fix/scaler-invert
Fix/scaler invert
4 years ago
weefuzzy 009536de7c RealTime wrapper: play it safer with output channel count
This really relies on the SC class being correct, but then everything 
ultimately does...
4 years ago
weefuzzy 11d07c4337 Wrapper: Work around 32 char limit for plugin commands
If too long, remove vowels. 
Sorry. 
Better ideas welcome
4 years ago
weefuzzy 4d18d4d103 Wrapper: Make MSVC happy about constexpr lambda capture 4 years ago
Owen Green 167ea1cc9e
Enhance/max params (#93)
* CMake: Centralise C++ version and set to 17

* Wrapper: handle new LongRuntimeMax param type

* POC for new LongRuntimeMax param with MFCC numCoeffs
4 years ago
weefuzzy 82cd8769e7 Wrapper: integer sign warnings 4 years ago
Owen Green 11bb9015e7
Enhance/choices param (#78)
* NRTWrapper: Add choices param (long <-> bitset)

* Update `FluidBufStats` with `select` control

* BufStats class: Fix bitfield for `select` and warn on duplicate items

* Update SpectralShape classes for new param
4 years ago
Owen Green 4e5f0e4070
Enhance/optional message args (#77)
* optional args: sc wrapper updates

* optional args: KDTree try out
4 years ago
weefuzzy 65a88ef92d deal with some warnings 4 years ago
Owen Green 7e26fcbce1
NRT and Data objects ensure params can be set in NRT queue immediately after creation (#71)
fixes #70
4 years ago
weefuzzy e5c75cf3bb
Introduce stricter ordering for access to mDone atomic in NRT wrapper (#30)
This works perfectly
4 years ago
Owen Green 2f39bb1140 Merge branch 'feature/named+rolling' into fix/mlp-issues+named 4 years ago
Owen Green 0da90f635d Fix RT wrapper when no streaming inputs (NMFMorph) 4 years ago
Owen Green 33c9253b06 Fix OSC packet construction for tuples 4 years ago
Owen Green 56bd523bcd Add param referesh to NRT wrapper; update MLP read in sclang 4 years ago
Owen Green 120dd3e722 Enable control inputs, change control output layout 4 years ago
tremblap 5237cc5a3c
Merge pull request #20 from weefuzzy/better-concurrency
Better concurrency
4 years ago
Owen Green 976e1e664e SCBufferAdaptor: Strengthen validity and existence concepts 4 years ago
Owen Green 52bb79a581 Use a thread_local to manage rt cache lifetime.
Rollback to immutable allocator
5 years ago
Owen Green ac163c4a11 Fix RT cache to avoid shutdown crashes 5 years ago
Owen Green 714c206296 Remove error messages that aren't errors 5 years ago
Owen Green 6b4f5f67ae Add fluid::SCWorldAllocator 5 years ago
Owen Green 08be2a629f Use SC RT memory pool for RT cache mirror 5 years ago
Owen Green 5892a60391 Better safety and better contention.
Fixes sutble race condition in async callback (lock NRT on line 620). 
Uses mirror cache of weak_ptr for RT thread
5 years ago
Owen Green dcdc7f8f31 Better safety, worse contention
Hold on to locks more strictly. Improves safety under load, but is 
slower.
5 years ago
Owen Green 5956e97925 Guard against parameter updates from audio thread in Model Objects whilst processing 5 years ago
Owen Green a2847d96db Add SpinLock to guard NRT cache 5 years ago
Gerard 940b505936 FluidDataSetWr: remove unused header 5 years ago
Pierre Alexandre Tremblay a5e9462bba typo correction 5 years ago
Owen Green e129caafce Merged in refactor/macro-purge (pull request #13)
Macro purge

* Expand Macros, Fix Repetition: DataSetWr

* Add padding param to BufLoudness

* Merge branch 'fix/loudness-padding' into refactor/macro-purge

* Merge branch 'clients/inter_client_comms' into refactor/macro-purge

* Merge branch 'refactor/macro-purge' of https://bitbucket.org/flucoma/flucoma-supercollider into refactor/macro-purge

* Merge branch 'clients/inter_client_comms' into refactor/macro-purge

Approved-by: gerard
5 years ago
Owen Green 3fdeaeb833 Fix latency u_cmd by defining after the server knows the Unit exists 5 years ago
Owen Green 45a7fa8be6 Fix accidental param overwrite in processNew scenarios 5 years ago
Owen Green 1e4030999a Fix FluidDataSetWr: stringstr doesn't reset as hoped, use std::string instead 5 years ago
Owen Green fbd6dd7154 Remove some inefficiencies from Wrapper for triggered objects 5 years ago
Owen Green 57fd2a54df Update FluidDataSetWr to use SetPoint, remove auto index 5 years ago
Owen Green b6980903d9 Run parameter constraints first before NRT client is created.
Resolves #80
5 years ago
Owen Green 4a4a2350f6 Merge branch 'fix/UGensAsClasses' into clients/inter_client_comms 5 years ago
Owen Green bdcf5b0474 Merge branch 'clients/inter_client_comms' into fix/windows_linux_builds 5 years ago
Owen Green 3e0ee81eea Merge branch 'clients/inter_client_comms' into fix/UGensAsClasses 5 years ago
Owen Green 4da973c25b Amend server side RT query Unit name
So that it can be a legal sclang class name
5 years ago
Owen Green 901725b132 Provide slightly more context in error messages 5 years ago
Owen Green 246f9e2b1f Ensure that threaded jobs still have a completion message to send
(broken by 6065996)
5 years ago
Owen Green 1fc8b2a3da Fix various warnings from MSVC / GCC 5 years ago
Owen Green 3e31a4dcb4 Fix arcana that made MSVC / GCC sad
GCC doesn't like specializations of inner classes declared inline, or 
using a shorthand type alias for static template member variable 
initialisation. 

MSVC doesn't like using a private type alias
5 years ago
Owen Green 8b37813b43 Fix windows build errors by sandboxing new SendReply dependency
Deals with macro name clashes, and also better enacapsulates unfortunate 
dep on SC internals, as well as improving build times
5 years ago
Owen Green 0fc7272c38 Remove unused index packs
MSVC doesn't like them, and they're not longer needed
5 years ago
Owen Green 60659962a2 Fix RT memory leak with completion messages found by Ted Moore
A paradigmatic example of why raw pointers are hard: ASyncCmd takes 
ownership of the cmd pointer, but *copies* the completion message (so we 
still need to free the latter)
5 years ago
Owen Green 1e094ae062 Fix FluidKDTree kr crash
Don't persist in trying to read ID as srting
5 years ago
Owen Green 5cbe109c93 Add /flush to force server cache reset with internal Server 5 years ago