Creating the right SDIF file for SDIF-buffer and sinusoids~ externals

Roald Baudoux's icon

I am trying to open an SDIF analysis with the CNMAT's SDIF-buffer
external. I want the SDIF data to be used with the sin-synth~
abstraction (itself being built around the sinusoids~ external).

I have tried Audiosculpt (2.8.3). I have tried to save a sonagram as
a SDIF file but it seems it is not the right stream-type: SIF-
fileinfo reports one stream #0 of type 1NVT and one stream -2 of type
1TYP. If I rather perform a Partial Tracking Analysis and then save
it into a SDIF file, SDIF-fileinfo reports only one stream #0 of type
1NVT and no TRC stream althought SDIF files provided by CNMAT as
examples do have such a track. And the problem is confirmed when no
sound comes from sin-synth~...

So, is there a specific way to set Audiosculpt's Partial Tracking
Analysis to to have a correct file in sin-synth~ or is it a bug or
something else? Should I rather use Spear or another software?

Thank you in advance.

Roald Baudoux

klaus filip's icon

Spear always worked for me.
though i would like to understand, why the sound in Spear still
sounds pretty different (better) than
in msp (sdif-CNMAT-sinusoids~-like patches).
best
klaus

On Dec 17, 2007, at 3:34 PM, Roald Baudoux wrote:

> I am trying to open an SDIF analysis with the CNMAT's SDIF-buffer
> external. I want the SDIF data to be used with the sin-synth~
> abstraction (itself being built around the sinusoids~ external).
>
> I have tried Audiosculpt (2.8.3). I have tried to save a sonagram
> as a SDIF file but it seems it is not the right stream-type: SIF-
> fileinfo reports one stream #0 of type 1NVT and one stream -2 of
> type 1TYP. If I rather perform a Partial Tracking Analysis and then
> save it into a SDIF file, SDIF-fileinfo reports only one stream #0
> of type 1NVT and no TRC stream althought SDIF files provided by
> CNMAT as examples do have such a track. And the problem is
> confirmed when no sound comes from sin-synth~...
>
> So, is there a specific way to set Audiosculpt's Partial Tracking
> Analysis to to have a correct file in sin-synth~ or is it a bug or
> something else? Should I rather use Spear or another software?
>
> Thank you in advance.
>
> Roald Baudoux
>
>

mzed's icon

Quote: Roald Baudoux wrote on Mon, 17 December 2007 06:34
----------------------------------------------------

> I have tried Audiosculpt (2.8.3). I have tried to save a sonagram as
> a SDIF file but it seems it is not the right stream-type: SIF-
> fileinfo reports one stream #0 of type 1NVT and one stream -2 of type
> 1TYP. If I rather perform a Partial Tracking Analysis and then save
> it into a SDIF file, SDIF-fileinfo reports only one stream #0 of type
> 1NVT and no TRC stream althought SDIF files provided by CNMAT as
> examples do have such a track.

I've checked this in AudioSculpt versions through 2.8.2. Here is the recipe from the secret CNMAT website:

1. open AudioSculpt
2. open your file
3. do a Sonagram Analysis
4. do a Fundamental Frequency Analysis
5. do a Partial Tracking Analysis
6. File: Save Analysis As… -> Save Partial Tracking As…

Notes: The useful analysis data is written in 1HRM format in stream 0. But, IRCAM has used us by putting the a 1NVT frame in the same stream. Send SDIF-tuples the message “matrix 1HRM” before asking for frames, and everything will be peachy.

I think the "matrix 1HRM" message to SDIF tuples will fix things for you. I've also updated the CNMAT Spectral tutorials to reflect these details.

mz

f.e's icon
mzed's icon

Quote: Roald Baudoux wrote on Tue, 18 December 2007 14:23
----------------------------------------------------
> Thanks for helping!
>
> It is working, now I just have to master all the analysis tools from
> Audiosculpt and Diphone Studio, and the subtle variations of the SDIF
> format as well!

I have some tips here:

