Forums > MaxMSP

Max5 and SD2 strangeness

April 29, 2008 | 1:40 pm

I just tried the patch I’m working on with 5 and found some problems
with SD2 files (the same files don’t cause any problem with Max462).

If I try to open them in [sfplay~]‘help, I get messages like
sfplay~: unrecognized file type Air ("Air" being the filename)

Same thing with sflist~:
sflist~: unrecognized file type Air

When I try to preload the files, the message is different:
sfgetinfo: warning Air does not appear to have valid SD2 resources.
assuming 1 channel, 44100.000000 hz sampling rate
sfgetinfo: warning Air does not appear to have valid SD2 resources.
assuming 1 channel, 44100.000000 hz sampling rate

My own [sfmarkers~] doesn’t work neither with SD2. I don’t have much
time to dig into my own code but it looks like the fileType returned
by open_dialog() is not ‘Sd2f’.

Max501, OSX52, core 2 duo

_____________________________
Patrick Delges

Centre de Recherches et de Formation Musicales de Wallonie asbl

http://www.crfmw.be/max


April 29, 2008 | 3:40 pm

SD2 in our opinion is a dead format (useless on windows, and after passing through any operation which strips OS 9 style resource forks). Please convert these files to a non OS 9 style resource fork format in the application of your choice. sfplay~ should actually still play correctly filetyped and correctly resource fork containing SD2 files, but many other objects have removed their support for these files entirely, and anywhere there are remaining issues with SD2 files will not be fixed.

Thanks,
Joshua


April 29, 2008 | 8:18 pm

On 29-avr.-08, at 17:40, Joshua Kit Clayton wrote:

> SD2 in our opinion is a dead format

So maybe it should be a good idea to write more explcit error messages
in the new great Max window.

> (useless on windows, and after passing through any operation which
> strips OS 9 style resource forks).

This is true but SD2 is, sorry, was very handy. As long as Apple
supports its resource fork… And is still used widely on Macss (or am
I the only one?).

> sfplay~ should actually still play correctly filetyped and correctly
> resource fork containing SD2 files

It doesn’t seem to be the case, but as SD2 is dead, I don’t see any
reason to spend more time on this topic.

Long live the great .WAV format.

p


April 29, 2008 | 9:58 pm

>> sfplay~ should actually still play correctly filetyped and
>> correctly resource fork containing SD2 files

>It doesn’t seem to be the case, but as SD2 is dead, I don’t see
>any reason to spend more time on this topic.

You are correct, sorry for the misinformation. I had thought these files would still load, but there is no sd2 support anymore. Sorry for any inconvenience, but it’s no longer worth it to us to support this legacy platform specific format (which also breaks when included in Max collectives under Max 4.5 and higher). The .aif and .snd formats continue to work fine alongside .wav.

-Joshua


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