Commit Graph

856 Commits

Author SHA1 Message Date
kevin
6d8e154354 cwCommonImpl.h : Added cwRuntimeCheck() 2024-05-02 13:59:55 -04:00
kevin
8566d91d05 cwText.h : Updated comments. 2024-05-02 13:59:33 -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
4619fc43a1 cwMath.cpp : Fixed isPowerOfTwo() to recognize 1 as a power of 2. 2024-04-30 19:52:40 -04:00
kevin
4b08aeabde cwObject.h : Added is_<numric_type> predicate functions. 2024-04-30 19:52:13 -04:00
kevin
c7cd952fcc cwFlowProc.cpp : More counter improvements. 2024-04-26 17:47:34 -04:00
kevin
95ae6d0525 README.md : Updates. 2024-04-26 17:45:12 -04:00
kevin
6e3b59adb6 cwFlowProc.cpp : Fix bugs in 'counter'. 2024-04-26 17:44:33 -04:00
kevin
6c65dec3c7 README.md : Updates. 2024-04-26 17:13:00 -04:00
kevin
2437a74539 flow_doc.md : initial commit. 2024-04-26 17:12:45 -04:00
kevin
964df1dc23 cwFlowNet.cpp : Minor changes to reflect changed function names - is_connected_to_source_proc(). 2024-04-26 17:12:18 -04:00
kevin
e2a307c2ac cwIoPresetSelApp.cpp : Changes to reflect new cwDspTypes. 2024-04-26 17:09:45 -04:00
kevin
fc8b806d97 cwFlowProc.h/cpp : Added 'sample_hold','number','timer','counter'. 2024-04-26 17:09:10 -04:00
kevin
b4529aeb3f cwFlow.h.cpp : test() now takes a command line argument to select a particular test case.
'multi???Preset???Fl' in network cfg. are now optional.
2024-04-26 17:05:48 -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
a0b4e9c120 cwDspTypes.h,cwDspTransforms.h/cpp : Removed the 'real_t' and replaced it with more specific types which identify how the type is being used (e.g. coeff_t, ftime_t). 2024-04-26 17:00:58 -04:00
kevin
a7a38fa9f4 cwObject.h/cpp : cwObject now detects and properly encodes floats and unsigned integers that are specified with the 'f' and 'u' suffix. 2024-04-26 16:59:40 -04:00
kevin
e42dd71b09 cwLex.h/cpp : test() now returns an rc_t. Added test for use of floating point suffix 'f'. 2024-04-26 16:58:01 -04:00
kevin
78ca1b3e35 README.md : Updates 2024-04-22 16:02:53 -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
1c373f8d03 cwObject.cpp : All non-quoted-string string are now considered identifiers in objectFromString(). 2024-04-22 15:57:59 -04:00
kevin
a3012db165 cwText.h/cpp : Added first/lastMatchChar() for non-const strings. 2024-04-22 15:56:11 -04:00
kevin
66c1f08c16 Merge branch 'dev' of gitea.larke.org:kevin/libcw into dev 2024-04-06 16:08:07 -04:00
kevin
e49df496e6 cwFlow* : Added MIDI input and output devices to 'flow' framework. 2024-04-06 16:07:46 -04:00
kevin
c4d518db47 cwIo.h,cpp : Updates to include cwMidiDevice input device buffer.
Added hardwareReport().
Updates to account for change to midi::cbFunc_t.
2024-04-06 16:06:17 -04:00
kevin
374d3ad8a8 cwMidiDeviceTest.cpp,cwMidiFileDev.cpp,cwMidiParser.cpp : Updates to account for change of MIDI callback signature in cwMidiDecls.h. 2024-04-06 16:04:42 -04:00
kevin
3526b2c807 cwMidiAlsa.cpp : Ports that do not qualify based on READ/WRITE attributes are now dropped.
Ports without names are now given the default name '<None>'.
2024-04-06 16:02:52 -04:00
kevin
a6f518ed54 cwMidiDevice.h/cpp,cwMidiDecls.h : Added getBuffer(),clearBuffer(),maxBufferMsgCount() to cwMidiDevice.
Changed the MIDI device callback function to move the user arg outside of the 'packet_t'.
Added midi::ch_msg_t
2024-04-06 15:44:43 -04:00
kevin
7d3be5ebc6 cwIoPresetSelApp.cpp, ui.cfg : Add 'RT' and 'Hw' reports buttons. 2024-04-06 15:41:59 -04:00
kevin
97da536504 cwIoPresetSelApp.cpp : beg_loc,end_loc is now applied to midi player from meta.cfg on file load. 2024-03-30 18:01:08 -04:00
kevin
d5f75f961c Added 'timeOutMs' arg. to all calls to ui::ws::exec(). 2024-03-28 19:48:46 -04:00
kevin
98ed33d2cc cwUi.h/cpp : Add queueBlkCnt and queueBlkByteCnt to websock based API's.
Removed websockTimeOutMs from UI cfg. and replace it as an argument to ui::ws::exec().
2024-03-28 19:47:29 -04:00
kevin
60e6c2f772 cwWebSock.h/cpp : Optimize exec() to decrease cwIoPresetSelApp GUI startup time.
Added _timed_exec_0/1/2()
2024-03-28 19:45:40 -04:00
kevin
475cf5e541 cwNbMpScQueue.h/c : Fixed bug where the tail was not correctly updated in advance().
Added peek_reset().
2024-03-28 19:43:40 -04:00
kevin
73b433feae cwPresetSel.cpp : Fix problem where there were two version of delete_fragment() - one of which allowed a memory leak. 2024-03-27 20:19:06 -04:00
kevin
89a4b83c45 cwUi.cpp :
1. Add one to hashA[] to prevent a hash index of 0xffff from going past the end of the array.
2. Fix bug where hash table buckets were not released.
2024-03-25 22:17:40 -04:00
kevin
43c5be958a cwFileSys.cpp : Fixed failure to free expanded path on path not existing in isFile(),isDir(),isLink(). 2024-03-25 22:14:42 -04:00
kevin
6b2a3db3f0 Merge branch 'dev' of gitea.larke.org:kevin/libcw into dev 2024-03-25 14:32:21 -04:00
kevin
488648a967 cwWebSock.cpp : Added report(). 2024-03-25 14:31:03 -04:00
kevin
230f3841d7 cwIo.cpp: Added call to uiRealTimeReport() in call to io::realTimeReport(). 2024-03-25 14:30:47 -04:00
kevin
55aed815e1 cwUi.h/cpp : Added ui::ws::realTimeReport(). 2024-03-25 14:29:58 -04:00
kevin
c9281603de cwNbMpScQueue.h/cpp: Added count(). 2024-03-25 14:29:25 -04:00
kevin
5f3f986db6 Merge branch 'master' into dev 2024-03-25 13:45:59 -04:00
kevin
693c87d598 cwWebSock.cpp : Now uses cwNbMpScQueue to cache outgoing messages. 2024-03-25 13:32:46 -04:00
kevin
99871c5bef cwNbMpScQueue.h/cpp :
1. Added peek().
2. blockL is now made from individual allocated blocks to ease memory alignment.
3. node_t and blob length is now padded out to a multiple of 8 bytes to guarantee memory alignment.
4. advance() now returns the next blob.
2024-03-25 13:31:58 -04:00
kevin
1c678700b7 cwMidiAlsa.cpp : Fixed _cmMpAllocStruct() to correctly report failure on send_seq_subscribe_port(). 2024-03-25 11:45:42 -04:00
kevin
68bcf7306c cwWebSock.cpp : Changed initialization of _event_loop_ops_custom() to avoid warnings. 2024-03-25 11:44:37 -04:00
kevin
521a513ba3 cwSfScore.cpp : Removed incorrect assert in _calc_score_tempo(). 2024-03-25 11:43:26 -04:00
kevin
ec418f1d28 cwCommonImpl.h : Changed cwAssert() param named 'cond' to 'C' to fix warning. 2024-03-25 11:42:22 -04:00