(dang, that's a big URL)

Right now, you'd have to request a login to view this. I'm hoping it goes public in a week or so. Then the above url will work without the alpha.

mz

sfogar's icon

Hi,

cannot open that page:

Access Denied!

The requested page requires special permission to view.

All the best

--
Alessandro Fogar

2007/12/19, mzed :
>
> Quote: Roald Baudoux wrote on Tue, 18 December 2007 14:23
> ----------------------------------------------------
> > Thanks for helping!
> >
> > It is working, now I just have to master all the analysis tools from
> > Audiosculpt and Diphone Studio, and the subtle variations of the SDIF
> > format as well!
>
> I have some tips here:
>
> http://alpha.cnmat.berkeley.edu/library/cnmat_users_manual/music_software_handbook/making_resonant_and_sinusoidal_models
>
> (dang, that's a big URL)
>
> Right now, you'd have to request a login to view this. I'm hoping it goes public in a week or so. Then the above url will work without the alpha.
>
> mz
>
>
> --
> || michael f. zbyszynski -- molecular gastronimist
> || http://www.cnmat.berkeley.edu/
> || http://www.mikezed.com/
>
>
>
>

mzed's icon

Quote: sfogar wrote on Tue, 18 December 2007 23:32
----------------------------------------------------
> Hi,
>
> cannot open that page:
>
> Access Denied!
>
> The requested page requires special permission to view.
>

As I said:

> >
> > Right now, you'd have to request a login to view this. I'm hoping it goes public in a week or so. Then the above url will work without the alpha.
> >

f.e's icon

A year after, the link is still access denied... With or without the "alpha".

John MacCallum's icon

You must be logged into the site to view the page. Have you successfully created an account and logged in?

JM

f.e's icon
f.e's icon

Ok, so i'll forget about using SDIF. Nobody knows how to get the right
settings with Spear, Ircam stuff is for rent (incredible again), SMS
tools doesn't do anything, SDIF-edit eats 100% of my dual core and you
have to compile Loris by yourself and so on.

So long SDIF

f.e

f.e chanfrault | aka | personal computer music
> >>>>>> http://www.personal-computer-music.com
> >>>>>> | film soundtracks, sound art, music |

harrisluke's icon

I'm using Audiosculpt v2.8.1 and am trying to access the sdif information made by audiosculpt.

I am have done the 'recipe' as suggested, however, when attempting to get the 1HRM stream, there is just a continuous sequence of messages stating that there is no matrix of this type in the stream (0).

I have also tried adapting the matrix to 1TRC, which gives me a very basic sound generated from the Audiosculpt SDIF. Other matrix that I have tried to extract information from have been 1GBO. Do you know if there is a solution to this problem in this version of audiosculpt or do you know where I can find more info on what streams are usable, and what information a particular stream might carry.

Many thanks, in advance,

Luke

Quote: Roald Baudoux wrote on Mon, 17 December 2007 06:34
----------------------------------------------------

> I have tried Audiosculpt (2.8.3). I have tried to save a sonagram as
> a SDIF file but it seems it is not the right stream-type: SIF-
> fileinfo reports one stream #0 of type 1NVT and one stream -2 of type
> 1TYP. If I rather perform a Partial Tracking Analysis and then save
> it into a SDIF file, SDIF-fileinfo reports only one stream #0 of type
> 1NVT and no TRC stream althought SDIF files provided by CNMAT as
> examples do have such a track.

I've checked this in AudioSculpt versions through 2.8.2. Here is the recipe from the secret CNMAT website:

1. open AudioSculpt
2. open your file
3. do a Sonagram Analysis
4. do a Fundamental Frequency Analysis
5. do a Partial Tracking Analysis
6. File: Save Analysis As... -> Save Partial Tracking As...

Notes: The useful analysis data is written in 1HRM format in stream 0. But, IRCAM has used us by putting the a 1NVT frame in the same stream. Send SDIF-tuples the message "matrix 1HRM" before asking for frames, and everything will be peachy.

I think the "matrix 1HRM" message to SDIF tuples will fix things for you. I've also updated the CNMAT Spectral tutorials to reflect these details.

mzed's icon

harrisluke wrote on Mon, 25 May 2009 02:11 Do you know if there is a solution to this problem in this version of audiosculpt or do you know where I can find more info on what streams are usable, and what information a particular stream might carry.

We're working on the next version of CNMAT SDIF objects right now. I hope they will be on the download site soon.

For now, look at SDIF-fileinfo and SDIF-menu2. Those tell you some things about the streams.

mz

mzed's icon

harrisluke wrote on Mon, 25 May 2009 02:11
I have also tried adapting the matrix to 1TRC, which gives me a very basic sound generated from the Audiosculpt SDIF.

I think this should work if you've done an inharmonic analysis. 1HRM is generated by an harmonic analysis.

mz

harrisluke's icon

I'm just going to stick to using spear for now. Not sure weather the analysis is better but it is far easier to extract workable information.

Thanks for your help though and I'm looking forward to the updates for these externals.

LH