kevin
07a49801dd
cmSyncRecd.h/c : Post test updates.
11 years ago
kevin
377429d33a
cmSyncRecd.h/c: Added cmSyncRecdTest() and cmSyncRecdPrint().
11 years ago
kevin
50677f8f0f
cmTime.h : Added function cmTimeAbsElapsedMicros().
11 years ago
kevin
e2a2295be6
cmDspPgm.c : Added _cmDspSysPgm_SyncRecd to test the cmDspSyncRecd.
11 years ago
kevin
e0a0060696
Makefile.am : Added cmSyncRecd.h/c.
11 years ago
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.
11 years ago
kevin
9c752e95ac
cmDspKr.h/c : Initial implementation of cmDspSyncRecd.
11 years ago
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.
11 years ago
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.
11 years ago
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.
11 years ago
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.
11 years ago
kevin
2080d13eb2
cmAudioPortAlsa.c : _cmApThreadFunc() now generates a cmTimeSpec_t timestamp.
11 years ago
kevin
e67d8f7ea5
cmAudioPort.h : cmApAudioPacket_t now has a cmTimeSpec_t timestamp.
11 years ago
kevin
45361cd535
cmMidiFilePlay.c : _cmMfpCb() now generates a zeroed timestamp.
11 years ago
kevin
2aa2938957
cmMidiAlsa.c : cmMpPoll() now generates a cmTimeSpec_t timestamp with each message.
11 years ago
kevin
7aaba194c6
cmMidiPort.h/c : cmMpParseMidiData() and cmMpParseMidiTriple() now take a MIDI time stamp as part of the incoming message.
11 years ago
kevin
b403c1a2bf
cmMidi.h : Changed cmMidiMsg to use a cmTimeSpec_t as a timestamp and removed the 'deltaUs' field.
11 years ago
kevin
6c66569f79
Many Files (See list in comment): Added #include "cmTime.h" to support Audio and MIDI time stamps.
app/cmOnset.c
app/cmPickup.c
app/cmScore.c
app/cmScoreProc.c
app/cmTimeLine.c
cmAudDsp.c
cmAudioAggDev.c
cmAudioFileDev.c
cmAudioNrtDev.c
cmAudioPort.c
cmAudioPortFile.c
cmDevCfg.c
cmFeatFile.c
cmMidi.c
cmMidiFile.c
cmProc2.c
cmProc3.c
cmProc4.c
cmProcTest.c
cmRbm.c
cmUiRtSysMstr.c
dsp/cmDspClass.c
dsp/cmDspFx.c
dsp/cmDspNet.c
dsp/cmDspPgmKr.c
dsp/cmDspPgmPP.c
dsp/cmDspPgmPPMain.c
dsp/cmDspSys.c
dsp/cmDspUi.c
11 years ago
kevin
2f0df884b0
cmDspPgmKr.c : Added separate channels for fragment transformation.
11 years ago
kevin
7d7448ba55
cmDspKr.c : Fixed uninitialized variable warning (n in _cmDspRecdPlayExec()).
11 years ago
kevin
0a12858783
cmDspFx.c : Fixed uninitialized variable (n in _cmDspAudioNofM_Exec().
11 years ago
kevin
cd6a0b1891
cmDspBuiltIn.c : Fixed bug in _cmDspCheckboxAlloc() where the on/off symbols were not registered using the default labels.
11 years ago
kevin
beefa4ef42
cmMath.c, cmThread.c : Replaced type casting with use of unions to do type conversion in byte swap and CAS functions.
This was required to address a strict-aliasing violation in the release build.
11 years ago
kevin
c442830e85
cmDspPgmKr.c : Added audio output 2&3 to handle direct through dry signal.
11 years ago
kevin
c81b178224
cmDspKr.c : Rewrote cmDspActiveMeas to use a linked list to store measurement records.
11 years ago
kevin
47b006f89e
cmScore.h : Added cmInvalidVarScId.
11 years ago
kevin
3a202c27f9
cmDspPgmKr.c : Major rewrite of _cmDspSysPgm_TimeLine().
The original function is in _cmDspSysPgm_TimeLine2().
11 years ago
kevin
40a9f35e18
cmMidiOsx.c : Added comment on a possible problem with the time stamp
computation in _cmMpMIDISystemReadProc().
11 years ago
kevin
4c44c396fd
cmDspPgm.c : Added test for 'Checkbox' to _cmDspSysPgm_UiTest().
11 years ago
kevin
b95348f047
cmDspKr.c : Added option to cmDspScFol to generate score measurements
(dyn,even,tempo,cost) as they are computed.
11 years ago
kevin
e7429a773c
cmDspFx.c : Changed _cmDspAvailCh_Recv() to handle 'trigger' case where
no available channels are available.
11 years ago
kevin
f41a6d6709
cmDspBuiltIn.c : Added cmDspCheckbox() as an improved check box control
which can be used with specific on/off values and symbols.
11 years ago
kevin
837aab5cc1
cmScore.h : Added kNameEvtScId to match the MIDI file 'name' data element.
11 years ago
kpl
d92465cb37
cmData.h/c : Changed cmDataRecdAllocXXX() to return a cmDtRC_t.
11 years ago
kpl
86f64739e4
cmData.h/c : Added scalar bool (kBoolDtId) data type.
Changed container values from integers to flags so they can be mixed with
basic data types when used with var-arg based functions.
Added cmErr_t* arg's to all var-arg based functions.
11 years ago
kevin
033681c8b4
cmData.h/c : Many minor changes and bug fixes.
11 years ago
kevin
af002db879
cmDspPgm.c : Added more channels to _cmDspSysPgm_Goertzel() and parameters
to support window size on the Goertzel detector.
11 years ago
kevin
da98170c43
cmDspKr.c : Changed _cmDspGoertzel to initialize internal cmGoertzel object
in _cmDspGoertzelReset.
11 years ago
kevin
3d32b3ac51
cmProc.h : Added cmShiftBuf_str tag to cmShiftBuf.
11 years ago
kevin
77206408cf
cmProc4.h/c : Added a window function whose length can vary independently
from the system frame rate (procSmpCnt) to cmGoertzel.
11 years ago
kevin
d011e83cd9
cmProc4.h/c: Fixed bug in cmGoertzel where ch->s1 and ch->s2 were swapped.
11 years ago
kevin
ab1161d138
cmDspPgm.c : Added _cmDspSysPgm_Goertzel.
11 years ago
kevin
f1be9f433d
cmDspKr.h/c, cmDspBuiltIn.c : Added the cmDspGoertzel DSP object.
11 years ago
kevin
b206e2d457
cmProc4.h/c : Added the cmGoertzel tone detector object.
11 years ago
kevin
0857f64730
cmDspKr.c : Improved comments on cmDspAmSync object.
11 years ago
kevin
19224be46a
cmDspKr.c : Added comments to _cmDspAmSync.
11 years ago
kevin
89ad5d8857
cmDspKr.c: Added call to cmRecdPlaySetLaSecs() in _cmDspRecdPlayRecv()
11 years ago
kevin
c11c875f29
cmDspPgmKr.c: Added option to direct fragments to independent audio outputs.
11 years ago
kevin
198908dd47
cmProc4.h/c: Added cmRcdPlaySetLaSecs().
Added comments.
Fixed bug in filling record buffer.
11 years ago
kevin
2cba573163
cmProc4.h/c: Fixed bug in _cmScValidateMarkers() that incorrectly tagged good fade markers and invalid.
11 years ago