Programmable real-time audio signal processing application
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

notes.txt 9.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. CONTENTS:
  2. 1) TODO List
  3. 2) OSX Install Notes
  4. SPAT LAB SETUP:
  5. + 1. Stereo
  6. a. TotalMix - select 'diff. stereo' snapshot
  7. b. mixer: Recall preset 91 ('stereo diff')
  8. + 2. Direct - 24 channels - each channel goes in and out on same number.
  9. a. TotalMix - select 'DTS_24ch'
  10. b. mixer: Recall preset 96 ('24ch firecac ufx')
  11. STRATEGY:
  12. + implement highly parallel version - which can take advantage of multiple processors
  13. to do more - acoustic pitch tracking, source separation based fades
  14. TODO:
  15. + When a cmMsgList item is selected it should send out the selected index
  16. after the individual data items rather than before them - this way the index
  17. can be used as a definitive signal to perform some action on the previously
  18. transmitted data items.
  19. + cmJson and cmLex should report the name of the file when with syntax error messages.
  20. + Use CSV for mod score file format (to eliminate need for labels)
  21. + Autoload of default pgm cfg, program, enable audio, sequence, score location.
  22. + (done) Circuit switcher patch.
  23. + Review and document the app threading and locking during audio file loading.
  24. + Remove old performance evaluation code from cmScore.
  25. + All programs should be able to reload without crashing via enabling/disabling audio.
  26. + (in new version) Select and save audio devices.
  27. + (done) Mac Conversion
  28. + (done) Live MIDI - to test audio/MIDI delay.
  29. + (done) As threshold increases overall volume decreases - add a compensation algorithm.
  30. + There are unintialized variable warnings on the release build.
  31. + Add preset delete.
  32. + All uses of va_copy() should have a complimentary va_end()
  33. + The list boxex do not show the currently selected item.
  34. + MIDI note messages are sent but do not trigger notes on OSX.
  35. *** 10/17
  36. Select bar 129.
  37. Start on F5 before 129.
  38. Score follower jumps to loc. 978 then backs up to 973.
  39. *** 9/27
  40. * Implement live recording for use in part 2.
  41. * Implement a delay between when a new section is set to trigger and when
  42. it actually does. This might allow transitions to be set up prior to when they are heard.
  43. * OS-X version crashes when the printf("PROCSET ...) is removed from _cmScProcSets().
  44. * Add ability to set mappings and perf. measure settings to scMod.
  45. * The scMod should play through all changes up to the cur starting location so that
  46. we can mimic the state of playing the piece through but allow starting from any location.
  47. * Experiment with changing settings using the scMod ramping functions.
  48. * Make a source separation based fade using an filter/inverse filter based on the
  49. spectrum prior to the cross-fade. As an extra feature notice the state of the pedal
  50. and decay appropriately.
  51. * The electronic score needs the ability to specify that the output is sent to the audible
  52. cross-fade channel rather than the inactive channel.
  53. * Add a score mode that performs some action (e.g. incr/decr) on each incoming score follower
  54. event.
  55. * In AvailCh what happens when no available channels are found - this may be the cause
  56. of the cross-fade cut-out problem.
  57. * Add eq stage to output.
  58. * Setting the upper slope to a negative value is effective.
  59. * Demo Material: Seq 8 Mark 204 (1024-4 2048-4) Fade 10ms Cost->Threshold.
  60. - recd7 Mark 151
  61. - recd8 Mark 145 - same settings a previous take.
  62. - (recd9) Mark 145 - w/ changing xfade switch to mode 4 at 38
  63. - recd10 Mark 145 - same w/ no mode change
  64. - recd11 Mark 145 - a. 3 different takes w/ score constant - no perf. parameters used - fixed threshold=65
  65. - recd12 Mark 148 b.(same settings as recd9)
  66. - recd13 Mark 151 c.
  67. - recd14 Mark 161 Section 40 - fixed changes see mod0.js for note
  68. - Seq 6 Mark 145 M-92 (38,39,39a) (recd16) (recd17) (recd18) (recd19)
  69. - Seq 7 Mark 167 M-100
  70. *** 8/13
  71. * Cross-fade was cutting out during demo.
  72. * Missing takes between seq 7 and seq 8.
  73. * The MIDI is mis-aligned against the audio.
  74. * Are cost / tempo working? ... test changing mode.
  75. * Add an automatic volume adjustment to prevent parameter changes from causing large volume changes.
  76. * What can we actually do between after a MIDI note is received? Is it already too late to
  77. send parameters w/o affecting the attack of the note.
  78. * Live Test material
  79. Part 1: Meas:76 - (one measure) to get measurments for later sections
  80. Part 1: Meas:94 (sect 38 (Seq 6)) through Meas:136 (include 136 stop at 137).
  81. Part 2: ("/Users/kevin/temp/piano score part 2 draft 1 master m 232 - 241 1st 2 bts.sib")
  82. The downbeat of part two aligns with the 3rd beat (in 4/4) of 122 in the first part.
  83. Ends on measure 131 at end of beat 3.
  84. MISSING MIDI for measures 114:126
  85. *** July 10
  86. ** (done) Make separate mappings and scale/range controls for left and right.
  87. ** Add EQ output stage.
  88. ** Work out the speaker setup.
  89. ** Add capture/playback. Analyze notes on capture and do not play if there are
  90. any wrong notes. (Skipped notes however are acceptable.)
  91. **
  92. ** When a section transition is occurs late - (e.g. due to dropped notes) do not apply
  93. the transformation all at once - instead either ramp it in or step it in on subsequent
  94. attacks. Section transitions which are positively identified are intended to have
  95. dramatic changes so applying the updated parameters immediately is acceptable - but
  96. when the parameters are changed mid-section they should be much applied subtely.
  97. ** (done) Build a database of measurements and setup the program to be able to
  98. apply a given measurement at it's assigned section.
  99. ** Redevelop spectral distortion algorithm to use a spline as the transform.
  100. ** use Log frequency frequency transform instead of FFT.
  101. ** Allow for a continous window size via zero padding.
  102. ** Add a 'write' preset file button - so the preset file can be saved prior to next crash.
  103. ** measurement values can generate MAX_DBL - be sure that are not being sent through to the audio algorithm.
  104. (see ln:965 cmDspKr.c for a hack to fix this)
  105. ** add invert to scale/range to cause output to go in opposite direction.
  106. ** non-grace eveneess are used to generate a measurement value from previous tempo calibration section.
  107. (non-grace evenness notes therefore have two scores: 'evenness' and 'overall-duration').
  108. ** note that the default setting for dyn and even.
  109. ** add dyn,even,tempo,cost number boxes to allow artificial setting of these parameters.
  110. add dyn,even,tempo,cost as modulator variables to allow them to be set from the modulator
  111. With these additions we can simulate apply measurements at the 'application' section.
  112. ** add begining and ending measure numbers to 'seq' labels
  113. ** Gain compensation for mode 4.
  114. ** Do IFFT using cos()^c + i * sin()^c - these bases are orthognal but cause harmonic distortion.
  115. To be efficient this might involve writing an FFT function.
  116. // May 22
  117. ** Crashers (Should be tested but are probably already fixed following score follower debugging.)
  118. Seq 2 m24 Mark 36 & 38
  119. Seq 4: Mark 115
  120. Seq 4: m76-79 Mark 129 (W/ meas: even & dyn -> thresh change min Thresh to 40) - use 4th seq w/ b1
  121. Seq 6: m92 Mark 143
  122. Seq 7: m103 Mark 173
  123. Seq 7: Mark 172 Meas 103 - always crashes on playback.
  124. Seq 4: Mark 76 Meas 40 - crash!
  125. Seq 2: First mark meas 23
  126. Crash seems to happen in cmProc4.c: _cmScMatchInitMtx() ln:1311.
  127. It looks like a memory overrun. Looks like the first line is wrong
  128. shouldn't:
  129. if( rn >p->mrn && cn > p->mcn )
  130. be
  131. if(rn*cn > p->mrn*p->mcn)
  132. BUGS:
  133. // Apr 20
  134. The tempo measurement can produce invalid values. Set score to 22 then play Mark 38.
  135. First tempo measurement is a non-sense value - probably produced by an div by zero.
  136. Also: Mark 8, Meas 10.
  137. Crash on playing Mark 37.
  138. Click on list control outside below list item - crash!
  139. Select Mark 171 (Seq 7) Section 43, m103 crash
  140. // Feb 27
  141. + Audio seems to preceded MIDI by around 250ms this probably arises
  142. from a delay that was inserted by 'mas'. Can the delay be removed?
  143. // Feb 25
  144. + Fix the audio file input/output ports
  145. //
  146. // Feb 6 & 7
  147. //
  148. + Performed notes which arrive which about 50ms could be
  149. considered chords. Extra notes notes which were not part of
  150. the chord are probably common and should be discounted during
  151. the cost analysis.
  152. + (done) Add alignment cost as a 4th variable along with dyn,even,tempo.
  153. + (done) In the score print out (score_loc.txt) Section 2 is starting on Bar 5
  154. when it should start inside Bar 7.
  155. + In Take 1 the 2nd dynamics set is not triggered.
  156. + In Take 3 Eveness 2 the C2 and F#4 are NOT missing althrough they are in the
  157. evalation. Also E7 which ends that set is not marked with an 'e'.
  158. + It is possible to have even-non-grace sets where the note rythm value's are not
  159. all the same (e.g. bar 20 )
  160. + User soft-thresholds for the dynamics categories.
  161. + Set 39 even measure 25 shows the first note as G#2 when it should be C#1
  162. + Missig MIDI note sounded:
  163. C1 score-loc:132
  164. A#2 140
  165. A5 173
  166. C#2 195 Marker 36
  167. E5,G33,A#2,C#1 212-218 Marker 36
  168. E3 185 Marker 37
  169. F5,C#4,G#5 986 Marker 204
  170. -------------------------------------------------------------------------------
  171. OSX - Install Notes
  172. -------------------------------------------------------------------------------
  173. 1. Install macports
  174. 2. Install git-core (sudo port install git-core)
  175. 3. sudo port install fftw-3
  176. 4. sudo port install fftw-3--single
  177. 5. port select --list gcc (which gcc is active)
  178. 6. sudo port install gcc47
  179. 7. sudo port --set gcc mp-gcc47
  180. 8. sudo port install fltk
  181. 9. sudo port install xorg-libX11
  182. 10.sudo port install git-core
  183. 11.sudo port install emacs +x11
  184. 10 install ~/Library/Preferences/org.larke.kc.txt (is this required?)
  185. 11 create ~/Library/Preferences/kc
  186. 12 Install ~/Library/Preferences/time_line.js, time_line_preset.js, time_line_preset.csv