Merge branch 'master' of klarke.webfactional.com:webapps/gitweb/repos/kc

This commit is contained in:
kevin larke 2017-04-16 11:40:56 -04:00
commit 7ab6eda0f1
8 changed files with 2643 additions and 89 deletions

View File

@ -0,0 +1,53 @@
0) Log-in to Mac as 'kevin'.
1) Setup hardware
a. Turn on MOTU Traveler (MOTU Audio Setup window shows up on Mac)
b. Turn on mixer.
Channel 1: Transformation Left (Mute button down)
2: Transformation Right (Mute button down)
3: Dry Piano Left (Mute button up)
4: Dry Piano Right (Mute button up)
2) Start Ivory
a. Insert ILOK
b. Select Ivory Standalone from Mac Menu.
c. Select 'Program Preset' "German Concert D Grand"
d. Audio | Device = Soundflower (2ch)
3) Start 'kc'
a. Right click on: src | kc | build | osx | debug | bin | kc
and select 'Open'.
b. The grey 'kc' window will open and a white terminal window
will open behind it. The terminal window will end with
the message:
"UDP Network error: The JSON 'udpnet' element was not found. (RC:9)"
(Contrary to what it says this is a not an error message.)
c. Select the 'Enable Audio' checkbox. Some text will be printed
to the terminal window.
mode:1
mode:1
wsn:2048 hsn:512
wsn:1024 hsn:256
wsn:2048 hsn:512
wsn:1024 hsn:256
mode:1
mode:1
/Users/kevin/temp/score_temp.mid : 0
A7 : 0
/Users/kevin/temp/score_temp.mid : 0
A7 : 0
d. Select the 'Main' tab.
e. Push the 'Start' button to begin playback.
If playback does not start and errors show up in the
terminal window goto a.
f. By default playback begins from measure 1.
To begin playback from a different measure
enter the measure number in the edit box
labelled 'meas' and preset enter.

View File

