< Back to IRCAM Forum

Beginning with SDIF…

Good morning everyone,

I’m very interested in SDIF files.

I’d like to use it with OM, AudioSculpt, and take the opportunity to get into MuBu. Maybe Spear too.

I did some research, and I found this: http://recherche.ircam.fr/equipes/analyse-synthese/sdif/extern/by-subject-main.html

But it’s pretty old…

So, I would like to know how to learn SDIF… any links ?

Thank you in advance,

Best,

Jerome

I’ve moved the question here…

Dear Jerome,

Here you will find a short valuable description about the format:
http://support.ircam.fr/docs/om/om6-manual/co/SDIF-Intro.html

Best
K

Great… Thank you Karim.

Does it still exist ? the link is dead.

image

Best,

Jerome

found this :

never tried… and that : http://sdif.sourceforge.net/

Well it is as it says, < 6.4
However you can apparentlyuse it in command line (see the link you’ve posted). Never tried it since i work on LInux :slight_smile:

However the om’s sdif editor displays the sdif frames (in 2d.)

Best
K

Hi Jerome,

yes, http://sdif.sourceforge.net/ is the starting point, but SDIF is just a container format. The actual data can vary a lot. Anything specific you’re interested in?
Most useful would be things like exchanging f0, descriptors, partials between AudioSculpt, MuBu, OM, or generating spectral filters.
I tried Spear -> MuBu, and there is a glitch that will be fixed in the next release, but there is also a workaround I could tell you.
Best!

Dear Diemo,

I have an almost mythical view of SDIF. I’ve been running into it for a long time and I’m a little afraid of it.

I understood that it’s a description format… But I thought that all the descriptions were cumulated in a single format… now that I see that there are a lot of different SDIF. I can see that it’s not going to be easy…

Yes, this is how I see things… I had to do some concrete processing. I did them with om# and supervp. I really want to go deeper. In om#, there are previews of the SDIF files which are useful… and as you can read, it seems to me that it’s harder with OM6…

Really sorry about that… But good to know !

I use AudioSculpt quite often and I understand that SDIF is its “natural” format. Using MuBu will be the cherry on the cake. It makes a great focal point…

Well, I really hope it will be fixed soon, I’ll be careful but, for the moment, I’m handling it with gloves…

Yes, tell me more, please…

I will study the sourceforge contents and what Karim tells me. But I’m pretty sure that I will go back to you soon…

Best,

Jerome

Hello K @haddad,

I found a library to use SDIF-Edit in OM, for the moment I’m just starting, but it seems to be very useful.

  • by searching here:
  • Reading the readme.md, I saw that there was this library

I’ve installed the library and set up the externals :

image

and try this patch…

I eval the last .sdif, when I double-click on it, it opens SDIF-Edit

What do you think about that ? Can I trust it ?

Best,

Jerome

Hi Jerome,

What do you mean by “Can I trust it ?”
:slight_smile:
K

hi,

I mean’t : does it work well ?

it seems that test.sdif is empty…

It could be that YOUR sdif file is empty. Can you send the patch in order to check it out ?

Best
K
PS: And better send it on OpenMusic list

Hi Karim ! Just so you know, I successfully built SDIF-Edit on Ubuntu 18.04, it works nicely in OM 6.16 and 6.17. I can post my edited Makefile and include.h if you’re interested in building and using it on your Linux system.

Best regards,

dp

Dear Dave,

But of course i would be really glad. That way i can test it against my Debian. It should work.
Thank you a lot. I appreciate this

Best
K

Hi Karim, here are the files I altered for a successful Linux build. I hope they work for you, please let me know if if they don’t.
include.h (2.4 KB) Makefile.linux (1.1 KB)

Dear Dave,

Thanx a lot. It worked fine. I just edited the LDFAGS makefile as so:

LDFLAGS = -L/usr/lib -L/usr/local/lib -lGL -lGLU -lglut -lsdif

since i installed the sdiflib in /usr/local/lib. (in debian there is no package of SDIFLib. Is there on ubuntu?)

And then all compiled well except some warnings like so:

SDIFViewerWindow.cpp:999:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]

And got Jean on mail. He invites you if you want to do a pull request. It would be great.
I noticed that your Makefile goes in sources. If you do a pull, maybe change it and create a linux folder in the root project and put it there. You should then point out to the sources. Another thing is about the include file. Is it the original include.h modified ? or a totaly new.
one?
Anyhow thank you a lot on the behalf of all SDIF and OM lovers.

Best
K

Hi Karim ! Excellent news, I’m glad it worked. I thought you might have to make some minor changes for your system. The include.h file I sent was edited, it is slightly different from the original. I’ve never done a pull request but will look into it.

Best regards,

dp