< Back to IRCAM Forum

Adding Meta-descriptors for visualisation and listening

Dear Catart team and community,

I have a dataset of musical instrument sounds that were annotated by humans on timbral features, and I wish to use your wonderful tool for navigating in the dataset with these descriptors.

For instance, I have scores of brightness and nasality for each sound in different .csv files on one side and the sounds themselves on the other side. How can I implement those scores so the sounds are organised accordingly (e.g. x-axis = brightness, y-axis=nasality)?

Here is a toy dataset of 10 samples of the kind of data Iā€™m treating.

The scores:
scores_bright.csv (425 Bytes)
scores_nasal.csv (415 Bytes)

The sounds:
sounds.zip (3.5 MB)

Thank you for your kind forthcoming help :slight_smile: .

Best wishes,

Victor

Hi Victor, in catart-mubu-tutorial 10 import external descriptors you can find an example which imports your sounds.
The least trivial part is reading the csv files into Max. I combined them into a tab-delimited file scores_combined.txt which also gives the column names.
Best

Thank you very much for your quick proposition that seems to almost get me there.

However I have a collection of
ā€˜imubu: invalid view name descr for view messageā€™
and
ā€˜imubu: invalid view name descr for foremostā€™
warnings when importing.

And I donā€™t seem to be able to visualize the scatterplot of the sounds (which is my purpose), I only get similar errors when clicking the ā€˜scatterplotā€™ button.
Finally, the umenus do not provide many any choices for the axis and I wonder if that is normal.

Thank you again, I am almost there :).

Victor

Letā€™s see why it doesnā€™t work for you. In the latest commit, you can read the txt explicitly and check it with open. You also need to have catart-mubu (and the data and audio files to be loaded) in Maxā€™s search path. Best

Thank you for your help.

So far I think everything is checked (search path etc.) as I can open other tutorials and play them. And the print of the .txt file works as well.

It is when I click on the ā€˜scatterplotā€™ for display that nothing is changing.

Iā€™m not sure how to fix thatā€¦

are the sound files loaded (display mode ā€œmarkersā€)?
does clicking on ā€œrefresh displayā€ change anything?

  • are the sound files loaded (display mode ā€œmarkersā€)?
    I can see the waveform of each file (i donā€™t know how to read them from there) .

  • does clicking on ā€œrefresh displayā€ change anything?
    Nothing at all :slight_smile:

I can send you a screenshot maybe ?

Oh, and are you using the latest Mubu 1.10.1?
Iā€™ll be around Thursday to have a look.

Okay, I will reinstall everything to be sure.

Thank you

Ach! my bad, I forgot to commit a change in scores_combined.txt example file, which MUST start with a line

"Filename" <descr name 1> <descr name 2>...

sorry!

Nice ! It works perfectly now ! Thank you Diemo !

New error now,

I got a ā€œDemoā€ effect today, despite the fact that everything was working well yesterday.
I have new errors of externals that I did not have yesterday:

ā€œmubu.knn: unable to load object bundle executableā€
ā€œmubu.concat~: unable to load object bundle executableā€

So now the menus ā€œperiodā€ and ā€œdurationā€ are blocked and I canā€™t play anything.

I tried reinstalling the whole thing without success.

this can be due to Max finding old versions of mubu.knn.mxo, etc., or due to Max running in 32bit with Mubu 1.10, which is 64bit only.

I anticipated those two answers:

  • I made sure that my version of Max 8 is 64 bit
  • I deleted and reinstalled catart and MuBu as advised by the github. I also checked eventual duplicates of the external but ā€¦no

Still does not work though, but it works on my colleagues Macbook pro for some reason.
I you are around tomorrow and have some spare time maybe you can help me with that :slight_smile: ?

Yes, Iā€™d definitely like to take a look tomorrow. I should be available from 12h in A110. See you!

Hello Diemo,

I changed my mac and I have an issue with the length of the sounds. Currently I cannot set an absolute duration for the sounds (only relative). Would you know how to fix it ?

I am on Max 12.1 and max 8.3.0.

Thank you for your help :slight_smile:
Victor

Hi Victor,
are you using the catart-mubu-tutorial 10 import external descriptors? Thereā€™s a dedicated number box for fixed duration.

The message is: duration <absolute [ms]> <relative>, where both are added, so connecting a number box to

duration $1 0

will enforce a fixed duration.
Best!

1 Like

Got it ! thank you :slight_smile:

Sorry for the basic question.

Victor