Commit Graph

985 Commits

Author SHA1 Message Date
kpl
55fe26deb2 cmData.h/c : Addd cmDataRecdParseXXX() functions. Added beginning
modifications to include function which report errors without using
the global variable _cmDataErrNo.
2013-10-10 08:42:47 -07:00
kpl
42a9f19166 cmMem.c : Added string tables for 'filename' and 'function name' strings
in the cmMmRecd_t record.

Previously the 'fileNameStr' and 'funcNameStr' were assumed to be stored
in static memory and therefore did not require duplication.  If the
strings however originated in a dynamic library then the string pointer
would be invalid after the library is unloaded.  Accessing these fields
would then result in a crash.
2013-10-08 16:43:38 -07:00
kevin
fb509b10c7 cmDspPgmKr.c : Patched scMod.post to achan.trig (but commented out). 2013-09-30 11:04:49 -07:00
kevin
de58bb5232 cmDspKr.c : Added 'post' output to cmDspScMod object. 2013-09-30 11:03:47 -07:00
kevin
27c719dcc4 cmProcr4.c : Added 'postFl' to scMod. 2013-09-30 11:03:24 -07:00
kevin
35181582f6 osx/cmMidiOsx.c : Updated device reporting format. 2013-09-29 18:48:43 -07:00
kevin
0f75ad445c cmDspPgmKr.c : Added audio output file record and MIDI output port. 2013-09-29 18:48:08 -07:00
kevin
bb4aea8471 cmDspPgm.c : Updated cmDspSysPgm_Test_Midi with hardcoded OSX device/port. 2013-09-29 18:47:22 -07:00
kevin
7d3e82d417 cmDspKr.c : cmDspMidiFilePlay object now sents note off messages. 2013-09-29 18:46:48 -07:00
kevin
19d31789db cmProc4.h/c : Update comments and documentation on cmScMod object. 2013-09-29 18:46:20 -07:00
kevin
ace80b2f7a osx/cmMidiOsx.c : Changed MIDI device report output format. 2013-09-28 12:41:47 -07:00
kevin
5566cbdae7 cmDspFx.c : Fixed bug where GateToSym object set the 'off' symbol event
when the received off symbol port value was not equal to 0.
2013-09-28 12:40:55 -07:00
kevin
9567d9211d cmDspBuiltIn.c : The AudioFileOut object no longer creates an output
file when the object is created. It now waits until it is sent an
'open' symbol to create the audio output file.

If the AudioFileOut object is sent a directory rather than a file then
it automatically generates a file name in the given directory.
2013-09-28 12:39:43 -07:00
kevin
a4a2b601a9 cmGrPlotAudio.c : The audio plot object no longer uses the underlying
graphic objects 'user' pointer.  This was a bug because the user of the
audio object itself might use this pointer thereby overwrite the pointer
set internally by the audio object.
2013-09-28 12:34:03 -07:00
kevin
a112c6b6a2 cmGrPlot.c : _cmGrPlotObjDestroy() now checks if the object about to be
destroyed is the focused object and updates p->fop accordingly.
2013-09-28 12:31:21 -07:00
kevin
67f4fddcd6 cmFileSys.h/c: Added cmFileSysGenFn(). 2013-09-28 12:30:13 -07:00
kevin
4b60819a35 cmAudDsp.c: Added a text output to delinate the audio and MIDI devices
in when printing the device report in cmAudDspReceiveClientMsg().
2013-09-28 12:29:49 -07:00
kevin
d52ea1c369 cmScore.c : Fixed apparent bug where p->sets[i].symArray[] was assigned
twice and p->sets[i].costSymArray[] was not assigned at all in _cmScProcSets().

Added a printf() which mysteriously prevents an OS-X Crash in _cmScProcSets().
2013-09-28 12:28:54 -07:00
kevin
46a3bcfc9f cmScore.c : Debug output. 2013-09-26 17:57:57 -07:00
kevin
85776619e2 cmDspPgmKr.c : Removed printing from time-line audio begin sample index output. 2013-09-26 12:49:43 -07:00
kevin
79b1666c2c cmDspKr.c : Bug fix to support multiple sync points in the same
audio and/or midi file.

