Commit Graph

534 Commits

Author SHA1 Message Date
kevin
844a103d69 Merge branch 'score_follow' into poly_inst 2023-02-02 18:24:21 -05:00
kevin
3a1a6192db cwAudioDeviceFile.h/cpp : Initial commit. 2023-02-02 18:22:05 -05:00
kevin
a3f14c473a cwIo.cpp : Update formatting. 2023-02-02 18:21:34 -05:00
kevin
cecff54b34 cwScoreFollow.cpp : Update comments. 2023-01-30 19:40:23 -05:00
kevin
7312e91421 cwCmInterface.h/cpp, cwScoreFollower.h/cpp, Makefile.am : Initial score_follow development 2023-01-30 19:38:11 -05:00
kevin
59647d4e58 cwIoPresetSelApp.cpp : Fix formatting problems. 2023-01-30 19:35:28 -05:00
kevin
7444044c05 cwMidiFile.h : Update status checkers to check that the status is a channel message before accessing 'chMsgPtr' 2023-01-30 19:25:01 -05:00
kevin
0d644c9281 cwIoMidiRecordPlay.cpp : Change the location where p->ioH is initialized in create() to guarantee that it is valid in _destroy(). 2023-01-30 19:23:42 -05:00
kevin
cb192f32cb cwIoPresetSelApp.cpp, cwPresetSel.h/cpp: Fix problem where correct preset was not selected when playing outside the currently selected fragment.
Added p->sel_frag_id to track last frag. triggered so that fragment_play_preset_index()
selects correct preset for fragments outside of the currently selected fragment
when play-all or play-seq.
2023-01-21 11:49:07 -05:00
kevin
141bd8da73 cwIoMidiRecordPlay.cpp : _stop() now checks p->startedFl before executing stop actions.
This prevents multiple kPlayerStoppedActionId's from being sent to app.

