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 gadus atpakaļ
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 gadus atpakaļ
kevin
2080d13eb2
cmAudioPortAlsa.c : _cmApThreadFunc() now generates a cmTimeSpec_t timestamp.
11 gadus atpakaļ
kevin
e67d8f7ea5
cmAudioPort.h : cmApAudioPacket_t now has a cmTimeSpec_t timestamp.
11 gadus atpakaļ
kevin
45361cd535
cmMidiFilePlay.c : _cmMfpCb() now generates a zeroed timestamp.
11 gadus atpakaļ
kevin
2aa2938957
cmMidiAlsa.c : cmMpPoll() now generates a cmTimeSpec_t timestamp with each message.
11 gadus atpakaļ
kevin
7aaba194c6
cmMidiPort.h/c : cmMpParseMidiData() and cmMpParseMidiTriple() now take a MIDI time stamp as part of the incoming message.
11 gadus atpakaļ
kevin
b403c1a2bf
cmMidi.h : Changed cmMidiMsg to use a cmTimeSpec_t as a timestamp and removed the 'deltaUs' field.
11 gadus atpakaļ
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 gadus atpakaļ
kevin
2f0df884b0
cmDspPgmKr.c : Added separate channels for fragment transformation.
11 gadus atpakaļ
kevin
7d7448ba55
cmDspKr.c : Fixed uninitialized variable warning (n in _cmDspRecdPlayExec()).
11 gadus atpakaļ
kevin
0a12858783
cmDspFx.c : Fixed uninitialized variable (n in _cmDspAudioNofM_Exec().
11 gadus atpakaļ
kevin
cd6a0b1891
cmDspBuiltIn.c : Fixed bug in _cmDspCheckboxAlloc() where the on/off symbols were not registered using the default labels.
11 gadus atpakaļ
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 gadus atpakaļ
kevin
c442830e85
cmDspPgmKr.c : Added audio output 2&3 to handle direct through dry signal.
11 gadus atpakaļ
kevin
c81b178224
cmDspKr.c : Rewrote cmDspActiveMeas to use a linked list to store measurement records.
11 gadus atpakaļ
kevin
47b006f89e
cmScore.h : Added cmInvalidVarScId.
11 gadus atpakaļ
kevin
3a202c27f9
cmDspPgmKr.c : Major rewrite of _cmDspSysPgm_TimeLine().
The original function is in _cmDspSysPgm_TimeLine2().
11 gadus atpakaļ
kevin
40a9f35e18
cmMidiOsx.c : Added comment on a possible problem with the time stamp
computation in _cmMpMIDISystemReadProc().
11 gadus atpakaļ
kevin
4c44c396fd
cmDspPgm.c : Added test for 'Checkbox' to _cmDspSysPgm_UiTest().
11 gadus atpakaļ
kevin
b95348f047
cmDspKr.c : Added option to cmDspScFol to generate score measurements
(dyn,even,tempo,cost) as they are computed.
11 gadus atpakaļ
kevin
e7429a773c
cmDspFx.c : Changed _cmDspAvailCh_Recv() to handle 'trigger' case where
no available channels are available.
11 gadus atpakaļ
kevin
f41a6d6709
cmDspBuiltIn.c : Added cmDspCheckbox() as an improved check box control
which can be used with specific on/off values and symbols.
11 gadus atpakaļ
kevin
837aab5cc1
cmScore.h : Added kNameEvtScId to match the MIDI file 'name' data element.
11 gadus atpakaļ
kpl
d92465cb37
cmData.h/c : Changed cmDataRecdAllocXXX() to return a cmDtRC_t.
11 gadus atpakaļ
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 gadus atpakaļ
kevin
033681c8b4
cmData.h/c : Many minor changes and bug fixes.
11 gadus atpakaļ
kevin
af002db879
cmDspPgm.c : Added more channels to _cmDspSysPgm_Goertzel() and parameters
to support window size on the Goertzel detector.
11 gadus atpakaļ
kevin
da98170c43
cmDspKr.c : Changed _cmDspGoertzel to initialize internal cmGoertzel object
in _cmDspGoertzelReset.
11 gadus atpakaļ
kevin
3d32b3ac51
cmProc.h : Added cmShiftBuf_str tag to cmShiftBuf.
11 gadus atpakaļ
kevin
77206408cf
cmProc4.h/c : Added a window function whose length can vary independently
from the system frame rate (procSmpCnt) to cmGoertzel.
11 gadus atpakaļ
kevin
d011e83cd9
cmProc4.h/c: Fixed bug in cmGoertzel where ch->s1 and ch->s2 were swapped.
11 gadus atpakaļ
kevin
ab1161d138
cmDspPgm.c : Added _cmDspSysPgm_Goertzel.
11 gadus atpakaļ
kevin
f1be9f433d
cmDspKr.h/c, cmDspBuiltIn.c : Added the cmDspGoertzel DSP object.
11 gadus atpakaļ
kevin
b206e2d457
cmProc4.h/c : Added the cmGoertzel tone detector object.
11 gadus atpakaļ
kevin
0857f64730
cmDspKr.c : Improved comments on cmDspAmSync object.
11 gadus atpakaļ
kevin
19224be46a
cmDspKr.c : Added comments to _cmDspAmSync.
11 gadus atpakaļ
kevin
89ad5d8857
cmDspKr.c: Added call to cmRecdPlaySetLaSecs() in _cmDspRecdPlayRecv()
11 gadus atpakaļ
kevin
c11c875f29
cmDspPgmKr.c: Added option to direct fragments to independent audio outputs.
11 gadus atpakaļ
kevin
198908dd47
cmProc4.h/c: Added cmRcdPlaySetLaSecs().
Added comments.
Fixed bug in filling record buffer.
11 gadus atpakaļ
kevin
2cba573163
cmProc4.h/c: Fixed bug in _cmScValidateMarkers() that incorrectly tagged good fade markers and invalid.
11 gadus atpakaļ
kevin
c946234fde
Merge branch 'master' of klarke.webfactional.com:webapps/git/repos/libcm with
spat lab mac.
11 gadus atpakaļ
kevin
031210c7e9
cmDspPgmKr.c : Added look-head parameters for cmDspRecdPlay object.
11 gadus atpakaļ
kevin
57d2a86a42
cmProc4.h/c, cmDspKr.c : Added look-ahead buffer to cmRecdPlay object.
11 gadus atpakaļ
kevin
ebef000a27
cmData.h/c: Commented out uncompilable bits.
11 gadus atpakaļ
kevin
e6933b61d2
cmScore.c : Fixed bug in _cmScParseFile() where _cmScParseSectionColumn()
overwrote 'rc' and thereby prevented the functio from returning the correct result code on fail.
11 gadus atpakaļ
kpl
c809469b62
cmData.h/c : More changes - that won't fully compile.
11 gadus atpakaļ
kpl
b74e24a46b
cmData.h/c: Initial rewrite of cmData to include the concept of homogeneous arrays as containers and leaf nodes.
11 gadus atpakaļ
kpl
691d0ef278
cmDspPgmKr.c : Added the cmDspRecdPlay object to the patch.
11 gadus atpakaļ
kpl
d64f92ac03
Added the cmRecdPlay proc object.
11 gadus atpakaļ