Commit Graph

39 Commits

Author SHA1 Message Date
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
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
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
c1231d48ef cwFlowTypes.cpp : abuf_create() now indicates an error when the channel count or frame count arg's are invalid. 2024-07-11 11:03:26 -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
41b4d8756c cwFlowTypes.cpp : Set the 'any-channel' variable 'vid' to the value of one the channelized variables. 2024-06-09 16:21:40 -04:00
kevin
71859d0426 cwFlowTypes.cpp : var_register() now automatically creates the kAnyChIdx variable if it does not already exist. 2024-06-08 17:00:53 -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
8dde88f6fd Merge branch 'poly' of gitea.larke.org:kevin/libcw into poly
# Conflicts:
#	cwFlow.cpp
#	cwIoPresetSelApp.cpp
#	cwLex.cpp
#	cwLex.h
#	cwPresetSel.cpp
#	html/preset_sel/ui.cfg
2024-05-29 14:06:54 -04:00
kevin
91fad53d33 Added "#include cwTest.h" dependency to most *.cpp files. 2024-05-29 12:36:57 -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
6fff7eb3b7 cwFlowProc.cpp,cwFlowTypes.cpp : Added #include "cwFlowDecl.h" 2024-01-13 10:18:21 -05:00
kevin
5b3299dea3 cwFlowTypes.cpp : fbuf_destroy() now releases magV,phsv, and hzV. 2023-03-17 17:44:29 -04: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
9d704cf77a cwFlowCross.cpp,cwFlowTypes.cpp, cwSvg.cpp : Fix some benign uninitialized values. 2022-12-22 15:25:54 -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
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