Commit Graph

45 Commits

Author SHA1 Message Date
kevin
805451d4d3 cwFlowTypes.h/cpp : Added var_send_to_ui().
This included the addition of ui_var_head/stub/tail and ui_callback to flow_t
and the ui_var and ui_var_link to variable_t.
2024-10-14 14:18:45 -04:00
kevin
ab9feebc7a cwFlowTypes.h/cpp:
1. Added ui_net to network_t.
2. Added ui to class_desc_t.
3. Changed name of proc_t.proc_array to procA.
4. Added var_channel_count().
2024-10-12 15:22:17 -04:00
kevin
95f790c670 cwFlow.h/cpp, cwFlowTypes.h :
1. Implemented preset_count() and preset_label().
2. Added presetA[] and presetN to flow_t.
2. Broke out initialize() from create().
3. Initialize now takes the index of a top-level preset to be applied when network is instantiated.
2024-09-20 18:15:03 -04:00
kevin
49b4a1430f cwFlow,cwFlowNet,cwFlowTypes,cwFlowProc : 'poly' processor can now handle heterogeneous arrays of networks. 2024-09-17 16:33:26 -04:00
kevin
f98dd37e49 Changed all references to 'subnet' to 'user_def_proc' or UDP. 2024-09-16 13:43:52 -04:00
kevin
3f9458afb2 cwFlowTypes.h,cwFlowProc.cpp,proc_dict.cfg : Add 'parallel' param to 'poly' proc. 2024-09-16 08:19:09 -04:00
kevin
af49ef42cb cwFlowNet.cpp,cwFlowTypes.h : Added network_t.poly_proc_idxA[] to prepare for parallel poly's 2024-09-13 15:32:25 -04:00
kevin
c55f7d34ec 1. caw program parameters are now in snake_case rather than camelCase.
2. Column headers are now printed for caw 'log' output.
3. The websocket LLL_NOTICE logs may now be turned off using the 'extraLogsFl'.
4. Changed the 'Number' processor to work with the 'feedback' example.
5. README.md updates.
2024-09-12 17:18:42 -04:00
kevin
0ee52ddb97 cwFlowTypes.h/cpp, cwFlowNet.cpp : Implemented network global blob store and retreive. 2024-07-08 16:58:33 -04:00
kevin
fb9aea2749 cwFlowTypes.h/cpp : Implemented var_set(abuf),var_set(fbuf),var_set(mbuf). 2024-07-03 14:27:50 -04:00
kevin
607447e84c cwFlow.h/cpp,cwFlowTypes.h : Split create() into two functions create() and intitialize() to allow the
audio device to be reconfigured after the sample rate and dspFrameCnt are parsed
from the program cfg.
2024-06-10 20:40:41 -04:00
kevin
fb1524ee97 cwFlowTypes.h : Added 'non_real_time_fl' field to flow_t. 2024-06-10 16:38:42 -04:00
kevin
4e3100333d cwFlowTypes.h/cpp : Added var_duplicate() and updated abuf_create()/duplicate() and fbuf_create()/duplicate() to avoid allocation when possible. 2024-06-04 08:45:05 -04:00
kevin
a4a71100cf cwObject.h,cwFlowTypes.h : Added comments. 2024-06-01 08:02:31 -04:00
kevin
d90a3c31da cwFlowTypes : Added value_print() and made extra info print optional on _value_print().
The current exec. cycle index is now printed out with all 'log' lines.
2024-05-24 16:41:42 -04:00
kevin
cfe4883f3e cwFlowNet,cwFlowType,cwFlowProc : Initial working and tested version of new preset compile and apply scheme. 2024-05-21 18:53:11 -04:00
kevin
07822a1c44 cwFlow,cwFlowNet,cwFlowTypes : Preset compile and rewrite of network_apply_preset() and network_apply_dual_preset().
Code complete but not fully tested.
2024-05-19 15:24:33 -04:00
kevin
af9d9bdc57 cwFlowTypes : Added var_disconnect() 2024-05-10 15:52:37 -04:00
kevin
e30e6f4b71 cwFlowTypes : Added 'flow_t.proj_dir'. Added proc_expand_filename().
Changed network_print() from printf() to cwLogPrint().
2024-05-09 22:03:08 -04:00
kevin
4872f9234b cweFlowTypes : Added var_mult_count(). Added flow_t.isInRuntimeFl.
Replaced identifier 'inst' with 'proc' throughout file.
2024-05-08 10:21:21 -04:00
kevin
eca42baf9f cwFlowTypes.h/cpp : implemented var_desc_create/destroy(), var_desc_attr_label_to_flag(), var_desc_flag_to_attribute(), class_desc_array().
Renamed instance_t to proc_t.
2024-05-06 15:44:53 -04:00
kevin
e86451b7a2 cwFlow,cwFlowNet,cwFlowTypes,cwFlowProc : Initial working subnet. 2024-05-05 17:31:42 -04:00
kevin
8f405e4784 cwFlowTypes.h : Fixed bug in kNumericTFl enumeration. Added kAllTFl 2024-05-03 09:16:37 -04:00
kevin
040d902c6b Initial working version of poly_merge and xfade_ctl.
cwFlowNet._connect_vars() changed to cwFlowTypes.var_connect().
cwFlowTest._set_var_value_from_cfg() to cwFlowTypes.var_set_from_preset().
var_channelize() now connects matching channels when they are available.
Added type 'numeric'.
Updated proc_template() to automatically allocate and extract inst_t.
Added a system sample rate.
2024-05-02 13:59:19 -04:00
kevin
b57693f4e4 cwFlow,cwFlowNet,cwFlowTypes,cwFlowProc : Many changes.
Added ability to set types at proc instantiation time.
Added ability to have multi-type variables which get resolved at proc. instantiation time.
Added ability to proc 'log' attribute to print selected variables as they change.
Values are now coerced to the variable type in var_set().
Added new proc's : list,add,preset.
2024-04-30 19:58:10 -04:00
kevin
bdcb26ac72 cwFlowTypes.h : Changes to account for changed dsp::types.
Added is_connected_to_source_proc(), var_is_source() and is_source_var().
2024-04-26 17:04:03 -04:00
kevin
1b649124a6 cwFlow*,cwPresetSel.cpp: Many changes to implement 'poly' networks.
cwFlowNet.h/cpp : Initial commit.
2024-04-22 16:02:40 -04:00
kevin
e49df496e6 cwFlow* : Added MIDI input and output devices to 'flow' framework. 2024-04-06 16:07:46 -04:00
kevin
14a6a9b2d1 Multi-preset configurations flags 'kPriPresetProbFl,kSecPresetProbFl,kPresetInterpFl`
can now be used to configure preset application from the
cwIoPresetSelApp UI.
2024-02-18 08:41:19 -05:00
kevin
e4df1672ff cwFlow.h,cpp,cwFlowTypes.h,cwFlowDecl.h : Iniital working implementation of flow::apply_dual_preset()
to support preset interpolation.
2024-02-08 11:17:26 -05:00
kevin
64f7d8dead cwFlowTypes.h : Added comments 2023-01-07 09:27:36 -05:00
kevin
b9e01aa288 Introduced fd_real_t to allow fbuf_t internal data vectors to be type double. 2023-01-05 07:24:07 -05:00
kevin
cbaff98964 Allow frequency domain transforms to have a variable window sample count.
Audio file in processor now has a 'seekSecs' and 'onOffFl' parameter.
Audio mixer now works as a stereo mixer.
PV Analysis proc now can have variable window length.
2022-12-27 18:09:31 -05:00
kevin
d034b87f51 Updates in preparation for variable length FT windows. 2022-12-05 17:19:58 -05:00
kevin
df3a948608 cwFlowType.h/cpp : Convert fbuf_t binN and hopSmpN_V to vectors. 2022-11-11 13:51:06 -05:00
kevin
79022916fe cwFlow,cwFlowProc,cwFlowTypes: Changes to support proc's taking a variable count of numbered inputs. 2022-11-11 13:09:07 -05:00
kevin
1e8f787fee cwFlowType.h : Calls the generic value setter proc.value() cwFlowType._var_set_template<>
now respect the return value of the proc instance and do not update
the value if the proc instance returns a error code.
2022-01-22 09:49:45 -05:00
kevin
33e1945ab4 cwFlow,cwFlowTypes : Changes to fix problems with communicating between connected variables.
Added _set_var_template(), _var_setter()
2021-12-29 21:52:46 -05:00
kevin
ff43a6a9ca cwFlowTypes.h : Fixed bug in var_register_and_set(). 2021-12-27 20:23:38 -05:00
kevin
ef4c937c6a cwFlowTypes.h : Added val_get(). 2021-12-25 22:31:26 -05:00
kevin
29df8752bd cwFlow.h/cpp, cwFlowTypes.h : Added flow::appy_preset(). 2021-12-19 12:10:35 -05:00
kevin
071cdb26dc cwFlow,cwIoFlow : Update comments and formatting. No functional changes. 2021-12-12 16:41:57 -05:00
kevin
9e7ab2f367 cwFlowTypes.h/cpp : Added external_device_t. 2021-12-11 15:17:11 -05:00
kevin
b8dea27343 Many updates and changes to cwFlow* and added Compressor processor. 2021-08-22 22:41:33 -04:00
kevin
4dac2f5d1b cwFlow.h/cpp,cwFlowProc.h/cpp,cwFlowTypes.h/cpp : Initial commit. 2021-08-15 16:07:12 -04:00