Owen Green
b1f42c943e
Merge commit '7188049266b11db5cf7791c6e84c2ff88f005272' into clients/inter_client_comms
...
# Conflicts:
# include/FluidSCWrapper.hpp
6 years ago
Owen Green
0d99d71246
Messages that have side effects on buffers need to make sure they do the nrt->rt buffer swap thing
6 years ago
Owen Green
ce22c56624
SC Wrapper: always send done for any flavour of cancellation
6 years ago
Owen Green
f1fba9b318
Merge branch 'threading/blocking-switch' into nrt-threading
...
# Conflicts:
# release-packaging/Classes/FluidNRTProcess.sc
6 years ago
Owen Green
e7bc8c60dc
SC Wrapper: Send a /done message (before the doneAction) to let clients complete more quickly
6 years ago
Owen Green
bfb943fb97
include/FluidSCWrapper.hpp: When cancellation happens by freeing the synth, it would still be nice to get the informational message
6 years ago
Owen Green
540d65a07b
Add option for NRT clients to execute directly in command FIFO.
6 years ago
Owen Green
3f89afac0b
SC Wrapper NRT: Ensure UGen emits 1.0 when it is done resolves #35
6 years ago
Owen Green
7b9c50ee62
SC Wrapper: ensure NRT UGen done isn't set unless job has completed sucessfully and without cancellation. resolves #34
6 years ago
Owen Green
05f7c044b0
Stop horrible race condition by ensuring that only one thread-checking aync command is ever in progress
6 years ago
Owen Green
fad43f18b2
wrapper: tidying
6 years ago
Owen Green
b0b2c7d3b3
Belated commit of threading updates for SC
6 years ago
Owen Green
b2a4f32264
SC Wrapper: Handling for heterogenous return types from messages
6 years ago
Owen Green
04a4ea890a
SC Wrapper: handling for shared client types from incoming string
6 years ago
Owen Green
74e6a25688
SC Wrapper: To deal with incoming strings (whose size we don't know in advance), we have to change how we deal with unexpected numbers of incoming parameters. Now we just warn, and use defaults in the case of a short fall.
6 years ago
Owen Green
70c8cfebda
SC Wrapper: incoming / outgoing data – deal more liberally with int / fp types (for message returns); deal with goddam strings
6 years ago
Owen Green
111d00fc4c
SC Wrapper rougue include
6 years ago
Owen Green
d70a23f745
FluidSCWrapper: Clients no longer templates; find RT/NRT info in ClientWrapper
6 years ago
Owen Green
aa2ea9c98d
FluidSCWrapper: Re-enable DoneAction processing, hopefully robustly this time
6 years ago
Owen Green
3660089bcf
FluidSCWrapper: Add missing newline to error message so it appears at the correct moment
6 years ago
Owen Green
f54fcfad9f
Deal with message return types, and fix thread-completeness logic
6 years ago
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