< Back to IRCAM Forum

Loading labels in DTW help file

Hello,

i’m trying to understand how mubu.dtw works. The helpfile says to load labels from a text file with buffer_name label

I tried using this attached txt file to get the classify message to work, but it still gives me No labels loaded yet , am I misunderstanding something?

dtwlabels.txt.txt (39 Bytes)

Hi James,

I had to look into the code to understand how this is supposed to work. It really expects the buffer to have a name, index is not enough, but you can get there for the moment sending

namebuffers "1" "2" "3" "4" "5" "6"

to the db. I’ll try to see if this could work also just with indices.

it’s even more convoluted: the buffer name must be set as buffer info and forced to string like this


----------begin_max5_patcher----------
471.3oc2VtsSDBCDF9deJZZ7Rz.kCF8UwXLE1YWqBsjdPW0ru61NvttFqtPL
dHxE.scl1+9kN+vyGQ7WzZ0ZvPufbI1Lb87t21Ffe321INPGecSK2DRl1AFC
eEPSdeXVXsMDRsa4RPSNNiHjKUDIuCHGyhkQqPBMJmLjFKx38bayMB4pq0PS
HlKIY4krSSSH4rpviyKwF96jqhjuXQPOp5aOoL1xKccBYKXMevx6GW4riAjE
IfgQsO1Cn3nTxUuInM6ZsI4KQcI7feW7YPum2bGQPLzYgQ1..qJvFrChw7h+
6bzpLO1UqZmHGKROCQWExwxylJGYGhiY+o4XsyZUxodViMfkzT7Qw16GfQrz
3yu16mXA80fjW2F1no+DnrlKW8Kdrz8jfTQxlIwywh7hoVcm80qtymJJSd8o
v6++wjEeaT23GL9zuggvHDUbnaTNcynL15mQhikEfwJjbqveNeW7kCgO6SAy
UVr4IKbaj88qqPI4bzUVwOCuv0gMSdEeenzK.cvS3OmlYGTyoSpFh22eOnMC
S9qB0aHcqJLKmmrWeBI12d08TMbuXL68bdobs2Ex5sfb5vtjttZe2DZmxqQo
SrCsifjhlfg+Qz3+EFLyfk4QadABRJjc
-----------end_max5_patcher-----------