Commit Graph

782 Commits

Author SHA1 Message Date
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
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
ab2bb493d1 cwScoreFollower.cpp : The file output from write_sync_perf_csv() now includes the section which each matched event belongs to. 2024-02-08 11:09:40 -05:00
kevin
36496e8b79 cwSfScore.h/cpp :
1. The SF score now includes measurement stats from previous performances
2. event_t now contains a pointer too the section to which the event belongs.
2024-02-08 11:07:45 -05:00
kevin
57d35b09db cwScoreParse.h/cpp : The score file now contains measurement features from previous performances. 2024-02-08 11:05:10 -05:00
kevin
008e14d60b cwPianoScore.h,cpp : perf_score now can read performance measurements and related statistics from CSV. 2024-02-08 11:03:36 -05:00
kevin
34de4c230f cwMidiAlsa: Error messages are now called through macros so that file locations are correct in log. 2024-02-08 10:58:52 -05:00
kevin
83291dabb3 cwIoFlow.cpp : Added an error message when create() fails. 2024-02-08 10:57:08 -05:00
kevin
611c198197 cwCommon.h,cwCsv.h,cwObject.h,cwUi.cpp : Changed result code kLabelNotFoundRC to kEleNotFoundRC. 2024-02-08 10:55:48 -05:00
kevin
3319804d60 cwCsv.h/cpp : Added has_field(). 2024-01-28 13:20:10 -05:00
kevin
40840286cf cwIoPresetSelApp.cpp : Replaced call to io_flow::apply_preset(h,preset_label) with call to io_flow::apply_preset(h,multi_preset_selector_t). 2024-01-13 10:21:06 -05:00
kevin
6fff7eb3b7 cwFlowProc.cpp,cwFlowTypes.cpp : Added #include "cwFlowDecl.h" 2024-01-13 10:18:21 -05:00
kevin
6686acfbee cwIoFlow.h/cpp,cwFlowCross.h/cpp : Added apply_preset(handle_t,multi_preset_selector_t&). 2024-01-13 10:17:42 -05:00
kevin
2e2f57f45a cwFlow.h/cpp : Added apply_preset( handle_t, multi_preset_selector& )
and _select_ranked_ele_by_rank_prob().
2024-01-13 10:16:37 -05:00
kevin
f7bab2f4a2 cwFlowDecl.h,Makefile.am : cwFlowDecl.h initial commit. 2024-01-13 10:14:33 -05:00
kevin
5611b28c6b cwPresetSel.h/cpp : Added multiPresetA/N to fragment.
Removed 'fragN' from stored fragment data structure.
Commented out translate_frags() because it is obsolete.
2024-01-13 10:12:49 -05:00