aboutsummaryrefslogtreecommitdiff
path: root/smpToBpm-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'smpToBpm-help.pd')
-rw-r--r--smpToBpm-help.pd31
1 files changed, 12 insertions, 19 deletions
diff --git a/smpToBpm-help.pd b/smpToBpm-help.pd
index a7456f6..f8468bd 100644
--- a/smpToBpm-help.pd
+++ b/smpToBpm-help.pd
@@ -8,8 +8,6 @@
#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;
@@ -17,25 +15,20 @@
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 msg 22 152 \$3 \$1;
+#X text 70 150 <-samples samplerate;
+#X floatatom 198 180 5 0 0 0 - - -;
+#X text 218 139 By default \, the conversion is done with Pd's samplerate.
+You can override this by sending a list: samples samplerate;
+#X text 238 177 Samples;
#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;
+#X connect 7 0 8 0;
+#X connect 8 0 10 0;
+#X connect 9 0 15 0;
+#X connect 10 0 9 0;
+#X connect 15 0 5 0;
+#X connect 17 0 5 0;