@ -0,0 +1,894 @@
# Generate the 'mod' file for time_line_lite.js
import sys,copy
# Selected presets
scoreSeqL = [
( 1,"g_1_d"),
( 18,"a"),
( 43,"d"),
( 55,"g_1_a"),
( 74,"a"),
( 80,"d"),
( 91,"dry"),
( 95,"b"),
( 102,"g_a"),
( 126,"b"),
( 142,"a"),
( 156,"a"),
( 171,"a"),
( 186,"b"),
( 231,"f_4"),
( 236,"g_1_d"),
( 264,"g_1_d"),
( 286,"dry"),
( 291,"f_3"),
( 353,"f_4"),
( 378,"g_1_a"),
( 384,"f_4"),
( 391,"g_1_d"),
( 451,"f_1"),
( 480,"f_4"),
( 544,"f_1"),
( 559,"dry"),
( 610,"dry"),
( 699,"g_a"),
( 778,"f_3"),
( 917,"g_1_d"),
( 971,"f_3"),
(1025,"g_1_d"),
(1090,"g_1_d")
]
# Hard-coded presets
initPresetStr = """
init:
[
// wnd len:1=512 2=1024 3=2048 4=4096 5=8192
{ loc:-1, mod:m1, var:win0, type:set, rate:100, val:3 },
{ var:win1, rate:100, val:2 },
// hop: 1=1 2=2 3=4 4=8 5=16
{ var:hop0, rate:100, val:3 },
{ var:hop1, rate:100, val:3 },
{ var:mod0, val:1 },
{ var:mod1, val:1 },
{ var:thr0, val:65 },
{ var:thr1, val:65 },
{ var:upr0, val:0 },
{ var:upr1, val:0 },
{ var:lwr0, val:2.0 }, // lwr has a hardcoded min. of 0.3
{ var:lwr1, val:2.0 },
{ var:off0, val:20 },
{ var:off1, val:20 },
{ var:wet0, val:0.0 },
{ var:wet1, val:0.0 },
{ var:mint0, val:55 },
{ var:maxt0, val:85 },
{ var:minu0, val:0.0 },
{ var:maxu0, val:0.5 },
{ var:minl0, val:0 },
{ var:maxl0, val:3 },
{ var:mino0, val:-100.0 },
{ var:maxo0, val:100.0 },
{ var:mint1, val:55 },
{ var:maxt1, val:85 },
{ var:minu1, val:0.0 },
{ var:maxu1, val:0.5 },
{ var:minl1, val:0 },
{ var:maxl1, val:3 },
{ var:mino1, val:-100.0 },
{ var:maxo1, val:100.0 },
{ var:xfad0, val:100.0 },
{ var:xfad1, val:100.0 },
{ var:sw0, type:decl, val:1 },
{ var:sw1, type:decl, val:1 },
// compressor
{ var:cbyp0, type:set, val:0.0 },
{ var:cigain0, val:3.0 },
{ var:cthrsh0, val:-20.0 },
{ var:cratio0, val:2.0 },
{ var:catkms0, val:20.0 },
{ var:crlsms0, val:1000.0 },
{ var:cmakeup0, val:1.0 },
{ var:cwndms0, val:200 },
{ var:cbyp1, val:0.0 },
{ var:cigain1, val:3.0 },
{ var:cthrsh1, val:-20.0 },
{ var:cratio1, val:2.0 },
{ var:catkms1, val:20.0 },
{ var:crlsms1, val:1000.0 },
{ var:cmakeup1, val:1.0 },
{ var:cwndms1, val:200 },
{ var:dgain0, val:1.0 },
{ var:dgain1, val:1.0 },
{ var:wgain0, val:1.0 },
{ var:wgain1, val:1.0 },
]
// Dry
preset_dry :
[
{ loc:-1 mod:m1 var:mod0, type:set, val:1 },
{ var:cigain0, val: 5.0 },
{ var:wet0 val: 0.0}
{ var:sw0, val:0 },
{ var:mod1 val:1 },
{ var:cigain1, val: 5.0 },
{ var:wet1 val: 0.0}
{ var:sw1, val:0 },
]
"""
# Default labels to match the 'kc' menu.
dfltLabelsL = [ "a","b","c","d","f_1", "f_2", "f_3", "f_4", "g", "g_a", "g_1_a", "g_1_d" ]
# Default preset values.
dfltPresetL = [
{"a":
[
{
"mod": 1,
"thr": 60.0,
"upr": -1.1,
"lwr": 2.0,
"off": 0.0,
"cigain": 6.0,
"wet": 1.0,
"wgain": 1.75,
"sw": 0
},
{
"mod": 1,
"thr": 60.0,
"upr": -0.99,
"lwr": 2.0,
"off": 0.0,
"cigain": 6.0,
"wet": 1.0,
"wgain": 1.75,
"sw": 0
}
]
},
{"b":
[
{
"mod": 1,
"thr": 77.0,
"upr": -0.5,
"lwr": 3.0,
"off": 0.0,
"cigain":10.0,
"wet": 1.0,
"wgain": 1.75,
"sw": 0
},
{
"mod": 1,
"thr": 74.0,
"upr": -0.5,
"lwr": 2.0,
"off": 0.0,
"cigain":10.0,
"wet": 1.0,
"wgain": 1.75,
"sw": 0
}
]
},
{"c":
[
{
"mod": 1,
"thr": 80.0,
"upr": -0.5,
"lwr": 5.0,
"off": 0.0,
"cigain":11.0,
"wet": 1.0,
"wgain": 1.0,
"sw": 0
},
{
"mod": 1,
"thr": 80.0,
"upr": -0.5,
"lwr": 5.0,
"off": 0.0,
"cigain":11.0,
"wet": 1.0,
"wgain": 1.0,
"sw": 0
}
]
},
{"d":
[
{
"mod": 1,
"thr": 70.0,
"upr": -3.9,
"lwr": 4.0,
"off": 0.0,
"cigain": 9.0,
"wet": 1.0,
"wgain": 1.0,
"sw": 0
},
{
"mod": 1,
"thr": 70.0,
"upr": -4.5,
"lwr": 4.0,
"off": 0.0,
"cigain": 9.0,
"wet": 1.0,
"wgain": 1.0,
"sw": 0
}
]
},
{"f_1":
[
{
"mod": 1,
"thr": 50.0,
"upr": -3.0,
"lwr": 1.0,
"off": 0.0,
"cigain": 6.0,
"wet": 1.0,
"wgain": 2.0,
"sw": 0
},
{
"mod": 1,
"thr": 50.0,
"upr": -3.0,
"lwr": 1.0,
"off": 0.0,
"cigain": 6.0,
"wet": 1.0,
"wgain": 2.0,
"sw": 0
}
]
},
{"f_2":
[
{
"mod": 1,
"thr": 60.0,
"upr": -3.0,
"lwr": 1.0,
"off": 0.0,
"cigain": 6.0,
"wet": 1.0,
"wgain": 2.0,
"sw": 0
},
{
"mod": 1,
"thr": 60.0,
"upr": -3.0,
"lwr": 1.0,
"off": 0.0,
"cigain": 6.0,
"wet": 1.0,
"wgain": 2.0,
"sw": 0
}
]
},
{"f_3":
[
{
"mod": 1,
"thr": 55.0,
"upr": -3.0,
"lwr": 1.0,
"off": 0.0,
"cigain": 6.0,
"wet": 1.0,
"wgain": 2.0,
"sw": 0
},
{
"mod": 1,
"thr": 55.0,
"upr": -3.0,
"lwr": 1.0,
"off": 0.0,
"cigain": 6.0,
"wet": 1.0,
"wgain": 2.0,
"sw": 0
}
]
},
{"f_4":
[
{
"mod": 1,
"thr": 55.0,
"upr": -5.0,
"lwr": 1.0,
"off": 0.0,
"cigain": 6.0,
"wet": 1.0,
"wgain": 2.0,
"sw": 0
},
{
"mod": 1,
"thr": 55.0,
"upr": -5.0,
"lwr": 1.0,
"off": 0.0,
"cigain": 6.0,
"wet": 1.0,
"wgain": 2.0,
"sw": 0
}
]
},
{"g":
[
{
"mod": 4,
"thr": 60.0,
"upr": -0.7,
"lwr": 8.0,
"off": 20.0,
"cigain":10.0,
"wet": 1.0,
"wgain": 1.0,
"sw": 0
},
{
"mod": 4,
"thr": 64.0,
"upr": -0.7,
"lwr": 8.0,
"off": 20.0,
"cigain":10.0,
"wet": 1.0,
"wgain": 1.0,
"sw": 0
}
]
},
{"g_a":
[
{
"mod": 4,
"thr": 50.0,
"upr": -0.7,
"lwr": 2.0,
"off": 40.0,
"cigain":10.0,
"wet": 1.0,
"wgain": 1.0,
"sw": 0
},
{
"mod": 4,
"thr": 54.0,
"upr": -0.7,
"lwr": 8.0,
"off": 40.0,
"cigain":10.0,
"wet": 1.0,
"wgain": 1.0,
"sw": 0
}
]
},
{"g_1_a":
[
{
"mod": 4,
"thr": 50.0,
"upr": -0.7,
"lwr": 8.0,
"off": 20.0,
"cigain":10.0,
"wet": 1.0,
"wgain": 1.0,
"sw": 0
},
{
"mod": 4,
"thr": 54.0,
"upr": -0.7,
"lwr": 2.0,
"off": 20.0,
"cigain":10.0,
"wet": 1.0,
"wgain": 1.0,
"sw": 0
}
]
},
{"g_1_d":
[
{
"mod": 4,
"thr": 40.0,
"upr": -0.4,
"lwr": 7.0,
"off": 60.0,
"cigain":10.0,
"wet": 1.0,
"wgain": 1.0,
"sw": 0
},
{
"mod": 4,
"thr": 34.0,
"upr": -0.3,
"lwr": 5.0,
"off": 64.0,
"cigain":10.0,
"wet": 1.0,
"wgain": 1.0,
"sw": 0
}
]
}
]
def write_seq( f, label, seqL ):
""" Write a sequence preset.
seqL = [
(loc preset_label) # Set 'preset_label' to 'None' to assign the seq. label to the preset label.
(loc var ch value) # 'ch' is 0=left or 1=right
]
"""
f.write("seq_%s :\n" % label)
f.write("[\n")
f.write("{ loc:-1 type:exec val:init },\n")
f.write("{ loc:-1 val:preset_dry },\n")
typ0 = 'exec'
for x in seqL:
typ1 = typ0
if len(x) == 2:
typ1 = 'exec'
preset_label = label if x[1]==None else x[1]
typeS = 'type:exec,' if typ0!=typ1 else ' '
f.write("{ loc:%5i, %s val:preset_%s },\n" % (x[0],typeS,preset_label))
elif len(x) == 4:
typ1 = 'set'
typeS = 'type:set' if typ0!=typ1 else ' '
f.write("{ loc:%5i %s var:%s%i val:%7.2f },\n" % (x[0],typeS,x[1],x[2],x[3]))
typ0 = typ1
f.write("]\n\n")
def write_preset_ch( f, presetD, ch ):
fmt0 = "{ loc:-1 mode:m1 var:%6s%i, type:set, val:%7.2f },\n"
fmt1 = "{ var:%6s%i, val:%7.2f },\n"
fmt = fmt0 if ch==0 else fmt1
for key,val in presetD.items():
f.write(fmt % (key,ch,val))
fmt = fmt1
def write_preset( f, label, psL ):
f.write("preset_%s : \n" % label)
f.write("[\n")
write_preset_ch(f, psL[0], 0 )
f.write("\n")
write_preset_ch(f, psL[1], 1 )
f.write("]\n")
def write_seqs( f, labelL, seqL ):
""" Assign a list of preset changes to all sequences named in labelL."""
for label in labelL:
write_seq( f, label, seqL )
def write_presets( f, presetL ):
for x in presetL:
label = x.keys()[0]
psL = x[label]
write_preset(f,label,psL)
def label_to_psL( presetL, keyLabel ):
for preset in presetL:
label = preset.keys()[0]
if label == keyLabel:
return preset[label]
raise ValueError( "Preset %s not found." % keyLabel)
def dupl_preset( presetL, keyLabel, labelsL ):
""" Create a new preset list formed by duplicating the preset
identified by 'keyLabel' for each label in 'labelsL'
"""
psL = label_to_psL(presetL,keyLabel);
newL = []
for label in labelsL:
newL.append( { label:copy.deepcopy(psL) } )
return newL
def mod_range( presetL, var, val00, val01, val10, val11 ):
N = len(presetL)
v0L = []
v1L = []
for i in range(0,N):
v0L.append( val00 + (i*(val01-val00)/(N-1)) )
v1L.append( val10 + (i*(val11-val10)/(N-1)) )
for i,preset in enumerate(presetL):
label = preset.keys()[0]
psL = preset[label]
#print "%i %s %f %f" % (i,label,v0L[i],v1L[i])
psL[0][var] = v0L[i]
psL[1][var] = v1L[i]
def mod_discrete_range( presetL, var, v0L, v1L ):
assert( len(v0L) == len(v1L) )
N = min(len(v0L),len(presetL))
for i in range(N):
preset = presetL[i]
label = preset.keys()[0]
psL = preset[label]
print "%i %s %f %f" % (i,label,v0L[i],v1L[i])
psL[0][var] = v0L[i]
psL[1][var] = v1L[i]
return N
def print_preset( presetL ):
for x in presetL:
label = x.keys()[0]
psL = x[label]
print "%s %i" % (label,len(psL))
for i,psD in enumerate(psL):
for var,val in psD.items():
print "%s%i:%f" % (var,i,val)
if __name__ == "__main__":
#print_preset( presetL )
fn = sys.argv[1]
#
seq0L = [
( 961, "g_1_d"), # (loc preset_label)
( 967, "wnd", 0, 3 ), # (loc var channel value)
( 967, "f_3"), # (loc preset_label)
(1023, None) # (loc preset_label = seq_label)
]
seq1L =[
(1, None) # meas 1
#(301, None) # meas 33
#(480, None) # meas 41
]
presetL = []
# assign a sequential range of thresholds to each preset
if 0: # 12/28/16
mod_range( presetL, "thr", 50.0, 90.0, 55.0, 95.0 )
mod_range( presetL, "cigain", 6.0, 12.0, 6.0, 12.0 )
mod_range( presetL, "upr", 2.5, -5.0, 2.3, -5.2)
mod_range( presetL, "lwr", 0.5, 2.0, 0.5, 2.0)
if 0: # 12/28/16
# make all presets identical to preset 'a'.
presetL = dupl_preset( dfltPresetL, "g_1_d", dfltLabelsL)
#mod_range( presetL, "thr", 30.0, 90.0, 35.0, 95.0 )
#mod_range( presetL, "cigain", 10.0, 16.0, 10.0, 16.0 )
mod_range( presetL, "thr", 65.0, 65.0, 65.0, 65.0 )
#mod_range( presetL, "upr", -0.05, 4.5, -0.05, 4.5) # upr slope min: -0.05
mod_range( presetL, "upr", -0.05, -0.05, -0.05, -0.05)
#mod_range( presetL, "lwr", 1.1, 8.0, 1.1, 8.0 ) # 1.5 is good
#mod_range( presetL, "lwr", 8.0, 8.0, 8.0, 8.0 )
mod_range( presetL, "lwr", 1.5, 1.5, 1.5, 1.5 )
mod_range( presetL, "off", 0.0, 99.9, 0.0, 99.9)
#mod_range( presetL, "upr", 2.5, -5.0, 2.3, -5.2)
#mod_range( presetL, "lwr", 0.5, 2.0, 0.5, 2.0)
if 0: # 1/14/17
seq1L =[
(778, None) # meas 50
]
if 0:
presetL = dupl_preset( dfltPresetL, "f_3", dfltLabelsL)
# thr: (40 ok) - (71 0k) upr:-3.0 lwr:1.0 cigain:6.0 vetted trajectory for measure 50
mod_range( presetL, "thr", 40.0, 71.0, 40.0, 71.0 )
#mod_range( presetL, "thr", 68.0, 68.0, 68.0, 68.0 )
#mod_range( presetL, "upr", -4.0, 0.0, -4.0, 0.0)
mod_range( presetL, "upr", -3.0, -3.0, -3.0, -3.0)
mod_range( presetL, "lwr", 1.0, 1.0, 1.0, 1.0 )
mod_range( presetL, "cigain", 6.0, 6.0, 6.0, 6.0 )
else: # 3/6/17
presetL = dupl_preset( dfltPresetL, "g_1_a", dfltLabelsL)
mod_range( presetL, "thr", 20.0, 50.0, 20.0, 50.0 ) # offs:65 thr:20-50
mod_range( presetL, "off", 10.0, 80.0, 10.0, 80.0)
mod_range( presetL, "upr", -0.7, -0.2, -0.7, -0.2 )
mod_range( presetL, "lwr", 2.0, 2.0, 8.0, 4.0 )
mod_range( presetL, "cigain", 10.0, 14.0, 10.0, 14.0 )
if 0: # 1/14/17 and 1/28/17
seq1L =[
(917, None) # meas 53
#(1, None) # meas 1
]
# 2/4/17 vetted for both meas 53 and meas 1
# make all presets identical to preset 'a'.
presetL = dupl_preset( dfltPresetL, "g_1_d", dfltLabelsL)
mod_range( presetL, "thr", 20.0, 50.0, 20.0, 50.0 ) # offs:65 thr:20-50
#mod_range( presetL, "off", 10.0, 80.0, 10.0, 80.0)
#mod_range( presetL, "off", 65.0, 65.0, 65.0, 65.0) # thr 34, offset should be > 50
#mod_range( presetL, "off", 50.0, 80.0, 50.0, 80.0)
mod_range( presetL, "off", 10.0, 80.0, 10.0, 80.0)
mod_range( presetL, "cigain", 14.0, 14.0, 14.0, 14.0 )
if 0: # 1/28/17
seq1L =[
(917, None) # meas 53
]
# make all presets identical to preset 'a'.
presetL = dupl_preset( dfltPresetL, "f_3", dfltLabelsL)
mod_range( presetL, "thr", 40.0, 90.0, 40.0, 90.0 )
mod_range( presetL, "upr", 0.0, 0.0, 0.0, 0.0 )
mod_range( presetL, "lwr", 4.0, 4.0, 4.0, 4.0) # vocal artifacts come in with lwr < 4
mod_range( presetL, "cigain", 3.0, 8.0, 3.0, 8.0 )
if 0: # 2/4/17
seq1L =[
(378, None), # meas 36
]
presetL = dupl_preset( dfltPresetL, "g_1_a", dfltLabelsL)
mod_range( presetL, "thr", 20.0, 50.0, 20.0, 50.0 ) # offs:65 thr:20-50
mod_range( presetL, "off", 10.0, 80.0, 10.0, 80.0)
mod_range( presetL, "upr", -0.7, -0.2, -0.7, -0.2 )
mod_range( presetL, "lwr", 2.0, 2.0, 8.0, 4.0 )
mod_range( presetL, "cigain", 10.0, 14.0, 10.0, 14.0 )
if 0: # 2/4/17
seq1L =[
(378, "g_1_a"), # meas 36
(384, None),
]
presetL = dupl_preset( dfltPresetL, "f_4", dfltLabelsL)
mod_range( presetL, "thr", 70.0, 75.0, 70.0, 75.0 )
mod_range( presetL, "upr", -8.0, -4.0, -8.0, -4.0 )
mod_range( presetL, "lwr", 8.0, 1.0, 8.0, 1.0)
mod_range( presetL, "cigain", 10.0, 14.0, 10.0, 14.0 )
if 0:
seq1L =[
(1, None) # meas 1
]
# 2/4/17 vetted for both meas 53 and meas 1
# make all presets identical to preset 'a'.
presetL = dupl_preset( dfltPresetL, "g_1_d", dfltLabelsL)
print "preset len:",len(presetL)
w0L = [ 512, 512, 512, 512, 1024, 1024, 1024, 2048, 2048, 4096 ]
w1L = [ 512, 1024, 2048, 4096, 1024, 2048, 4096, 2048, 4096, 4096 ]
N = mod_discrete_range( presetL, "win", w0L, w1L )
presetL = presetL[0:N]
mod_range( presetL, "thr", 40.0, 40.0, 40.0, 40.0 ) # offs:65 thr:20-50
mod_range( presetL, "off", 55.0, 55.0, 55.0, 55.0)
mod_range( presetL, "cigain", 14.0, 14.0, 14.0, 14.0 )
if 0: # 3/6/17
seq1L =[
(1, None) # meas 1
]
presetL = dupl_preset( dfltPresetL, "g_1_d", dfltLabelsL)
mod_range( presetL, "thr", 20.0, 50.0, 20.0, 50.0 ) # offs:65 thr:20-50
mod_range( presetL, "off", 10.0, 80.0, 10.0, 80.0)
mod_range( presetL, "cigain", 14.0, 14.0, 14.0, 14.0 )
if 0: # 3/6/17
seq1L =[
(1, None) # meas 1
]
presetL = dupl_preset( dfltPresetL, "a", dfltLabelsL)
mod_range( presetL, "thr", 55.0, 65.0, 55.0, 65.0 )
mod_range( presetL, "upr", -1.0, -5.0, -1.0, -5.0 )
mod_range( presetL, "lwr", 2.0, 1.0, 2.0, 1.0 )
mod_range( presetL, "cigain", 6.0, 8.0, 6.0, 8.0 )
if 0: # 3/6/17
seq1L =[
#(1, None) # meas 38
(476, None)
]
presetL = dupl_preset( dfltPresetL, "f_4", dfltLabelsL)
"""
w0L = [ 512, 512, 512, 512, 1024, 1024, 1024, 2048, 2048, 4096 ]
w1L = [ 512, 1024, 2048, 4096, 1024, 2048, 4096, 2048, 4096, 4096 ]
N = mod_discrete_range( presetL, "win", w0L, w1L )
presetL = presetL[0:N]
"""
if 1:
mod_range( presetL, "thr", 55.0, 65.0, 55.0, 65.0 )
mod_range( presetL, "upr", -1.0, -5.0, -1.0, -5.0 )
mod_range( presetL, "lwr", 2.0, 1.0, 2.0, 1.0 )
mod_range( presetL, "cigain", 6.0, 8.0, 6.0, 8.0 )
else:
mod_range( presetL, "thr", 55.0, 75.0, 55.0, 75.0 )
mod_range( presetL, "upr", -8.0, -4.0, -8.0, -4.0 )
mod_range( presetL, "lwr", 8.0, 1.0, 8.0, 1.0)
mod_range( presetL, "cigain", 10.0, 14.0, 10.0, 14.0 )
if 1: # 3/11/17
seq1L =[
(1015, None) # meas 57 (just before section 29)
#(1068, None) # meas 58 (just before section 29)
]
presetL = dupl_preset( dfltPresetL, "g_1_d", dfltLabelsL)
# this is a good parameter space - notice that it can
# generate 4 lines connecting the diagnals of a cube
mod_range( presetL, "thr", 10.0, 80.0, 10.0, 80.0 ) # line 1
mod_range( presetL, "off", 10.0, 99.0, 10.0, 99.0)
#mod_range( presetL, "thr", 10.0, 80.0, 10.0, 80.0 ) # line 2
#mod_range( presetL, "off", 99.0, 10.0, 99.0, 10.0)
#mod_range( presetL, "upr", 5.0, -1.5, 5.0, -1.5 )
mod_range( presetL, "upr", -1.5, 5.0, -1.5, 5.0 )
#mod_range( presetL, "lwr", 0.9, 30.0, 0.9, 30.0 )
mod_range( presetL, "cigain", 14.0, 14.0, 14.0, 14.0 )
# thr upr lwr offs
# 65 -0.05 1.5 0.0
# 99.9
# 65 -0.05 10.0 0.0
# 99.0
with open(fn,"wt") as f:
f.write("{\n")
write_seqs(f,dfltLabelsL,seq1L) # assign seq0L to each sequence
#write_seqs(f,'a',scoreSeqL); # the only sequence will be 'a'
f.write("%s\n" % initPresetStr)
write_presets(f,presetL)
f.write("}\n")

