Programmable real-time audio signal processing application
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

notes.txt 6.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. CONTENTS:
  2. 1) TODO List
  3. 2) OSX Install Notes
  4. TODO:
  5. + When a cmMsgList item is selected it should send out the selected index
  6. after the individual data items rather than before them - this way the index
  7. can be used as a definitive signal to perform some action on the previously
  8. transmitted data items.
  9. + cmJson and cmLex should report the name of the file when with syntax error messages.
  10. + Use CSV for mod score file format (to eliminate need for labels)
  11. + Autoload of default pgm cfg, program, enable audio, sequence, score location.
  12. + Circuit switcher patch.
  13. + Review and document the app threading and locking during audio file loading.
  14. + Remove old performance evaluation code from cmScore.
  15. + All programs should be able to reload without crashing via enabling/disabling audio.
  16. + Select and save audio devices.
  17. + (done) Mac Conversion
  18. + (done) Live MIDI - to test audio/MIDI delay.
  19. + (done) As threshold increases overall volume decreases - add a compensation algorithm.
  20. + There are unintialized variable warnings on the release build.
  21. + Add preset delete.
  22. + All uses of va_copy() should have a complimentary va_end()
  23. *** 8/13
  24. * Cross-fade was cutting out during demo.
  25. * Missing takes between seq 7 and seq 8.
  26. * The MIDI is mis-aligned against the audio.
  27. * Are cost / tempo working? ... test changing mode.
  28. * Add an automatic volume adjustment to prevent parameter changes from causing large volume changes.
  29. * What can we actually do between after a MIDI note is received? Is it already too late to
  30. send parameters w/o affecting the attack of the note.
  31. * Live Test material
  32. Part 1: Meas:76 - (one measure) to get measurments for later sections
  33. Part 1: Meas:94 (sect 38) through Meas:136 (include 136 stop at 137).
  34. Part 2: ("/Users/kevin/temp/piano score part 2 draft 1 master m 232 - 241 1st 2 bts.sib")
  35. The downbeat of part two aligns with the 3rd beat (in 4/4) of 122 in the first part.
  36. Ends on measure 131 at end of beat 3.
  37. MISSING MIDI for 114:126
  38. *** July 10
  39. ** (done) Make separate mappings and scale/range controls for left and right.
  40. ** Add EQ output stage.
  41. ** Work out the speaker setup.
  42. ** Add capture/playback. Analyze notes on capture and do not play if there are
  43. any wrong notes. (Skipped notes however are acceptable.)
  44. **
  45. ** When a section transition is occurs late - (e.g. due to dropped notes) do not apply
  46. the transformation all at once - instead either ramp it in or step it in on subsequent
  47. attacks. Section transitions which are positively identified are intended to have
  48. dramatic changes so applying the updated parameters immediately is acceptable - but
  49. when the parameters are changed mid-section they should be much applied subtely.
  50. ** (done) Build a database of measurements and setup the program to be able to
  51. apply a given measurement at it's assigned section.
  52. ** Redevelop spectral distortion algorithm to use a spline as the transform.
  53. ** use Log frequency frequency transform instead of FFT.
  54. ** Allow for a continous window size via zero padding.
  55. ** Add a 'write' preset file button - so the preset file can be saved prior to next crash.
  56. ** measurement values can generate MAX_DBL - be sure that are not being sent through to the audio algorithm.
  57. (see ln:965 cmDspKr.c for a hack to fix this)
  58. ** add invert to scale/range to cause output to go in opposite direction.
  59. ** non-grace eveneess are used to generate a measurement value from previous tempo calibration section.
  60. (non-grace evenness notes therefore have two scores: 'evenness' and 'overall-duration').
  61. ** note that the default setting for dyn and even.
  62. ** add dyn,even,tempo,cost number boxes to allow artificial setting of these parameters.
  63. add dyn,even,tempo,cost as modulator variables to allow them to be set from the modulator
  64. With these additions we can simulate apply measurements at the 'application' section.
  65. ** add begining and ending measure numbers to 'seq' labels
  66. ** Gain compensation for mode 4.
  67. ** Do IFFT using cos()^c + i * sin()^c - these bases are orthognal but cause harmonic distortion.
  68. To be efficient this might involve writing an FFT function.
  69. // May 22
  70. ** Crashers (Should be tested but are probably already fixed following score follower debugging.)
  71. Seq 2 m24 Mark 36 & 38
  72. Seq 4: Mark 115
  73. Seq 4: m76-79 Mark 129 (W/ meas: even & dyn -> thresh change min Thresh to 40) - use 4th seq w/ b1
  74. Seq 6: m92 Mark 143
  75. Seq 7: m103 Mark 173
  76. Seq 7: Mark 172 Meas 103 - always crashes on playback.
  77. Seq 4: Mark 76 Meas 40 - crash!
  78. Seq 2: First mark meas 23
  79. Crash seems to happen in cmProc4.c: _cmScMatchInitMtx() ln:1311.
  80. It looks like a memory overrun. Looks like the first line is wrong
  81. shouldn't:
  82. if( rn >p->mrn && cn > p->mcn )
  83. be
  84. if(rn*cn > p->mrn*p->mcn)
  85. BUGS:
  86. // Apr 20
  87. The tempo measurement can produce invalid values. Set score to 22 then play Mark 38.
  88. First tempo measurement is a non-sense value - probably produced by an div by zero.
  89. Also: Mark 8, Meas 10.
  90. Crash on playing Mark 37.
  91. Click on list control outside below list item - crash!
  92. Select Mark 171 (Seq 7) Section 43, m103 crash
  93. // Feb 27
  94. + Audio seems to preceded MIDI by around 250ms this probably arises
  95. from a delay that was inserted by 'mas'. Can the delay be removed?
  96. // Feb 25
  97. + Fix the audio file input/output ports
  98. //
  99. // Feb 6 & 7
  100. //
  101. + Performed notes which arrive which about 50ms could be
  102. considered chords. Extra notes notes which were not part of
  103. the chord are probably common and should be discounted during
  104. the cost analysis.
  105. + (done) Add alignment cost as a 4th variable along with dyn,even,tempo.
  106. + (done) In the score print out (score_loc.txt) Section 2 is starting on Bar 5
  107. when it should start inside Bar 7.
  108. + In Take 1 the 2nd dynamics set is not triggered.
  109. + In Take 3 Eveness 2 the C2 and F#4 are NOT missing althrough they are in the
  110. evalation. Also E7 which ends that set is not marked with an 'e'.
  111. + It is possible to have even-non-grace sets where the note rythm value's are not
  112. all the same (e.g. bar 20 )
  113. + User soft-thresholds for the dynamics categories.
  114. + Set 39 even measure 25 shows the first note as G#2 when it should be C#1
  115. + Missig MIDI note sounded:
  116. C1 score-loc:132
  117. A#2 140
  118. A5 173
  119. C#2 195 Marker 36
  120. E5,G33,A#2,C#1 212-218 Marker 36
  121. E3 185 Marker 37
  122. F5,C#4,G#5 986 Marker 204
  123. -------------------------------------------------------------------------------
  124. OSX - Install Notes
  125. -------------------------------------------------------------------------------
  126. 1. Install macports
  127. 2. Install git-core (sudo port install git-core)
  128. 3. sudo port install fftw-3
  129. 4. sudo port install fftw-3--single
  130. 5. port select --list gcc (which gcc is active)
  131. 6. sudo port install gcc47
  132. 7. sudo port --set gcc mp-gcc47
  133. 8. sudo port install fltk
  134. 9. sudo port install xorg-libX11
  135. 10 install ~/Library/Preferences/org.larke.kc.txt (is this required?)
  136. 11 create ~/Library/Preferences/kc
  137. 12 Install ~/Library/Preferences/time_line.js, time_line_preset.js, time_line_preset.csv