Programmable real-time audio signal processing application
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

notes.txt 5.3KB

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