View File

@ -0,0 +1,70 @@
import numpy as np
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
import csv
plt.switch_backend('TkAgg')
"""
def randrange(n, vmin, vmax):
return (vmax - vmin)*np.random.rand(n) + vmin
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
n = 100
for c, m, zl, zh in [('r', 'o', -50, -25), ('b', '^', -30, -5)]:
xs = randrange(n, 23, 32)
ys = randrange(n, 0, 100)
zs = randrange(n, zl, zh)
ax.scatter(xs, ys, zs, c=c, marker=m)
ax.set_xlabel('X Label')
ax.set_ylabel('Y Label')
ax.set_zlabel('Z Label')
plt.show()
"""
fn = "preset.csv"
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
ax.set_xlabel('Threshold')
ax.set_ylabel('Lower')
ax.set_zlabel('Upper')
with open(fn) as f:
rd = csv.reader(f)
rd.next()
for x in rd:
label = x[0]
ch = x[1]
mode = x[2]
thresh= x[3]
upr = x[4]
lwr = x[5]
offs = x[6]
c = 'b'
if float(mode)==4:
c = 'g'
if float(mode)==0:
c = 'r'
lbl = "%s-%s" % (label,ch)
x = float(thresh)
y = float(lwr)
z = float(upr)
ax.scatter(x,y,z,c=c)
ax.text(x,y,z, '%s' % (lbl), size=10, zorder=1, color='k')
plt.show()