seek() now calls _midi_state_clear() instead of _stop(). This fixes problem which
prevented preset sequencing in app.
2023-01-21 11:39:01 -05:00
kevin
3e4230bf5d cwIoMidiRecordPlay.cpp : Added delay after every damper pedal up to ensure that the strings are fully damped prior to the next damper down. 2023-01-14 17:17:19 -05:00
kevin
748bf9ab44 cwTime.h/cpp : Added advanceMicros(). 2023-01-14 17:15:55 -05:00
kevin
4039613124 cwIoMidiRecordPlay.cpp : Added use of midi_state_t to handle correct seeking and stopping. 2023-01-14 13:38:18 -05:00
kevin
85cf41d8d8 README.md : Updates 2023-01-14 13:36:19 -05:00
kevin
bebd8111f4 cwPianoScore.cpp : Fix typo in event_to_string() output format. 2023-01-14 13:35:37 -05:00
kevin
eb25cfe36a README.md : Updates 2023-01-08 14:18:22 -05:00
kevin
dd3a2f586f cwAudioTransforms.h:Call basic mode w/ knee. 2023-01-08 14:18:11 -05:00
kevin
9a1e306791 cwDsp.h: Initial implementation of ampl_to_db() and db_to_ampl() 2023-01-08 14:17:15 -05:00
kevin
451a7d246e cwAudioTransforms.h: Call _cmSpecDist2BasicMode_WithKnee() 2023-01-08 14:13:34 -05:00
kevin
430feeed7c cwDspType.h : Set fd_real_t to float. 2023-01-08 14:12:45 -05:00
kevin
8c43021040 cwVectOps.h : Update comment. 2023-01-08 14:12:11 -05:00
kevin
64f7d8dead cwFlowTypes.h : Added comments 2023-01-07 09:27:36 -05:00
kevin
4b03f4777f cwIoPresetSelApp.cpp,html/preset_sel/ui.cfg : Add audio meters. 2023-01-05 07:31:49 -05:00
kevin
11636a3f43 Added audio_meter and cwIo and flow support for metering.
Also updated spec_dist,pv_anl, pv_syn to use fd_real_t.
2023-01-05 07:30:57 -05:00
kevin
9782c1b3c9 Added flow::get_variable_value() 2023-01-05 07:26:25 -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
c9e4745d3e README.md : Updates 2023-01-05 07:13:53 -05:00
kevin
242038c556 README.md : Updates 2022-12-27 18:11:01 -05:00
kevin
c693eab091 cwIo.cpp : stop() now calls stop the thread machine. 2022-12-27 18:10:26 -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
a2f459c5fb cwIoMidiRecordPlay.cpp : Add chord based dynamics scaling. 2022-12-22 15:52:49 -05:00
kevin
21697d8e82 cwIo.cpp : Fix some benign uninitialized variables. 2022-12-22 15:29:00 -05:00
kevin
15e60b429e cwMiidi.h,cwMidiFile.h/cpp,cwPianoScore.cpp : cwMidi.isNoteOn() now takes the message velocity value as well as the status. 2022-12-22 15:27:30 -05:00
kevin
9d704cf77a cwFlowCross.cpp,cwFlowTypes.cpp, cwSvg.cpp : Fix some benign uninitialized values. 2022-12-22 15:25:54 -05:00
kevin
5e90a9ff53 cwUi.cpp : Warn if the UI resource does not have a 'main' element. 2022-12-20 10:33:51 -05:00
kevin
49f1f8efcd README.md : Updates 2022-12-20 10:24:26 -05:00
kevin
53c98c2d69 cwIoPresetSelApp.h/cpp - pass in command line args from cwtest to change certain cfg. parameters. Insert loc. now identifies begin of segment instead of end 2022-12-17 17:54:39 -05:00
kevin
3dcdfaa982 html/preset_sel/ui.cfg : Change insert location label. 2022-12-17 17:52:48 -05:00
kevin
cf024fe85d html/preset_sel/ui.js: Clear UI when socket disconnected. 2022-12-17 17:50:29 -05:00
kevin
0e68bb0233 cwIoPresetSelApp.cpp : Added automatic backup to 'save' function.
Remove 'frag_panel' field from cfg since 'frag_panel' is now included in 'ui.cfg' resource.
2022-12-17 08:18:05 -05:00
kevin
06c5dd18b4 cwFileSys.cpp : vMakeVersionedFn() now has better error reporting. 2022-12-17 08:17:02 -05:00
kevin
c4b13d8dea cwFlow.cpp : Flow class descriptions now use a list of string tags as boolean attributes rather than individual fields. 2022-12-17 08:16:21 -05:00
kevin
1ea10e6d7f cwFile.h/cpp : backup() now takes an optional destination directory. 2022-12-17 08:14:40 -05:00
kevin
376684e3b5 cwLog.cpp : Fix bug where sysStr was printed on info level logs 2022-12-16 11:30:41 -05:00
kevin
12085730a5 README.md : Transfer and update libcw notes from cwtest/README.md 2022-12-16 11:30:07 -05:00
kevin
644c57458d cwIoPresetSelApp.cpp,ui.cfg: various fixes to correctly handle beg/endPlayLoc interface.
Fragment UI template is now read from html/preset_sel/ui.cfg.
2022-12-13 20:58:06 -05:00
kevin
13bc47389b html/preset_sel/index.html, js/ui.js : The main app. div is now created rather than statically constructed.
Fixed bug where the values of numbers without min/max ranges were not updated correctly.
Fixed bug where elements with 'order' attribute were not ordered correctly when created.

Signed-off-by: kevin <kevin@larke.org>
2022-12-13 20:54:56 -05:00
kevin
f3aecb1177 cwIo.h/cpp : Added uiCreateFromRsrc(). 2022-12-13 16:53:31 -05:00
kevin
445c5d5076 cwUi.cpp: Received 'value' messages are now automatically reflected to other Websock sessions.
The idle message is now sent to the client only when no other message has been send for 'idle_delay_ms'.
Added createFromRsrc().
The resource object passed via create() is now duplicated and maintained for the life of the UI object.
2022-12-13 16:53:10 -05:00
kevin
f0e6a56a60 cwIo.h/cpp : Added optional synchronous callbacks for all sub-systems.
The UI is now automatically cleared in io::stop().
2022-12-13 13:27:32 -05:00