Skip to content

Commit

Permalink
aifinfo into sfinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
porres committed Feb 14, 2025
1 parent 4e83898 commit a8f59c0
Show file tree
Hide file tree
Showing 3 changed files with 405 additions and 26 deletions.
Binary file added Documentation/Extra-files/audio/loop.aif
Binary file not shown.
50 changes: 27 additions & 23 deletions Documentation/Help-files/sfinfo-help.pd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#N canvas 552 38 569 462 10;
#N canvas 552 38 569 453 10;
#X obj 306 5 cnv 15 250 40 empty empty empty 12 13 0 18 #7c7c7c #e0e4dc 0;
#X obj 345 12 cnv 10 10 10 empty empty ELSE 0 15 2 30 #7c7c7c #e0e4dc 0;
#X obj 23 41 cnv 4 4 4 empty empty Query\ sound\ file\ information 0 28 2 18 #e0e0e0 #000000 0;
Expand All @@ -14,28 +14,32 @@
#N canvas 0 22 450 278 (subpatch) 0;
#X coords 0 1 100 -1 302 42 1;
#X restore 2 4 graph;
#X obj 7 413 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X obj 7 291 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 7 342 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 7 378 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 130 300 cnv 17 3 32 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 290 154 loadbang;
#X obj 130 355 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 121 150 see also:;
#X obj 121 194 else/play.file~;
#X obj 121 214 else/player~;
#X obj 121 234 else/sample~;
#X obj 7 423 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X obj 7 301 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 7 352 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 7 388 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 130 310 cnv 17 3 32 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 190 142 loadbang;
#X obj 130 365 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 29 167 see also:;
#X obj 26 211 else/play.file~;
#X obj 26 231 else/player~;
#X obj 26 251 else/sample~;
#X text 74 87 [sfinfo] supports all files that [sfload] and [play.file~] support and can be used to query file sample information but only channels so far as this object is still very experimental)., f 71;
#X obj 121 174 else/sfload;
#X msg 290 179 read bubul.mp3 \, channels;
#X obj 290 207 else/sfinfo;
#X obj 290 228 route channels;
#X floatatom 290 251 5 0 0 0 - - - 0;
#X text 164 301 read <symbol> - read sound file;
#X text 246 391 none;
#X text 194 354 anything - sound file's information;
#X text 195 316 channels - query for number of channels;
#X obj 26 191 else/sfload;
#X msg 190 167 read bubul.mp3 \, channels;
#X obj 190 215 else/sfinfo;
#X floatatom 190 264 3 0 0 0 - - - 0;
#X text 164 311 read <symbol> - read sound file;
#X text 246 401 none;
#X text 194 364 anything - sound file's information;
#X text 195 326 channels - query for number of channels;
#X msg 206 191 read loop.aif \, inst;
#X obj 245 264 print inst;
#X obj 190 238 route channels inst;
#X connect 16 0 24 0;
#X connect 24 0 25 0;
#X connect 25 0 26 0;
#X connect 26 0 27 0;
#X connect 25 0 33 0;
#X connect 31 0 25 0;
#X connect 33 0 26 0;
#X connect 33 1 32 0;
Loading

0 comments on commit a8f59c0

Please sign in to comment.