View File

@ -0,0 +1,33 @@
Preset,Channel,Mode,Threshold,Upper,Lower,Offset,CGain,WetDry,WGain
A,L,1.000000,60.000000,-1.100000,2.000000,,6.000000,1.000000,1.750000,
A,R,1.000000,60.000000,-0.990000,2.000000,,6.000000,1.000000,1.750000,
B,L,1.000000,77.000000,-0.500000,3.000000,,10.000000,,1.750000,
B,R,1.000000,74.000000,-0.500000,2.000000,,10.000000,,1.750000,
C,L,1.000000,80.000000,-0.500000,5.000000,,11.000000,1.000000,,
C,R,1.000000,80.000000,-0.500000,5.000000,,11.000000,1.000000,,
D,L,1.000000,70.000000,-3.900000,4.000000,,9.000000,1.000000,,
D,R,1.000000,70.000000,-4.500000,4.000000,,9.000000,1.000000,,
F_1,L,1.000000,50.000000,-3.000000,1.000000,,6.000000,1.000000,2.000000,
F_1,R,1.000000,50.000000,-3.000000,1.000000,,6.000000,1.000000,2.000000,
F_2,L,1.000000,60.000000,-3.000000,1.000000,,6.000000,1.000000,2.000000,
F_2,R,1.000000,60.000000,-3.000000,1.000000,,6.000000,1.000000,2.000000,
F_3,L,1.000000,55.000000,-3.000000,1.000000,,6.000000,1.000000,2.000000,
F_3,R,1.000000,55.000000,-3.000000,1.000000,,6.000000,1.000000,2.000000,
F_4,L,1.000000,55.000000,-5.000000,1.000000,,6.000000,1.000000,2.000000,
F_4,R,1.000000,55.000000,-5.000000,1.000000,,6.000000,1.000000,2.000000,
G,L,4.000000,60.000000,-0.700000,8.000000,20.000000,10.000000,1.000000,,
G,R,4.000000,64.000000,-0.700000,8.000000,20.000000,10.000000,1.000000,,
G_A,L,4.000000,50.000000,-0.700000,2.000000,40.000000,10.000000,1.000000,,
G_A,R,4.000000,54.000000,-0.700000,2.000000,40.000000,10.000000,1.000000,,
G_1_A,L,4.000000,50.000000,-0.700000,8.000000,20.000000,10.000000,1.000000,1.000000,
G_1_A,R,4.000000,54.000000,-0.700000,2.000000,20.000000,10.000000,1.000000,1.000000,
G_1_D,L,4.000000,40.000000,-0.400000,7.000000,60.000000,10.000000,1.000000,1.000000,
G_1_D,R,4.000000,34.000000,-0.300000,5.000000,64.000000,10.000000,1.000000,1.000000,
1, X,0, 40,-5.5,0.3,0
2, X,0, 40,-5.5,8.0,0
3, X,0, 40, 2.5,0.3,0
4, X,0, 40, 2.5,8.0,0
5, X,0, 95,-5.5,0.3,0
6, X,0, 95,-5.5,8.0,0
7, X,0, 95, 2.5,0.3,0
8, X,0, 95, 2.5,8.0,0
1 Preset,Channel,Mode,Threshold,Upper,Lower,Offset,CGain,WetDry,WGain
2 A,L,1.000000,60.000000,-1.100000,2.000000,,6.000000,1.000000,1.750000,
3 A,R,1.000000,60.000000,-0.990000,2.000000,,6.000000,1.000000,1.750000,
4 B,L,1.000000,77.000000,-0.500000,3.000000,,10.000000,,1.750000,
5 B,R,1.000000,74.000000,-0.500000,2.000000,,10.000000,,1.750000,
6 C,L,1.000000,80.000000,-0.500000,5.000000,,11.000000,1.000000,,
7 C,R,1.000000,80.000000,-0.500000,5.000000,,11.000000,1.000000,,
8 D,L,1.000000,70.000000,-3.900000,4.000000,,9.000000,1.000000,,
9 D,R,1.000000,70.000000,-4.500000,4.000000,,9.000000,1.000000,,
10 F_1,L,1.000000,50.000000,-3.000000,1.000000,,6.000000,1.000000,2.000000,
11 F_1,R,1.000000,50.000000,-3.000000,1.000000,,6.000000,1.000000,2.000000,
12 F_2,L,1.000000,60.000000,-3.000000,1.000000,,6.000000,1.000000,2.000000,
13 F_2,R,1.000000,60.000000,-3.000000,1.000000,,6.000000,1.000000,2.000000,
14 F_3,L,1.000000,55.000000,-3.000000,1.000000,,6.000000,1.000000,2.000000,
15 F_3,R,1.000000,55.000000,-3.000000,1.000000,,6.000000,1.000000,2.000000,
16 F_4,L,1.000000,55.000000,-5.000000,1.000000,,6.000000,1.000000,2.000000,
17 F_4,R,1.000000,55.000000,-5.000000,1.000000,,6.000000,1.000000,2.000000,
18 G,L,4.000000,60.000000,-0.700000,8.000000,20.000000,10.000000,1.000000,,
19 G,R,4.000000,64.000000,-0.700000,8.000000,20.000000,10.000000,1.000000,,
20 G_A,L,4.000000,50.000000,-0.700000,2.000000,40.000000,10.000000,1.000000,,
21 G_A,R,4.000000,54.000000,-0.700000,2.000000,40.000000,10.000000,1.000000,,
22 G_1_A,L,4.000000,50.000000,-0.700000,8.000000,20.000000,10.000000,1.000000,1.000000,
23 G_1_A,R,4.000000,54.000000,-0.700000,2.000000,20.000000,10.000000,1.000000,1.000000,
24 G_1_D,L,4.000000,40.000000,-0.400000,7.000000,60.000000,10.000000,1.000000,1.000000,
25 G_1_D,R,4.000000,34.000000,-0.300000,5.000000,64.000000,10.000000,1.000000,1.000000,
26 1, X,0, 40,-5.5,0.3,0
27 2, X,0, 40,-5.5,8.0,0
28 3, X,0, 40, 2.5,0.3,0
29 4, X,0, 40, 2.5,8.0,0
30 5, X,0, 95,-5.5,0.3,0
31 6, X,0, 95,-5.5,8.0,0
32 7, X,0, 95, 2.5,0.3,0
33 8, X,0, 95, 2.5,8.0,0

