Commit Graph

701 Commits

Author SHA1 Message Date
kpl
585b54c6d8 cmAudioFile.c: Fixed bug in cmAudioFileCreate() where error msg did not
report the name of the audio file which produced the error.
2013-10-16 13:14:18 -07:00
kevin
28d686922b cmDspPgm.c : Fixed mislabelled source connection on 'hzp' in
_cmDspSysPgm_Stereo_Through().
2013-10-16 09:03:12 -07:00
kevin
921597e50d cmDspPgmKr.c : Removed 'midiInPort' resource string because the MIDI input
port does not require a device or port selector.
2013-10-16 09:01:53 -07:00
kevin
3dc64bb1c0 cmMidiOsx.c : Removed some sanity checks in _cmMpMIdiSystemReadProc()
because the variables cheched were not used in the function and were
failing the sanity check.
2013-10-16 09:00:22 -07:00
kevin
cb19fb10a2 cmThread.c : Changed cmThPtrCAS() to select the CAS system call based on
OS_64 when compiling under OSX.  This allows backward compatibility with older
version of OSX.
2013-10-16 08:58:46 -07:00
kpl
5307482f6e cmDspPgmKr.h/c : Initial implementation of cmDspSysPgm_KrLive. 2013-10-15 14:50:48 -07:00
kpl
b4a3507bc5 cmDspPgm.c : Added _cmDspSysPgm_KrLive to the program list. 2013-10-15 14:50:00 -07:00
kpl
fe29450106 cmTaskMgr.h/c : Added dynamic thread allocation and task balancing. 2013-10-15 10:41:24 -07:00
kpl
9b9b49bf3c cmTaskMgr.h : Initial working version. 2013-10-15 07:23:52 -07:00
kpl
881aefdd2d cmTaskMgr.c : Initial working version. 2013-10-15 07:22:23 -07:00
kpl
dbf55083fa cmTaskMgr.h/c : Initial commit. Not yet debugged. 2013-10-14 12:28:26 -07:00
kpl
e2f77419d4 Makefile.am : Added cmTaskMgr.h/c. 2013-10-14 12:27:54 -07:00
kpl
f9f9873eaf cmText.h/c : Added cmTextSysIsStored() and cmTsIsStored(). 2013-10-12 20:21:08 -07:00
kpl
5464cbf4e4 cmLinkHeap.h/c : Added cmLHeapIsPtrInHeap(). 2013-10-12 20:20:37 -07:00
kevin
80498f4f79 cmData.h/c: cmDataPrepend/Insert/AppendChild() now automatically unlinks the
new child prior to relinking it to it's new parent.

Fixed bug in cmDataMakePair() where the key and value were never actually
linked in.
2013-10-11 12:00:06 -07:00
kevin
b0a06eba95 cmData.h/c : Update the cmDataGetXXX() functions to return error codes. 2013-10-10 14:54:04 -07:00
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