#N canvas 249 157 583 441 10; #X floatatom 147 269 5 0 0 0 - - -; #X floatatom 113 268 5 0 0 0 - - -; #X text 109 286 BPM; #X text 143 286 Number of beats; #X floatatom 182 268 10 0 0 0 - - -; #X obj 113 243 mtl/smpToBpm; #X text 249 269 Frames per beat; #X obj 22 10 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 22 180 nbx 10 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 -262144 -1 -1 105992 256; #X obj 22 44 openpanel; #X obj 22 99 iemlib/soundfile_info; #X msg 22 69 read \$1; #X text 19 -56 Description: Tries to guess the bpm and beat count of a loop.; #X text 41 7 <- Load a prepared loop.; #X text 17 -27 tags: conversion musical; #X msg 22 152 \$3; #X text 51 153 <- The number of samples; #X obj 22 125 t l l; #X text 262 140 <- samplerate (defaults to pd's samplerate); #X msg 230 142 \$1; #X obj 230 164 nbx 10 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 -262144 -1 -1 44100 256; #X text 54 309 Sometimes the outputed bpm and number of beats will be twice or half the real values.; #X connect 5 0 1 0; #X connect 5 1 0 0; #X connect 5 2 4 0; #X connect 7 0 9 0; #X connect 8 0 5 0; #X connect 9 0 11 0; #X connect 10 0 17 0; #X connect 11 0 10 0; #X connect 15 0 8 0; #X connect 17 0 15 0; #X connect 17 1 19 0; #X connect 19 0 20 0; #X connect 20 0 5 1;