View File

@ -3,6 +3,44 @@
[ [
{ loc: -1 type:exec val:init } { loc: -1 type:exec val:init }
{ loc: -1 val:preset_dry } { loc: -1 val:preset_dry }
{ loc: 1 val:preset_g_1_d } // meas:1 sect:1
{ loc: 18 val:preset_a } // meas:2 sect:2
{ loc: 43 val:preset_d } // sect:4
{ loc: 55 val:preset_g_1_a } // meas:4 sect:5
{ loc: 74 val:preset_b } // meas:5 sect:6
{ loc: 80 val:preset_g_1_d } // sect:7
{ loc: 91 val:preset_dry } // sect:8
{ loc: 95 val:preset_b } // meas:8
{ loc: 102 val:preset_g_a } // sect:9
{ loc: 126 val:preset_b } // sect:10
{ loc: 142 val:preset_a } // meas:15 sect:11
{ loc: 156 val:preset_a } // meas:19 sect:12
// { loc: 171 val:preset_a } // meas:20 sect:13
{ loc: 186 val:preset_b } // sect:14
{ loc: 231 val:preset_f_4 } // meas:25
{ loc: 236 val:preset_g_1_d } // sect:15
// { loc: 264 val:preset_g_1_d } // sect:16
{ loc: 286 val:preset_dry } // meas:32
{ loc: 291 val:preset_f_3 } // sect:17
{ loc: 353 val:preset_f_4 } // meas:35 sect:18
{ loc: 378 val:preset_g_1_a } // meas:36 sect:19
{ loc: 384 val:preset_f_4 } // mid 36
{ loc: 391 val:preset_g_1_d } // meas:37
{ loc: 451 val:preset_f_1 } // sect:20
{ loc: 480 val:preset_f_4 } // meas:41 sect:21
{ loc: 544 val:preset_f_1 } // sect:22 (or g_1_d)
{ loc: 559 val:preset_dry } // meas:44
// { loc: 610 val:preset_dry } // sect:23
{ loc: 699 val:preset_g_a } // sect:24
{ loc: 778 val:preset_f_3 } // meas:50
{ loc: 917 val:preset_g_1_d } // sect:26
{ loc: 971 val:preset_f_3 } // sect:27
{ loc: 1025 val:preset_g_1_d } // sect:28
// { loc: 1090 val:preset_g_1_d } // sect:29
/* /*
{ loc: 17 val:preset_a } { loc: 17 val:preset_a }
{ loc: 47 val:preset_d } { loc: 47 val:preset_d }
@ -29,76 +67,93 @@
{ loc: 476 val:preset_f_4 } { loc: 476 val:preset_f_4 }
{ loc: 541 val:preset_g_1_d } // or f_4 { loc: 541 val:preset_g_1_d } // or f_4
{ loc: 555 val:preset_dry } { loc: 555 val:preset_dry }
{ loc: 605 val:preset_g_1_a } { loc: 605 val:preset_g_1_a } // (now 609)
{ loc: 698 val:preset_g_a } // selection with score0_a.mid
{ loc: 777 val:preset_f_3 }
{ loc: 915 val:preset_g_1_d }
{ loc: 967 val:preset_f_3 }
{ loc: 1023 val:preset_g_1_d }
*/
/*
{ loc: 961 val:preset_g_1_d }
{ loc: 967 val:preset_f_3 }
{ loc: 1023 val:preset_a }
*/ */
{ loc: 566 val:preset_dry }
{ loc: 605 val:preset_a }
] ]
seq_b : seq_b :
[ [
{ loc: -1 type:exec val:init } { loc: -1 type:exec val:init }
{ loc: -1 val:preset_dry } { loc: -1 val:preset_dry }
{ loc: 566 val:preset_dry } { loc: 961 val:preset_g_1_d }
{ loc: 605 val:preset_b } { loc: 967 val:preset_f_3 }
{ loc: 1023 val:preset_b }
] ]
seq_c : seq_c :
[ [
{ loc: -1 type:exec val:init } { loc: -1 type:exec val:init }
{ loc: -1 val:preset_dry } { loc: -1 val:preset_dry }
{ loc: 566 val:preset_dry } { loc: 961 val:preset_g_1_d }
{ loc: 605 val:preset_c } { loc: 967 val:preset_f_3 }
{ loc: 1023 val:preset_c }
] ]
seq_d : seq_d :
[ [
{ loc: -1 type:exec val:init } { loc: -1 type:exec val:init }
{ loc: -1 val:preset_dry } { loc: -1 val:preset_dry }
{ loc: 566 val:preset_dry } { loc: 961 val:preset_g_1_d }
{ loc: 605 val:preset_d } { loc: 967 val:preset_f_3 }
{ loc: 1023 val:preset_d }
] ]
seq_f_1 : seq_f_1 :
[ [
{ loc: -1 type:exec val:init } { loc: -1 type:exec val:init }
{ loc: -1 val:preset_dry } { loc: -1 val:preset_dry }
{ loc: 566 val:preset_dry } { loc: 961 val:preset_g_1_d }
{ loc: 605 val:preset_f_1 } { loc: 967 val:preset_f_3 }
{ loc: 1023 val:preset_f_1 }
] ]
seq_f_2 : seq_f_2 :
[ [
{ loc: -1 type:exec val:init } { loc: -1 type:exec val:init }
{ loc: -1 val:preset_dry } { loc: -1 val:preset_dry }
{ loc: 566 val:preset_dry } { loc: 961 val:preset_g_1_d }
{ loc: 605 val:preset_f_2 } { loc: 967 val:preset_f_3 }
{ loc: 1023 val:preset_f_2 }
] ]
seq_f_3 : seq_f_3 :
[ [
{ loc: -1 type:exec val:init } { loc: -1 type:exec val:init }
{ loc: -1 val:preset_dry } { loc: -1 val:preset_dry }
{ loc: 566 val:preset_dry } { loc: 961 val:preset_g_1_d }
{ loc: 605 val:preset_f_3 } { loc: 967 val:preset_f_3 }
{ loc: 1023 val:preset_f_3 }
] ]
seq_f_4 : seq_f_4 :
[ [
{ loc: -1 type:exec val:init } { loc: -1 type:exec val:init }
{ loc: -1 val:preset_dry } { loc: -1 val:preset_dry }
{ loc: 566 val:preset_dry } { loc: 961 val:preset_g_1_d }
{ loc: 605 val:preset_f_4 } { loc: 967 val:preset_f_3 }
{ loc: 1023 val:preset_f_4 }
] ]
seq_g : seq_g :
[ [
{ loc: -1 type:exec val:init } { loc: -1 type:exec val:init }
{ loc: -1 val:preset_dry } { loc: -1 val:preset_dry }
{ loc: 566 val:preset_dry } { loc: 961 val:preset_g_1_d }
{ loc: 605 val:preset_g } { loc: 967 val:preset_f_3 }
{ loc: 1023 val:preset_g }
] ]
@ -106,8 +161,9 @@
[ [
{ loc: -1 type:exec val:init } { loc: -1 type:exec val:init }
{ loc: -1 val:preset_dry } { loc: -1 val:preset_dry }
{ loc: 566 val:preset_dry } { loc: 961 val:preset_g_1_d }
{ loc: 605 val:preset_g_a } { loc: 967 val:preset_f_3 }
{ loc: 1023 val:preset_g_a }
] ]
@ -115,8 +171,9 @@
[ [
{ loc: -1 type:exec val:init } { loc: -1 type:exec val:init }
{ loc: -1 val:preset_dry } { loc: -1 val:preset_dry }
{ loc: 566 val:preset_dry } { loc: 961 val:preset_g_1_d }
{ loc: 605 val:preset_g_1_d } { loc: 967 val:preset_f_3 }
{ loc: 1023 val:preset_g_1_d }
] ]
@ -124,8 +181,9 @@
[ [
{ loc: -1 type:exec val:init } { loc: -1 type:exec val:init }
{ loc: -1 val:preset_dry } { loc: -1 val:preset_dry }
{ loc: 566 val:preset_dry } { loc: 961 val:preset_g_1_d }
{ loc: 605 val:preset_g_1_a } { loc: 967 val:preset_f_3 }
{ loc: 1023 val:preset_g_1_a }
] ]

