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
9fd9043a2d
cwIo.cpp : Set p->sockN and p->serialN to 0 when socket or serial sub-systems are disabled.
2024-03-22 13:01:08 -04:00
kevin
6f2444b8d7
cwNbMpScQueue.h/cpp : Verified with -fsanitize thread added comments.
2024-03-11 19:21:03 -04:00
kevin
e63abddb5d
Merge branch 'master' of gitea.larke.org:kevin/libcw
2024-03-09 18:18:09 -05:00
kevin
5de1851c66
cwVectOps.h : Added 'scale_add()'
2024-03-09 15:13:54 -05:00
kevin
2d0c59a8fa
cwIoPresetSelApp.cpp,cwPresetSel.h/cpp,ui.cfg,cwFlowDecl.h : Added 'Allow All' for uniform prob. preset selection. Add 'loc location' flag to UI.
2024-03-09 15:12:56 -05:00
kevin
63faf6a6d2
cwFlow.cpp : comment out interpolation value print statement.
2024-03-09 15:10:46 -05:00
kevin
77695db9ad
cwIo.cpp : Add 'enableFl' to each IO sub-system.
2024-03-07 11:44:48 -05:00
kevin
72701c79af
Merge branch 'master' of gitea.larke.org:kevin/libcw
2024-03-06 09:27:38 -05:00
kevin
e5b74f3a40
cwScoreFollower.h/cpp, cwSfTrack.h : Updates to comments. No functional changes.
2024-03-06 09:27:31 -05:00
kevin
fbd057bd9a
cwScoreFollowTest.cpp : Output directory now is taken from MIDI input filename.
2024-03-03 16:37:19 -05:00
kevin
68b92212c2
cwNbMpScQueue.h/cpp : Added use of 'cleanBlkN' and 'cleanProcN'.
...
Updates to test function.
2024-03-03 16:35:23 -05:00
kevin
a052f2623c
Merge branch 'master' of gitea.larke.org:kevin/libcw
2024-02-25 16:20:28 -05:00
kevin
f0d87b903e
cwNbMpScQueue.h/cpp,Makefile : Initial commit
2024-02-25 16:19:59 -05:00
kevin
1b8c9f9b6c
cwIoPresetSelApp.cpp : Remove extra sleep time from main loop, because cwWebSock now blocks inside io::exec().
2024-02-24 15:42:31 -05:00
kevin
4954e2dabb
Merge branch 'master' of gitea.larke.org:kevin/libcw
2024-02-24 13:57:59 -05:00
kevin
9634574548
cwWebSock.cpp : Updated to use custom event loop plugin and thereby correctly block in exec().
2024-02-24 13:57:47 -05:00
kevin
0c5e6d52b3
cwTime : Updated elapsedMicros().
2024-02-24 13:55:44 -05:00
kevin
c065005ec9
Merge branch 'master' of gitea.larke.org:kevin/libcw
2024-02-23 15:28:31 -05:00
kevin
31d32e0b7c
Merge branch 'master' of gitea.larke.org:kevin/libcw
2024-02-21 07:51:39 -05:00
kevin
68e36aad6b
cwIo : Added MIDI file device interface.
2024-02-21 07:50:52 -05:00
kevin
e3ff4828b0
cwMidiDevice,cwMidiFileDev : Added midi::file_dev.msg_count() and midi::device.loadMsgPacket().
2024-02-21 07:49:28 -05:00
kevin
8177ff71fc
cwMidiDevice.cpp : Updated comments.
2024-02-21 07:47:09 -05:00
kevin
e8e6915990
cwGutimReg.h/cpp : Added test().
2024-02-21 07:46:51 -05:00
kevin
11350402d4
cwGutimReg.h,cpp : Initial commit.
2024-02-19 21:59:40 -05:00
kevin
4d0fda1134
cwText.h,cpp : Added case insensitve compare.
2024-02-19 21:58:50 -05:00
kevin
d32b7a891f
cwCsv.h/cpp : Added parse_field(...,bool).
2024-02-19 21:57:54 -05:00
kevin
021a1c2808
Merge branch 'master' of gitea.larke.org:kevin/libcw
2024-02-18 17:58:52 -05:00
kevin
b35658d550
cwUi.cpp : goto errLabel in ui::create() if _createFromObj() fails.
2024-02-18 17:58:16 -05:00
kevin
71bfa84e15
cwMidiFileDev.cpp : Fixed uninitialized 'rc' in _set_end_msg_index().
2024-02-18 08:51:26 -05:00
kevin
13f18fe5f0
cwMutex.cpp : Added use of _future_ms() to handle timing based on
...
CLOCK_REALTIME for all time dependent calls in cwMutex.cpp.
2024-02-18 08:50:49 -05:00
kevin
bf3317a4e7
cwUi.cpp : Added use of a hash table to speed _findElementUuId()
...
and improved _find_and_available_element_slot() by first guessing
at an available slot before resorting to a search.
2024-02-18 08:49:24 -05: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
64df75d9aa
Threads now take a label which can be displayed via system tools (e.g. top, ps).
2024-02-18 08:37:50 -05:00
kevin
24e35872b2
Added specToMicroseconds() and microsecondsToSpec().
...
Simplified advanceMicros() and advanceMs()
2024-02-14 11:39:23 -05:00
kevin
b721d11b1a
cwThread.h/cpp : Added stateTimeOutMicros() and pauseMicros().
2024-02-14 11:30:02 -05:00
kevin
864142b9f0
cwMidiParser.h/cpp : Initial commit after being copied out of cwMidiDevice.h/cpp.
...
cwMidiDeviceTest.h/cpp : Initial commit.
Makefile.am : New files and name changes.
2024-02-14 11:28:54 -05:00
kevin
8fe6f3627c
midi::device now allows a MIDI file to act as a virtual MIDI input device.
...
Thread polling moved out of midi::alsa and into midi::device.
Added latency measure feature to midi::device.
Improved midi::alsa device lookup time with alsa_device_t.clientIdToDevIdxMap[].
Added cwMidiAlsa.h to provide an interface for midi::alsa independent of midi::device.
2024-02-14 11:20:40 -05:00
kevin
742fc05e81
Renamed cwMidiPort.h/cpp to cwMidiDevice.h/cpp.
...
cwMidiDecls.h midi::msg_t now breaks out MIDI channel from status and has a new user 'uid' field to link the msg to an external entity.
Renamed midi::packet_t. cbDataPtr to cbArg.
midi::packet_t.cbFunc_t is now included in cwMidiDecls.h.
Other files effected: cwIo.cpp,cwIoAudioMidi.cpp,cwIoPresetSelApp.cpp
2024-02-14 11:15:02 -05:00
kevin
5bfc19ba70
cwB23Tree.h : Partial implmentation of remove().
2024-02-10 11:59:16 -05:00
kevin
aa222b1116
cwMidiFileDev.h/cpp,Makefile.am : Initial implementation. Not yet integrated with cwMidiPort.
2024-02-10 11:56:36 -05:00
kevin
1c12b4eeb4
html/preset_sel/ui.cfg : ui.cfg Added button to reset/report latency measurements.
2024-02-10 11:51:03 -05:00
kevin
e1aa033958
cwTime.h/cpp, cwMutex.cpp : Time now depends on CLOCK_MONOTONIC instead of CLOCK_REALTIME.
...
mutex::lock() apparently depends on CLOCK_REALTIME and so that is now handled with a direct call to clock_gettime().
2024-02-10 11:49:47 -05:00
kevin
28c8dfc982
cwVectOps.h : Added abs().
2024-02-10 11:36:43 -05:00
kevin
4aa91755ed
cwMidiDecls.h,cwMidiFile.h,cwThread.h : Fixed or improved comments. No functional changes.
2024-02-10 11:35:34 -05:00
kevin
57f3d06f37
cwIoPresetSelApp.cpp,cwIo.h/cpp,cwMidiPort.h,cwMidiAlsa.cpp :
...
Added audio and MIDI latency reporting implementation.
2024-02-10 11:34:06 -05:00
kevin
42882c2e3d
cwIoPresetSelApp.cpp :
...
1.Changed name of variable app->scoreH to app->perfScore.h.
2. Now sets coeffMin/MaxV in flow::multi_preset_selector_t.
2024-02-08 11:25:38 -05:00
kevin
1424b6b036
cwSfTrack.h/cpp : Changes to comments only.
2024-02-08 11:21:26 -05:00
kevin
18a29aa295
cwPresetSel.cpp,cwSvgMidi.cpp,cwSvgScoreFollow.cpp : Changes to support new module dependencies on cwPianoScore.h
2024-02-08 11:20:09 -05:00
kevin
8e91da0134
cwMidiRecordPlay.cpp : _xmit_midi() no longer transmits messages to devices that are not enabled.
2024-02-08 11:18:49 -05:00