Commit Graph

495 Commits

Author SHA1 Message Date
kevin
e65764d7a4 cmAudioFile.h/c : Fixed crash bug in cmAudioFilecreate() caused by using a file name without and extension.
_cmAudioFileReadInt() now returns in error instead of asserting when an invalid input channel count is encountered.
2014-01-30 23:35:25 -08:00
kevin
d863299265 cmSdb.h/c : Added initial set of cmSdbSeqXXX() operations.
Added 'pitchV' arg. to cmSdbSelect().
Added cmSdbSyncChPairs().
2014-01-30 23:33:00 -08:00
kevin
1e26484c74 cmDspKr.c: Removed declaration of unused variable in _cmDspNanMapRecv()
to eliminate compiler warning.
2014-01-25 16:17:50 -05:00
kevin
2cac6143ad cmCsv.h/c: CSV reader now uses a hash table rather than symbol table. 2014-01-25 16:16:06 -05:00
kevin
c8d4648af5 cmSyncRecd.h/c : Changed result codes from cmXXXSrRC to cmXXXSyRc to avoid
conflicts with same named result codes from cmSerialize.h.
2014-01-25 16:15:09 -05:00
kevin
9b3aa4c798 cmHashTbl.h/c : Initial commit. 2014-01-25 16:13:57 -05:00
kevin
f95d93a4f8 app/cmSdb.h/c : Sample database reader object. Initial commit. 2014-01-25 16:13:42 -05:00
kevin
e25a9abaac Makefile.am : Added references to cmSdb.h/c cmHashTbl.h/c. 2014-01-25 16:13:13 -05:00
kevin
8e0fb864e4 cmDspKr.c : cmRecdPlay object only records/plays segments when it recieves
a perfect match to the start of the record/playback segment. Segments
which are specified between the last received score location and the
current location are skipped.
2014-01-18 16:13:05 -08:00
kevin
7584fdd936 cmDspPgmKr.c : Removed segment filename/label from cmRecdPlay object.
cmRecdPlay objects now take a resource based list of segments to pre-load.
2014-01-17 17:00:51 -05:00
kevin
d37fd59317 cmDspKr.c : Added ability to pre-load a list of segments for the cmRecdPlay object. 2014-01-17 16:59:38 -05:00
kevin
84782a1fa8 cmText.h/c : Added cmTextTrimBegin(),cmTextTrimEnd() and cmTextTime(). 2014-01-17 16:54:24 -05:00
kevin
5c36dfcf9a cmScore.c : Changed _cmScParseMarkers() to allow multiple recd/play markers on the same line. 2014-01-17 16:53:54 -05:00
kevin
5851b40dc1 cmMidiOsx.c : Added use of delta time to time stamp in call to cmMpParseMidiData().
The time stamp value still needs to be verified.
2014-01-16 20:21:37 -08:00
kevin
57faeb20e6 cmAudioPortOsx.c : Added #include "cmTime.h" 2014-01-16 20:20:25 -08:00
kevin
c0fb38d8b7 cmDspPgmKr.c : RecdPlay object now takes an initial score search location
from the score UI.
2014-01-16 20:20:01 -08:00
kevin
e07e632de6 cmDspKr.c : cmDspRecdPlay now takes an initial score search location index. 2014-01-16 20:18:48 -08:00
kevin
fd61da603f cmProc4.c : cmRecdPlayInsertRecord() now sets frag.recdIdx field to the actual number of sample
frames read rather than the number allocated.
2014-01-16 20:17:55 -08:00
kevin
f2d06b68bd cmProc4.c : fixed call to cmAudioFileReadSample() in cmRecdPlayInsertRecord(). 2014-01-16 17:12:04 -08:00
kevin
1d9455e9eb merging recdplay updates from thunk onto mac 2014-01-16 16:15:04 -08:00
kevin
f96e261382 cmDspPgmKr.c : Added 'useWtFl' to cmDspSysPgm_Timeline. 2014-01-16 15:05:24 -08:00
kevin
a19d93b265 cmDspKr.c : Added ability to preload a cmRecdPlay segment from an audio file. 2014-01-16 16:05:45 -05:00
kevin
744da47218 cmProc4.h/c : Added cmRecdPlayInsertRecord() to the cmRecdPlay object. 2014-01-16 16:05:11 -05:00
kevin
ed1c13c0ec cmMem.c : Moved unique id break point comment after where the
unique id is calculated.
2014-01-15 11:55:46 -05:00
kevin
e1a6257d74 cmText.h/c : Added cmTextNextRow(),cmTextMinIndent(),cmTextOutdent(). 2014-01-12 13:06:45 -05:00
kevin
99ad71cddd cmStrStream.h : Added code comments. 2014-01-12 13:06:13 -05:00
kevin
7e27581f78 cmStrStream.c : Completed initial tests and fixed bugs in cmOStrStreamWrite(). 2014-01-12 10:25:11 -05:00
kevin
e4c9f185b0 cmStrStream.h : Added cmOStrStreamWriteStrN(). 2014-01-12 10:23:23 -05:00
kevin
2a4f4d6ed5 cmProc4.c : Fixed memory leak of cmGoertzel.wnd. 2014-01-12 10:21:00 -05:00
kevin
f21fbb8729 cmStrStream.h/c, Makefile.am : Added cmStrStream.h/c. 2014-01-12 08:31:59 -05:00
kevin
bc7b5a4c09 cmText.h/c : Added cmTextVAppendSS(), cmTextLength(), cmTextCmpN(), cmTextToLower(), cmTextToUpper(). 2014-01-06 16:12:13 -05:00
kevin
babb016383 cmTagFile.h/c : cmTagFile now recognizes function definition, and structure and union tags. 2014-01-06 16:11:18 -05:00
kevin
83314506d7 cmLex.h/c : Added optional quoted character token recognizer. 2014-01-06 16:10:05 -05:00
kevin
0a71501780 cmDspKr.c : Added 'cmd' input to cmDspScore object to print score location report upon reception of 'dump' symbol.
f
2013-12-18 10:01:47 -05:00
kevin
4b2f2e0398 cmDspPgmKr.c : Added 'fragFl' to toggle fragment processing chains.
Added connection from 'Dump' button to score to print score location report.
2013-12-18 10:00:53 -05:00
kevin
f2bed90054 CmDspPgm.c : Added individual printer outputs for each MIDI data element. 2013-12-17 08:56:50 -05:00
kevin
c4a0bceaec cmDspKr.c : Post test updates to cmDspSyncRecd(). 2013-12-17 08:55:44 -05:00
kevin
e11e660e52 cmTime.h/c : Added cmTimeDiffMicros(),cmTimeIsLTE(),cmTimeIsGTE(),cmTimeIsEqual(),cmTimeIsZero(),cmTimeSetZero(). 2013-12-17 08:55:08 -05:00
kevin
07a49801dd cmSyncRecd.h/c : Post test updates. 2013-12-17 08:54:07 -05:00
kevin
377429d33a cmSyncRecd.h/c: Added cmSyncRecdTest() and cmSyncRecdPrint(). 2013-12-15 19:49:08 -05:00
kevin
50677f8f0f cmTime.h : Added function cmTimeAbsElapsedMicros(). 2013-12-15 19:04:45 -05:00
kevin
e2a2295be6 cmDspPgm.c : Added _cmDspSysPgm_SyncRecd to test the cmDspSyncRecd. 2013-12-15 19:04:19 -05:00
kevin
e0a0060696 Makefile.am : Added cmSyncRecd.h/c. 2013-12-15 19:03:25 -05:00
kevin
94da1333af cmDspBuiltIn.c : cmDspMidiIn now outputs MIDI timestamps.
Fixed bug in cmDspCheckbox which prevented correct symbols from being stored.
Added cmSyncRecdClassCons to the built in processor list.
2013-12-15 19:02:02 -05:00
kevin
9c752e95ac cmDspKr.h/c : Initial implementation of cmDspSyncRecd. 2013-12-15 18:53:16 -05:00
kevin
0ae13b9fc7 cmSyncRecd.h/c : Initial implementation of MIDI / Audio synchronized recorder.
Recording has been tested but reading the recorded files has not. Initial commit.
2013-12-15 18:52:11 -05:00
kevin
58f2040529 cmRtSys.h/c: cmRtSysCtx.h now have cmTimeSpec_t timestamps.
These timestamps are set in _cmRtDspExecCallback() by cmApBufGetIO().
_cmRtSysEnable() now calls cmApBufOnPortEnable() to allow cmApBuf to be
aware of the audio stream starting and stopping.
2013-12-15 18:49:49 -05:00
kevin
a52909671f cmAudioSys.h/c : cmAudioSysCtx_t now have time stamps which are set in
the cmApBufGetIO() calls in _cmAsDspExecCallback().
_cmAudioSysEnable() now calls cmApBufOnPortEnable() to that cmApBuf() can
be aware to when audio streaming is starting and stopping.
2013-12-15 18:44:35 -05:00
kevin
40a649dfc1 cmApBuf.h/c : Added code to handle audio timestamps.
cmApBufUpdate() sets an input/output timestamp on each device according to the audio packet timestamp.
cmApBufGetIO() returns the timestamp associated with each returned buffer.
Added cmApBufOnPortEnable() to zero the timestamp when a port is enabled.
This implementation of the audio timestamping processes is a hack because
only the first timestamp is stored (after a call to cmApBufOnPortEnable())
and all subsequent timestamps are generated by incrementing this value according
to the incoming/outgoing sample count.
2013-12-15 18:28:11 -05:00
kevin
2080d13eb2 cmAudioPortAlsa.c : _cmApThreadFunc() now generates a cmTimeSpec_t timestamp. 2013-12-15 18:22:24 -05:00