annotate workingNotes.rtf @ 11:df9c838d0b8f

fixed bug where the full midi file was sometimes not drawn (since minNoteIndexToPrint) was at the max and did not decrease properly in draw routine
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Tue, 25 Oct 2011 15:01:52 +0100
parents 2ab6f4670cf5
children 3f103cf78148
rev   line source
andrew@0 1 {\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf350
andrew@10 2 {\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fnil\fcharset0 Menlo-Regular;}
andrew@10 3 {\colortbl;\red255\green255\blue255;\red0\green116\blue0;}
andrew@1 4 \paperw11900\paperh16840\margl1440\margr1440\vieww20940\viewh15820\viewkind0
andrew@0 5 \pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural
andrew@0 6
andrew@11 7 \f0\fs24 \cf0 USE ftmplayMidiFile in MaxMSP to send the MIDI notes in via OSC\
andrew@11 8 \
andrew@11 9 _ _ ______ __\
andrew@11 10 \
andrew@11 11 BUGS:\
andrew@0 12 When prior and posterior etc are split off the screen, it doesn't find the right indices for them. Are we writing the correct prior vector? constrained limits?\
andrew@0 13 \
andrew@0 14 \
andrew@0 15 using best estimate continually - good in the new note on function?\
andrew@0 16 \
andrew@0 17 + + + + + + + + + \
andrew@0 18 \
andrew@0 19 best estimate locked to map so need to free\
andrew@0 20 \
andrew@0 21 need to do relative tempo estimates\
andrew@0 22 \
andrew@1 23 \
andrew@1 24 \
andrew@1 25 works\
andrew@1 26 bartok.mid counterexample:\
andrew@1 27 problem is that the tempo needs to estimate the likelihood confidence that the match is valid\
andrew@1 28 at the moment all are equally weighted.\
andrew@1 29 but if we know that the match is (n, k) then prob(loc_n) the phase at note n - gives us probability that the note is correctly identified.\
andrew@1 30 \
andrew@1 31 \
andrew@1 32 //new note\
andrew@1 33 in comes note\
andrew@1 34 \
andrew@1 35 decay speed distribution - so we have uncertainty about tempo\
andrew@1 36 \
andrew@10 37 cross update - so we have new prior for position\
andrew@10 38 \
andrew@10 39 \
andrew@10 40 //\
andrew@10 41 working well - 18/8/11\
andrew@10 42 \
andrew@10 43 need to look at :\
andrew@10 44 could weight the speed updates on the basis of how successful the location id was for the two notes. That way when we are on a roll we increase our ability to stay there.\
andrew@10 45 \
andrew@10 46 matches stored like this:
andrew@10 47 \f1\fs28 \CocoaLigature0 \
andrew@10 48 \pard\tx640\pardeftab640\ql\qnatural\pardirnatural
andrew@10 49 \cf0 \cf2 //size, index of match0, index of match1, ....
andrew@10 50 \f0\fs24 \cf0 \CocoaLigature1 \
andrew@10 51 }