view workingNotes.rtf @ 19:2e17f0fdeaef

offline method is now working, linked via pointer in BayesianStructure. Progresses using the time played so could be used for sequential offfline analysis
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Tue, 22 Nov 2011 13:30:02 +0000
parents 3f103cf78148
children 803edc47e825
line wrap: on
line source
{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf350
{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fnil\fcharset0 Menlo-Regular;}
{\colortbl;\red255\green255\blue255;\red0\green116\blue0;}
\paperw11900\paperh16840\margl1440\margr1440\vieww20940\viewh15820\viewkind0
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural

\f0\fs24 \cf0 \
Note on: send the note playtime. It did calculate this, but is now assumed sent in with the note on message via o/c\
\
lastPeriodUpdate is only used at beginning\
if we use time diff it doesn't work. Beetr try time since start somehow??\
\
\
\
\
\
USE ftmplayMidiFile in MaxMSP to send the MIDI notes in via OSC\
\
_ _ ______ __\
\
\
\
\
BUGS:\
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?\
\
\
using best estimate continually - good in the new note on function?\
\
+ + + + + + + + + \
\
best estimate locked to map so need to free\
\
need to do relative tempo estimates\
\
\
\
works\
bartok.mid counterexample:\
problem is that the tempo needs to estimate the likelihood confidence that the match is valid\
at the moment all are equally weighted.\
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.\
\
\
//new note\
in comes note\
\
decay speed distribution - so we have uncertainty about tempo\
\
cross update - so we have new prior for position\
\
\
//\
working well - 18/8/11\
\
need to look at :\
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.\
\
matches stored like this:
\f1\fs28 \CocoaLigature0 \
\pard\tx640\pardeftab640\ql\qnatural\pardirnatural
\cf0 	\cf2 //size, index of match0, index of match1, ....
\f0\fs24 \cf0 \CocoaLigature1 \
\
\
}