AmSync object is now reset as part of the printing operation.
2013-09-26 12:48:55 -07:00
kpl
35afc5f004 cmDspKr.c : Updated AmSync output format. 2013-09-26 08:56:14 -07:00
kpl
ffde60139a cmDspKr.h/c: Added 'AmSync' DSP processor object. Added unique midi msg
id output to midi file player. Added audio and midi label output to
time line object.
2013-09-25 23:46:11 -07:00
kpl
0af84b0363 cmDspPgmKr.c : Added use of AmSync object. 2013-09-25 23:44:59 -07:00
kpl
1bbecc58c2 cmDspBuiltIn.c : Added AmSync DSP class. 2013-09-25 23:44:35 -07:00
kpl
bec5f199b4 cmMidiFile.h/c : Added a the unique msg id 'uid' to cmMidiTrackMsg_t.
Changed the dtick to seconds/samples conversions to use doubles
instead of integers to avoid round off error.
2013-09-25 23:43:59 -07:00
kpl
63e3713c84 cmTimeLine.h/c: Added cmTimeLineGenOnsetMarks() and empty shell code
for cmTimeLineDeleteOnsetMarks(). Added marker typeId field to
cmTlMarkerTl_t.
2013-09-25 23:42:19 -07:00
kpl
feae7dc12c cmOnset.h/c : Added cmOnsetCount(), cmOnsetSampleIndex() and
cmOnsetHopSampleCount().
2013-09-25 23:39:40 -07:00
kpl
797e73e958 cmOnset.h/c : Added median filter and pre-delay to audio output. 2013-09-24 16:16:36 -07:00
kpl
e386a9675d cmMidiFile.h/c : Added cmMidiFileWrite() and the 'atick' absolute tick
value field.
2013-09-24 13:04:11 -07:00
kpl
6a46695080 cmOnset.h/c : Replaced cmOnsetExec() with cmOnsetProc() and cmOnsetWrite(). 2013-09-24 12:56:00 -07:00
kevin
2d85218c4b cmDspClass.c: Removed use of OS_OSX preproc. flags for working around
va_list differences with older gcc. This change is part of spat-lab port.
2013-09-05 15:58:41 -07:00
kevin
a204e9ad1c cmMidiOsx.c: Fixed bug in va_list usage in _cmMpError() which showed
up in spat-lab port.
2013-09-05 15:57:31 -07:00
kevin
caa4b558aa cmThread.c: Changed OSAtomicCompareAndSwap32Barrier() to OSAtomicCompareAndSwap64Barrier()
as part of port to spat-lab Mac.
2013-09-05 15:56:30 -07:00
kevin
73b2d853c8 cmErr.c: Fix bug in use of va_list which showed up on spat-lab Mac port. 2013-09-05 15:54:56 -07:00
kevin
4e117d50a9 merge updates to Xfader in cmProc3.c and cmDspFx.c. 2013-08-15 10:54:36 -07:00
kevin
7a08ab4793 cmProc3.h/c,cmDspFx.c:Added fade in/out times to xfader. 2013-08-13 15:21:42 -07:00
kevin
759ec01595 cmDspPgmKr.c:Added control to set xfade time. 2013-08-13 12:44:13 -07:00
kevin
13f8d89142 cmDspPgmKr.c: Changeed _cmDspSysPgm_TimeLine() to multiplex param's instead
of measurements.
2013-08-12 16:40:34 -07:00
kevin
a91cf15a24 cmProc4.c:Check for valid parameters in _cmScModActivate() 2013-08-12 16:39:49 -07:00
kpl
0dd72e910c cmDspPgmKr.c:Many changes to _cmDspSysPgm_TimeLine() to support
crossfading transforms.
2013-08-12 00:13:34 -07:00
kpl
4f5ff63a08 cmDspPgm.c: Removed _cmDspSysPgm_Switcher. 2013-08-12 00:12:32 -07:00
kpl
b56fee2605 cmDspKr.c:
1) Changed time-line to support setting data prefix path
in cmTimeLine initialization.
2) Added 'scloc' to 'ActiveMeas'.
2013-08-12 00:11:59 -07:00
kpl
94f1e7cd1f cmDspBuiltIn.c:Added 'reset' to 'Counter'. 2013-08-12 00:10:37 -07:00
kpl
c5b8c68e11 cmAudioDsp.c,cmAudDspIF.h/c,cmMsgProtocol.h,cmDspClass.h:Changes to
new procedure cmDspSysPrintPgm().
2013-08-12 00:10:03 -07:00
kpl
78faec2960 cmDspSys.h/c:Added _cmDspSysAssignUniqueInstSymId() to automatically assign
unique symbol id's to all DSP instances which were not assigned explicit symbol
id's.

Also added cmDspSysPrintPgm() to print the currently loaded program
network as a JSON file.
2013-08-12 00:08:32 -07:00
kpl
e918c4308b app/cmTimeLine.h/c,cmScoreProc.c:The time-line now takes a prefix path rather
then included explicit paths as part of the time-line data file.
2013-08-12 00:05:58 -07:00
kevin
cad6618f3d cmDspPgmKr.c:Measurements now can be independently scaled and mapped for
right and left transforms.
2013-07-13 17:22:26 -07:00
kevin
e78e80dd06 cmMallocDebug.c:Fixed bug in cmMdAllocStr() where terminating zero was not
always inserted.
2013-07-13 17:21:12 -07:00
kevin
efd54c7657 cmTimeLine.c,cmAudioPort.c,cmPgmOpts.c,cmProc.c,cmRtSys.c:
Changes to remove compiler warnings on OSX build.
2013-07-13 17:20:31 -07:00