kc/doc/notes.txt
2013-07-07 16:16:50 -07:00

119 lines
4.2 KiB
Plaintext

TODO:
+ Use CSV for mod score file format (to eliminate need for labels)
+ Autoload of default pgm cfg, program, enable audio, sequence, score location.
+ Circuit switcher patch.
+ Review and document the app threading and locking during audio file loading.
+ Remove old performance evaluation code from cmScore.
+ All programs should be able to reload without crashing via enabling/disabling audio.
+ Select and save audio devices.
+ (done) Mac Conversion
+ (done) Live MIDI - to test audio/MIDI delay.
+ (done) As threshold increases overall volume decreases - add a compensation algorithm.
+ THere are unintialized variable warnings on the release build.
+ Add preset delete.
+ All uses of va_copy() should have a complimentary va_end()
** Build a database of measurements and setup the program to be able to
apply a given measurement at it's assigned section.
** Redevelop spectral distortion algorithm to use a spline as the transform.
** use Log frequency frequency transform instead of FFT.
** Add a 'write' preset file button - so the preset file can be saved prior to next crash.
** measurement values can generate MAX_DBL - be sure that are not being sent through to the audio algorithm.
(see ln:965 cmDspKr.c for a hack to fix this)
** add invert to scale/range .
** non-grace eveneess are used to generate a measurement value from previous tempo calibration section.
(non-grace evenness notes therefore have two scores: 'evenness' and 'overall-duration').
** note that the default setting for dyn and even.
** add dyn,even,tempo,cost number boxes to allow artificial setting of these parameters.
add dyn,even,tempo,cost as modulator variables to allow them to be set from the modulator
With these additions we can simulate apply measurements at the 'application' section.
** add begining and ending measure numbers to 'seq' labels
** Gain compensation fore mode 4.
** Do IFFT using cos()^c + i * sin()^c - these bases are orthognal but cause harmonic distortion.
To be efficient this might involve writing an FFT function.
Seq 2 m24 Mark 36 & 38
Seq 4: Mark 115
Seq 4: m76-79 Mark 129 (W/ meas: even & dyn -> thresh change min Thresh to 40) - use 4th seq w/ b1
Seq 6: m92 Mark 143
Seq 7: m103 Mark 173
// May 22
+ Add invert to scale range to cause output to go in opposite direction.
+ Seq 7: Mark 172 Meas 103 - always crashes on playback.
Seq 4: Mark 76 Meas 40 - crash!
Seq 2: First mark meas 23
Crash seems to happen in cmProc4.c: _cmScMatchInitMtx() ln:1311.
It looks like a memory overrun. Looks like the first line is wrong
shouldn't:
if( rn >p->mrn && cn > p->mcn )
be
if(rn*cn > p->mrn*p->mcn)
BUGS:
// Apr 20
The tempo measurement can produce invalid values. Set score to 22 then play Mark 38.
First tempo measurement is a non-sense value - probably produced by an div by zero.
Also: Mark 8, Meas 10.
Crash on playing Mark 37.
Click on list control outside below list item - crash!
Select Mark 171 (Seq 7) Section 43, m103 crash
// Feb 27
+ Audio seems to preceded MIDI by around 250ms this probably arises
from a delay that was inserted by 'mas'. Can the delay be removed?
// Feb 25
+ Fix the audio file input/output ports
//
// Feb 6 & 7
//
+ Performed notes which arrive which about 50ms could be
considered chords. Extra notes notes which were not part of
the chord are probably common and should be discounted during
the cost analysis.
+ Add alignment cost as a 4th variable along with dyn,even,tempo.
+ In the score print out (score_loc.txt) Section 2 is starting on Bar 5
when it should start inside Bar 7.
+ In Take 1 the 2nd dynamics set is not triggered.
+ In Take 3 Eveness 2 the C2 and F#4 are NOT missing althrough they are in the
evalation. Also E7 which ends that set is not marked with an 'e'.
+ It is possible to have even-non-grace sets where the note rythm value's are not
all the same (e.g. bar 20 )
+ User soft-thresholds for the dynamics categories.
+ Set 39 even measure 25 shows the first note as G#2 when it should be C#1
+ Missig MIDI note sounded:
C1 score-loc:132
A#2 140
A5 173
C#2 195 Marker 36
E5,G33,A#2,C#1 212-218 Marker 36
E3 185 Marker 37
F5,C#4,G#5 986 Marker 204