Forums > MaxMSP

SDIF file compatibility?

January 18, 2007 | 11:04 pm

I’ve heard that Max can read SDIF (Sound Description Interchange Format) files. Is this true?

If I have an SDIF file that contains frequency and amplitude information for a series of sine oscillators, can I simply plug this into a certain module in Max, upon which Max will feed this frequency and amplitude data to a set of sine oscillators?

Thanks, any help is appreciated



f.e
January 19, 2007 | 7:50 am

Max Planck wrote:
> I’ve heard that Max can read SDIF (Sound Description Interchange Format) files. Is this true?
>
No, Max Can’t. But objects from CNMAT can and do it well :
http://www.cnmat.berkeley.edu/MAX/downloads/
> If I have an SDIF file that contains frequency and amplitude information for a series of sine oscillators, can I simply plug this into a certain module in Max, upon which Max will feed this frequency and amplitude data to a set of sine oscillators?
>
Exactly. There’s a really handy tutorial with a lot of example patches
made by Michael Zbyszynski (thanks to him).

Be aware there’s a prehistoric limitation of max to receive only lists
of length 256 maximum…
> Thanks, any help is appreciated
>
My pleasure

f.e

f.e chanfrault | aka | personal computer music
> >>>>>> http://www.personal-computer-music.com
> >>>>>> |sublime music for a desperate people|

>
>


January 19, 2007 | 11:12 am

Hi,

To get rid of this limitation (256) I’v used ftm to manage the data
for SDIF files here is a patch (it does need ftm externals installed
(http://recherche.ircam.fr/equipes/temps-reel/ftm/) and also the
CNMAT stuff.

Peiman

max v2;
#N vpatcher 353 44 1462 1002;
#P window setfont "Sans Serif" 36.;
#P window linecount 1;
#P comment 205 321 100 196644 2.;
#P window setfont "Sans Serif" 9.;
#P newex 355 371 60 196617 loadmess 1;
#P message 129 349 29 196617 next;
#P message 131 374 34 196617 pause;
#P message 131 403 26 196617 loop;
#P user ftm.mess 249 466 60 15 3 9 255 255 255 0 0 0 1 2 0 0;
#T _#aa $0_ $1_ $2_ $3_ $4_ $5_ $6_ $7_ $8_ $9_;
#T _#line "_($1 cols 3)";
#P button 373 552 15 0;
#P message 373 587 31 196617 0. 0.;
#P newex 228 583 57 196617 threefates;
#B color 5;
#P newex 228 753 57 196617 sinusoids~;
#B color 5;
#P flonum 355 400 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 114 44 33 196617 clear;
#P user ezdac~ 228 801 272 834 0;
#P user ftm.mess 273 397 50 15 3 9 255 255 255 0 0 0 1 2 0 0;
#T _#aa $0_ $1_ $2_ $3_ $4_ $5_ $6_ $7_ $8_ $9_;
#T _#line _stop;
#P user ftm.mess 206 400 50 15 3 9 255 255 255 0 0 0 1 2 0 0;
#T _#aa $0_ $1_ $2_ $3_ $4_ $5_ $6_ $7_ $8_ $9_;
#T _#line _start;
#P user ftm.mess 153 44 50 15 3 9 255 255 255 0 0 0 1 2 0 0;
#T _#aa $0_ $1_ $2_ $3_ $4_ $5_ $6_ $7_ $8_ $9_;
#T _#line _import;
#P newex 249 441 80 196617 ftm.play $piano;
#P user ftm.object 174 83 63 18 3 9;
#T _#aa $0_ $1_ $2_ $3_ $4_ $5_ $6_ $7_ $8_ $9_;
#T _#scope begin;
#T _#obj 1 track fmat;
#T _#def 0 "_track fmat" piano local;
#T _#scope end;
#P newex 228 555 44 196617 ftm.list;
#P window linecount 3;
#P comment 208 34 100 196617 first import a paritial tracking sdif
file here;
#P window linecount 1;
#P comment 390 402 100 196617 speed;
#P window linecount 2;
#P comment 205 373 100 196617 then press start to play back;
#P window setfont "Sans Serif" 36.;
#P window linecount 1;
#P comment 308 29 100 196644 1.;
#P connect 7 0 5 0;
#P connect 11 0 5 0;
#P connect 17 0 4 0;
#P connect 4 0 14 0;
#P connect 15 0 13 0;
#P connect 14 0 13 0;
#P connect 13 0 10 0;
#P connect 9 0 6 0;
#P connect 19 0 6 0;
#P connect 18 0 6 0;
#P connect 20 0 6 0;
#P connect 8 0 6 0;
#P connect 6 0 17 0;
#P connect 13 0 10 1;
#P connect 12 0 6 3;
#P connect 21 0 12 0;
#P connect 9 0 16 0;
#P connect 6 2 16 0;
#P connect 16 0 15 0;
#P pop;

On 19 Jan 2007, at 07:50, f.e wrote:

> Max Planck wrote:
>> I’ve heard that Max can read SDIF (Sound Description Interchange
>> Format) files. Is this true?
>>
> No, Max Can’t. But objects from CNMAT can and do it well : http://
> http://www.cnmat.berkeley.edu/MAX/downloads/
>> If I have an SDIF file that contains frequency and amplitude
>> information for a series of sine oscillators, can I simply plug
>> this into a certain module in Max, upon which Max will feed this
>> frequency and amplitude data to a set of sine oscillators?
>>
> Exactly. There’s a really handy tutorial with a lot of example
> patches made by Michael Zbyszynski (thanks to him).
>
> Be aware there’s a prehistoric limitation of max to receive only
> lists of length 256 maximum…
>> Thanks, any help is appreciated
>>
> My pleasure
>
> f.e
> —
> f.e chanfrault | aka | personal computer music
>> >>>>>> http://www.personal-computer-music.com
>> >>>>>> |sublime music for a desperate people|
>
>>
>>


January 19, 2007 | 11:28 am


Viewing 4 posts - 1 through 4 (of 4 total)