1445
src/kc/data/round1.csv Normal file

File diff suppressed because it is too large Load Diff

View File

@ -28,66 +28,67 @@
offset: 0 offset: 0
smpCnt: 31680000 smpCnt: 31680000
trackId: 0 trackId: 0
textStr: "a7.mid" textStr: "round1.mid"
} }
{ label: "1" type: "mk" ref: "mf-0" offset: 0 smpCnt:31531648 trackId: 0 textStr: "Bar 1" bar: 1 sec:" 1" } { label: "1" type: "mk" ref: "mf-0" offset: 0 smpCnt:31989618 trackId: 0 textStr: "Bar 1" bar: 1 sec:" 1" }
{ label: "2" type: "mk" ref: "mf-0" offset: 554213 smpCnt:30977435 trackId: 0 textStr: "Bar 2" bar: 2 sec:" 2" } { label: "2" type: "mk" ref: "mf-0" offset: 569203 smpCnt:31420415 trackId: 0 textStr: "Bar 2" bar: 2 sec:" 2" }
{ label: "3" type: "mk" ref: "mf-0" offset: 1144981 smpCnt:30386667 trackId: 0 textStr: "Bar 3" bar: 3 sec:" 3" } { label: "3" type: "mk" ref: "mf-0" offset: 1163329 smpCnt:30826289 trackId: 0 textStr: "Bar 3" bar: 3 sec:" 3" }
{ label: "4" type: "mk" ref: "mf-0" offset: 1712129 smpCnt:29819519 trackId: 0 textStr: "Bar 4" bar: 4 sec:" 4" } { label: "4" type: "mk" ref: "mf-0" offset: 1739185 smpCnt:30250433 trackId: 0 textStr: "Bar 4" bar: 4 sec:" 4" }
{ label: "5" type: "mk" ref: "mf-0" offset: 2287994 smpCnt:29243654 trackId: 0 textStr: "Bar 5" bar: 5 sec:" 5" } { label: "5" type: "mk" ref: "mf-0" offset: 2327502 smpCnt:29662116 trackId: 0 textStr: "Bar 5" bar: 5 sec:" 5" }
{ label: "6" type: "mk" ref: "mf-0" offset: 2872575 smpCnt:28659073 trackId: 0 textStr: "Bar 6" bar: 6 sec:" 6" } { label: "6" type: "mk" ref: "mf-0" offset: 2909448 smpCnt:29080170 trackId: 0 textStr: "Bar 6" bar: 6 sec:" 6" }
{ label: "7" type: "mk" ref: "mf-0" offset: 3448440 smpCnt:28083208 trackId: 0 textStr: "Bar 7" bar: 7 sec:" 7" } { label: "7" type: "mk" ref: "mf-0" offset: 3485116 smpCnt:28504502 trackId: 0 textStr: "Bar 7" bar: 7 sec:" 7" }
{ label: "8" type: "mk" ref: "mf-0" offset: 4024305 smpCnt:27507343 trackId: 0 textStr: "Bar 8" bar: 8 sec:" 8" } { label: "8" type: "mk" ref: "mf-0" offset: 4060784 smpCnt:27928834 trackId: 0 textStr: "Bar 8" bar: 8 sec:" 8" }
{ label: "9" type: "mk" ref: "mf-0" offset: 4600170 smpCnt:26931478 trackId: 0 textStr: "Bar 9" bar: 9 sec:" 9" } { label: "9" type: "mk" ref: "mf-0" offset: 4636452 smpCnt:27353166 trackId: 0 textStr: "Bar 9" bar: 9 sec:" 9" }
{ label: "10" type: "mk" ref: "mf-0" offset: 5320001 smpCnt:26211647 trackId: 0 textStr: "Bar 10" bar: 10 sec:" 10" } { label: "10" type: "mk" ref: "mf-0" offset: 5356038 smpCnt:26633580 trackId: 0 textStr: "Bar 10" bar: 10 sec:" 10" }
{ label: "11" type: "mk" ref: "mf-0" offset: 5744307 smpCnt:25787341 trackId: 0 textStr: "Bar 11" bar: 11 sec:" 11" } { label: "11" type: "mk" ref: "mf-0" offset: 5787883 smpCnt:26201735 trackId: 0 textStr: "Bar 11" bar: 11 sec:" 11" }
{ label: "12" type: "mk" ref: "mf-0" offset: 6327764 smpCnt:25203884 trackId: 0 textStr: "Bar 12" bar: 12 sec:" 12" } { label: "12" type: "mk" ref: "mf-0" offset: 6369828 smpCnt:25619790 trackId: 0 textStr: "Bar 12" bar: 12 sec:" 12" }
{ label: "13" type: "mk" ref: "mf-0" offset: 6903629 smpCnt:24628019 trackId: 0 textStr: "Bar 13" bar: 13 sec:" 13" } { label: "13" type: "mk" ref: "mf-0" offset: 6945497 smpCnt:25044121 trackId: 0 textStr: "Bar 13" bar: 13 sec:" 13" }
{ label: "14" type: "mk" ref: "mf-0" offset: 7479494 smpCnt:24052154 trackId: 0 textStr: "Bar 14" bar: 14 sec:" 14" } { label: "14" type: "mk" ref: "mf-0" offset: 7521165 smpCnt:24468453 trackId: 0 textStr: "Bar 14" bar: 14 sec:" 14" }
{ label: "15" type: "mk" ref: "mf-0" offset: 8055359 smpCnt:23476289 trackId: 0 textStr: "Bar 15" bar: 15 sec:" 15" } { label: "15" type: "mk" ref: "mf-0" offset: 8096833 smpCnt:23892785 trackId: 0 textStr: "Bar 15" bar: 15 sec:" 15" }
{ label: "16" type: "mk" ref: "mf-0" offset: 8631224 smpCnt:22900424 trackId: 0 textStr: "Bar 16" bar: 16 sec:" 16" } { label: "16" type: "mk" ref: "mf-0" offset: 8672501 smpCnt:23317117 trackId: 0 textStr: "Bar 16" bar: 16 sec:" 16" }
{ label: "17" type: "mk" ref: "mf-0" offset: 9207088 smpCnt:22324560 trackId: 0 textStr: "Bar 17" bar: 17 sec:" 17" } { label: "17" type: "mk" ref: "mf-0" offset: 9248169 smpCnt:22741449 trackId: 0 textStr: "Bar 17" bar: 17 sec:" 17" }
{ label: "18" type: "mk" ref: "mf-0" offset: 9782953 smpCnt:21748695 trackId: 0 textStr: "Bar 18" bar: 18 sec:" 18" } { label: "18" type: "mk" ref: "mf-0" offset: 9836580 smpCnt:22153038 trackId: 0 textStr: "Bar 18" bar: 18 sec:" 18" }
{ label: "19" type: "mk" ref: "mf-0" offset: 10358818 smpCnt:21172830 trackId: 0 textStr: "Bar 19" bar: 19 sec:" 19" } { label: "19" type: "mk" ref: "mf-0" offset: 10412249 smpCnt:21577369 trackId: 0 textStr: "Bar 19" bar: 19 sec:" 19" }
{ label: "20" type: "mk" ref: "mf-0" offset: 10934683 smpCnt:20596965 trackId: 0 textStr: "Bar 20" bar: 20 sec:" 20" } { label: "20" type: "mk" ref: "mf-0" offset: 10987917 smpCnt:21001701 trackId: 0 textStr: "Bar 20" bar: 20 sec:" 20" }
{ label: "21" type: "mk" ref: "mf-0" offset: 11510548 smpCnt:20021100 trackId: 0 textStr: "Bar 21" bar: 21 sec:" 21" } { label: "21" type: "mk" ref: "mf-0" offset: 11569956 smpCnt:20419662 trackId: 0 textStr: "Bar 21" bar: 21 sec:" 21" }
{ label: "22" type: "mk" ref: "mf-0" offset: 12086413 smpCnt:19445235 trackId: 0 textStr: "Bar 22" bar: 22 sec:" 22" } { label: "22" type: "mk" ref: "mf-0" offset: 12145625 smpCnt:19843993 trackId: 0 textStr: "Bar 22" bar: 22 sec:" 22" }
{ label: "23" type: "mk" ref: "mf-0" offset: 12854045 smpCnt:18677603 trackId: 0 textStr: "Bar 23" bar: 23 sec:" 23" } { label: "23" type: "mk" ref: "mf-0" offset: 12913182 smpCnt:19076436 trackId: 0 textStr: "Bar 23" bar: 23 sec:" 23" }
{ label: "24" type: "mk" ref: "mf-0" offset: 13238142 smpCnt:18293506 trackId: 0 textStr: "Bar 24" bar: 24 sec:" 24" } { label: "24" type: "mk" ref: "mf-0" offset: 13296961 smpCnt:18692657 trackId: 0 textStr: "Bar 24" bar: 24 sec:" 24" }
{ label: "25" type: "mk" ref: "mf-0" offset: 13814007 smpCnt:17717641 trackId: 0 textStr: "Bar 25" bar: 25 sec:" 25" } { label: "25" type: "mk" ref: "mf-0" offset: 13885372 smpCnt:18104246 trackId: 0 textStr: "Bar 25" bar: 25 sec:" 25" }
{ label: "26" type: "mk" ref: "mf-0" offset: 14533838 smpCnt:16997810 trackId: 0 textStr: "Bar 26" bar: 26 sec:" 26" } { label: "26" type: "mk" ref: "mf-0" offset: 14604957 smpCnt:17384661 trackId: 0 textStr: "Bar 26" bar: 26 sec:" 26" }
{ label: "27" type: "mk" ref: "mf-0" offset: 15253669 smpCnt:16277979 trackId: 0 textStr: "Bar 27" bar: 27 sec:" 27" } { label: "28" type: "mk" ref: "mf-0" offset: 15612377 smpCnt:16377241 trackId: 0 textStr: "Bar 28" bar: 28 sec:" 28" }
{ label: "28" type: "mk" ref: "mf-0" offset: 15541602 smpCnt:15990046 trackId: 0 textStr: "Bar 28" bar: 28 sec:" 28" } { label: "29" type: "mk" ref: "mf-0" offset: 16231145 smpCnt:15758473 trackId: 0 textStr: "Bar 29" bar: 29 sec:" 29" }
{ label: "29" type: "mk" ref: "mf-0" offset: 16141367 smpCnt:15390281 trackId: 0 textStr: "Bar 29" bar: 29 sec:" 29" } { label: "30" type: "mk" ref: "mf-0" offset: 16782827 smpCnt:15206791 trackId: 0 textStr: "Bar 30" bar: 30 sec:" 30" }
{ label: "30" type: "mk" ref: "mf-0" offset: 16693331 smpCnt:14838317 trackId: 0 textStr: "Bar 30" bar: 30 sec:" 30" } { label: "31" type: "mk" ref: "mf-0" offset: 17298747 smpCnt:14690871 trackId: 0 textStr: "Bar 31" bar: 31 sec:" 31" }
{ label: "31" type: "mk" ref: "mf-0" offset: 17209390 smpCnt:14322258 trackId: 0 textStr: "Bar 31" bar: 31 sec:" 31" } { label: "32" type: "mk" ref: "mf-0" offset: 17607077 smpCnt:14382541 trackId: 0 textStr: "Bar 32" bar: 32 sec:" 32" }
{ label: "32" type: "mk" ref: "mf-0" offset: 17517868 smpCnt:14013780 trackId: 0 textStr: "Bar 32" bar: 32 sec:" 32" } { label: "33" type: "mk" ref: "mf-0" offset: 18018185 smpCnt:13971433 trackId: 0 textStr: "Bar 33" bar: 33 sec:" 33" }
{ label: "33" type: "mk" ref: "mf-0" offset: 17929171 smpCnt:13602477 trackId: 0 textStr: "Bar 33" bar: 33 sec:" 33" } { label: "34" type: "mk" ref: "mf-0" offset: 18800845 smpCnt:13188773 trackId: 0 textStr: "Bar 34" bar: 34 sec:" 34" }
{ label: "34" type: "mk" ref: "mf-0" offset: 18618175 smpCnt:12913473 trackId: 0 textStr: "Bar 34" bar: 34 sec:" 34" } { label: "35" type: "mk" ref: "mf-0" offset: 18993083 smpCnt:12996535 trackId: 0 textStr: "Bar 35" bar: 35 sec:" 35" }
{ label: "35" type: "mk" ref: "mf-0" offset: 18795914 smpCnt:12735734 trackId: 0 textStr: "Bar 35" bar: 35 sec:" 35" } { label: "36" type: "mk" ref: "mf-0" offset: 19485551 smpCnt:12504067 trackId: 0 textStr: "Bar 36" bar: 36 sec:" 36" }
{ label: "36" type: "mk" ref: "mf-0" offset: 19290132 smpCnt:12241516 trackId: 0 textStr: "Bar 36" bar: 36 sec:" 36" } { label: "37" type: "mk" ref: "mf-0" offset: 20157508 smpCnt:11832110 trackId: 0 textStr: "Bar 37" bar: 37 sec:" 37" }
{ label: "37" type: "mk" ref: "mf-0" offset: 19962089 smpCnt:11569559 trackId: 0 textStr: "Bar 37" bar: 37 sec:" 37" } { label: "38" type: "mk" ref: "mf-0" offset: 20541484 smpCnt:11448134 trackId: 0 textStr: "Bar 38" bar: 38 sec:" 38" }
{ label: "38" type: "mk" ref: "mf-0" offset: 20346064 smpCnt:11185584 trackId: 0 textStr: "Bar 38" bar: 38 sec:" 38" } { label: "39" type: "mk" ref: "mf-0" offset: 21093878 smpCnt:10895740 trackId: 0 textStr: "Bar 39" bar: 39 sec:" 39" }
{ label: "40" type: "mk" ref: "mf-0" offset: 21673185 smpCnt: 9858463 trackId: 0 textStr: "Bar 40" bar: 40 sec:" 40" } { label: "40" type: "mk" ref: "mf-0" offset: 21921510 smpCnt:10068108 trackId: 0 textStr: "Bar 40" bar: 40 sec:" 40" }
{ label: "41" type: "mk" ref: "mf-0" offset: 21953212 smpCnt: 9578436 trackId: 0 textStr: "Bar 41" bar: 41 sec:" 41" } { label: "41" type: "mk" ref: "mf-0" offset: 22161434 smpCnt: 9828184 trackId: 0 textStr: "Bar 41" bar: 41 sec:" 41" }
{ label: "42" type: "mk" ref: "mf-0" offset: 22490905 smpCnt: 9040743 trackId: 0 textStr: "Bar 42" bar: 42 sec:" 42" } { label: "42" type: "mk" ref: "mf-0" offset: 22700266 smpCnt: 9289352 trackId: 0 textStr: "Bar 42" bar: 42 sec:" 42" }
{ label: "43" type: "mk" ref: "mf-0" offset: 22836468 smpCnt: 8695180 trackId: 0 textStr: "Bar 43" bar: 43 sec:" 43" } { label: "43" type: "mk" ref: "mf-0" offset: 23045755 smpCnt: 8943863 trackId: 0 textStr: "Bar 43" bar: 43 sec:" 43" }
{ label: "44" type: "mk" ref: "mf-0" offset: 23527594 smpCnt: 8004054 trackId: 0 textStr: "Bar 44" bar: 44 sec:" 44" } { label: "44" type: "mk" ref: "mf-0" offset: 23736734 smpCnt: 8252884 trackId: 0 textStr: "Bar 44" bar: 44 sec:" 44" }
{ label: "45" type: "mk" ref: "mf-0" offset: 23757970 smpCnt: 7773678 trackId: 0 textStr: "Bar 45" bar: 45 sec:" 45" } { label: "45" type: "mk" ref: "mf-0" offset: 23973358 smpCnt: 8016260 trackId: 0 textStr: "Bar 45" bar: 45 sec:" 45" }
{ label: "46" type: "mk" ref: "mf-0" offset: 24209721 smpCnt: 7321927 trackId: 0 textStr: "Bar 46" bar: 46 sec:" 46" } { label: "46" type: "mk" ref: "mf-0" offset: 24434161 smpCnt: 7555457 trackId: 0 textStr: "Bar 46" bar: 46 sec:" 46" }
{ label: "47" type: "mk" ref: "mf-0" offset: 24712434 smpCnt: 6819214 trackId: 0 textStr: "Bar 47" bar: 47 sec:" 47" } { label: "47" type: "mk" ref: "mf-0" offset: 24940010 smpCnt: 7049608 trackId: 0 textStr: "Bar 47" bar: 47 sec:" 47" }
{ label: "48" type: "mk" ref: "mf-0" offset: 25318675 smpCnt: 6212973 trackId: 0 textStr: "Bar 48" bar: 48 sec:" 48" } { label: "48" type: "mk" ref: "mf-0" offset: 25545857 smpCnt: 6443761 trackId: 0 textStr: "Bar 48" bar: 48 sec:" 48" }
{ label: "49" type: "mk" ref: "mf-0" offset: 25962806 smpCnt: 5568842 trackId: 0 textStr: "Bar 49" bar: 49 sec:" 49" } { label: "49" type: "mk" ref: "mf-0" offset: 26189779 smpCnt: 5799839 trackId: 0 textStr: "Bar 49" bar: 49 sec:" 49" }
{ label: "50" type: "mk" ref: "mf-0" offset: 26537135 smpCnt: 4994513 trackId: 0 textStr: "Bar 50" bar: 50 sec:" 50" } { label: "50" type: "mk" ref: "mf-0" offset: 26757945 smpCnt: 5231673 trackId: 0 textStr: "Bar 50" bar: 50 sec:" 50" }
{ label: "51" type: "mk" ref: "mf-0" offset: 27080816 smpCnt: 4450832 trackId: 0 textStr: "Bar 51" bar: 51 sec:" 51" } { label: "51" type: "mk" ref: "mf-0" offset: 27283511 smpCnt: 4706107 trackId: 0 textStr: "Bar 51" bar: 51 sec:" 51" }
{ label: "52" type: "mk" ref: "mf-0" offset: 27633016 smpCnt: 3898632 trackId: 0 textStr: "Bar 52" bar: 52 sec:" 52" } { label: "52" type: "mk" ref: "mf-0" offset: 27835266 smpCnt: 4154352 trackId: 0 textStr: "Bar 52" bar: 52 sec:" 52" }
{ label: "53" type: "mk" ref: "mf-0" offset: 28127950 smpCnt: 3403698 trackId: 0 textStr: "Bar 53" bar: 53 sec:" 53" } { label: "53" type: "mk" ref: "mf-0" offset: 28411559 smpCnt: 3578059 trackId: 0 textStr: "Bar 53" bar: 53 sec:" 53" }
{ label: "55" type: "mk" ref: "mf-0" offset: 29262005 smpCnt: 2269643 trackId: 0 textStr: "Bar 55" bar: 55 sec:" 55" } { label: "54" type: "mk" ref: "mf-0" offset: 28990748 smpCnt: 2998870 trackId: 0 textStr: "Bar 54" bar: 54 sec:" 54" }
{ label: "56" type: "mk" ref: "mf-0" offset: 29698652 smpCnt: 1832996 trackId: 0 textStr: "Bar 56" bar: 56 sec:" 56" } { label: "55" type: "mk" ref: "mf-0" offset: 29601462 smpCnt: 2388156 trackId: 0 textStr: "Bar 55" bar: 55 sec:" 55" }
{ label: "57" type: "mk" ref: "mf-0" offset: 30222219 smpCnt: 1309429 trackId: 0 textStr: "Bar 57" bar: 57 sec:" 57" } { label: "56" type: "mk" ref: "mf-0" offset: 30037686 smpCnt: 1951932 trackId: 0 textStr: "Bar 56" bar: 56 sec:" 56" }
{ label: "58" type: "mk" ref: "mf-0" offset: 30745786 smpCnt: 785862 trackId: 0 textStr: "Bar 58" bar: 58 sec:" 58" } { label: "57" type: "mk" ref: "mf-0" offset: 30643117 smpCnt: 1346501 trackId: 0 textStr: "Bar 57" bar: 57 sec:" 57" }
{ label: "59" type: "mk" ref: "mf-0" offset: 31269353 smpCnt: 262295 trackId: 0 textStr: "Bar 59" bar: 59 sec:" 59" } { label: "58" type: "mk" ref: "mf-0" offset: 31185330 smpCnt: 804288 trackId: 0 textStr: "Bar 58" bar: 58 sec:" 58" }
] ]
} }

BIN
src/kc/data/round1.mid Normal file

Binary file not shown.