Commit Graph

568 Commits

Author SHA1 Message Date
kevin
5b3299dea3 cwFlowTypes.cpp : fbuf_destroy() now releases magV,phsv, and hzV. 2023-03-17 17:44:29 -04:00
kevin
b5f7e76983 cwObject.h/cpp : Added to_string() and objectToFile() 2023-03-17 17:43:40 -04:00
kevin
2171d8a0a6 cwFileSys.cpp: expandPath() now drops leading white space. pathParts() now expands the path prior to splitting it. 2023-03-17 17:42:29 -04:00
kevin
dd7dcc654e cwFile.h : Added new version of backup() which takes a complete file name rather than file path parts. 2023-03-17 17:41:04 -04:00
kevin
a01f7e8185 cwIoPresetSelApp.cpp : Updates to support audio file playback. 2023-02-26 13:44:54 -05:00
kevin
574f91f1ca cwPianoScore.h/cpp: Added loc_to_event() and locs_to_diff_seconds() 2023-02-26 13:44:12 -05:00
kevin
06a6c51f9f cwIo.cpp : Added new parameters for cwAudioDevFile 2023-02-26 13:43:39 -05:00
kevin
892a7b06d9 cwFlowProc.h/cpp,cwFlow.cpp : Added 'audio_marker'. 2023-02-26 13:43:14 -05:00
kevin
a35d91f73e cwIoMidiRecordPlay.h/cpp : Added elapsed_micros(). 2023-02-26 13:40:49 -05:00
kevin
41bac85d94 Add output file caching and use of kUseInternalClockFl. 2023-02-26 13:11:07 -05:00
kevin
03061f42b7 cwAudioDevFile.h/cpp, cwIo.cpp : Implemented input cache on audio dev file. 2023-02-20 15:42:11 -05:00
kevin
2fc2f7f4b0 cwFlow.cpp : Fixed possible uninitialized pointer in create(). 2023-02-20 15:26:07 -05:00
kevin
47aeaabbfb cwIo.cpp : The main callback no longer indicates a failure when the mutex times out. 2023-02-19 17:13:08 -05:00
kevin
d4eacdf964 cwMutex.cpp : Do not indicate failure when the mutex times out. 2023-02-19 17:11:39 -05:00
kevin
a523b03ea9 cwIo.h/cpp : Replaced use of flow proc audioFileIn with audioDevFile() enable/seek API. 2023-02-19 14:18:53 -05:00
kevin
20175d29f9 cwAudioDevice*.h,cpp, cwIo.h,cpp, cwIoAudioPanel.cpp : Added deviceEnable(), deviceSeek() to audio device driver.
Change io::cwAudioDeviceIsEnabled() to cwAudioDeviceIsActive().
2023-02-19 14:16:37 -05:00
kevin
4ecbd0d035 cwAudioDeviceFile.cpp : added comments 2023-02-18 14:31:23 -05:00
kevin
9ed0bea4d0 cwAudioDeviceFile.h/cpp : Added test(). Fixed memory leaks. 2023-02-18 13:50:00 -05:00
kevin
3f8992d6ae cwAudioDevice.h,cwAudioDeviceAlsa.h/cpp : Removed deviceIsAsync() 2023-02-18 13:49:17 -05:00
kevin
18e78ad206 cwCommonImpl.h : Update comments. 2023-02-18 13:48:38 -05:00
kevin
0a0dc2e87b cwAudioFile.h/cpp : Filenames are now automatically expanded. Comments added. 2023-02-18 13:48:11 -05:00
kevin
8e40899ef2 README.md : Audio device file updates. 2023-02-14 21:08:54 -05:00
kevin
8dd86c27d0 cwFlowProc.cpp : Verify 'frame' and 'srate' in audio_merge. 2023-02-14 21:07:03 -05:00
kevin
b5172afc5f cwIoPresetSelApp.cpp : disable app_t.audioFileSrcFl 2023-02-14 21:04:30 -05:00
kevin
5d235d0887 cwIoMidiRecordPlay.cpp : Include 'sci-pitch' in CSV row. 2023-02-14 21:03:01 -05:00
kevin
5589fb6ef3 cwIoAudioMidiApp.cpp,html/audio_midi/ui.cfg : Updates to support current version of IO. 2023-02-14 20:59:06 -05:00
kevin
66de2f840f cwAudioBuf.h : Updated comments. 2023-02-14 20:57:26 -05:00
kevin
d40861ce33 Added cwAudioDeviceFile.h/cpp. 2023-02-14 20:57:09 -05:00
kevin
1830d70f92 cwVectOps.h : Added interleave() and deinterleave() 2023-02-14 20:56:39 -05:00
kevin
e57997a1e5 cwIo.h/cpp: Added audio device file related feature. 2023-02-14 20:55:03 -05:00
kevin
93837891a4 cwAudioDeviceFile.h/cpp : Converted to async device using internal thread.
Added deviceIsAsync(),deviceExecute(), and cbDevidx to deviceSetup().
Added start(),stop(),createInDevice(),createOutDevice().
2023-02-14 20:52:32 -05:00
kevin
d46101f4b9 cwAudioFile.h/cpp : Added writeFlowInterleaved() 2023-02-14 20:50:29 -05:00
kevin
0b5458ca7b cwAudioDeviceAlsa.h/cpp: Added deviceIsAsync(),deviceExecute(), and cbDevIdx arg
to deviceSetup().
2023-02-14 20:49:12 -05:00
kevin
d3b2dec511 cwAudioDevice.h/cpp : Changes to support audio device file.
Add deviceIsAsync(), deveiceExecute() to driver.
Added cbDevIdx to deviceSetup().
Added execute(),realTimeReport()
2023-02-14 20:46:41 -05:00
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