Administrateur

  • Profile picture of Norbert Schnell

Group Mods

  • Profile picture of Frederic Bevilacqua
  • Profile picture of schwarz
  • Profile picture of borghesi

MuBu for Max

Groupe Public active 1 day ago

MuBu for Max user group.

Analysing with mubu.process using imported segment times

Auteur 2 Utilisateurs souscrits |
Profile photo of natashabarrett
natashabarrett

Hello!

I’d like to import my own segment markers, and for mubu.process to analyse and segment the sound based on my imported time-chunks. I am able to import the marker times with mubu.track, but can’t work out how to tell mubu.process to do the rest of the job. Up to now I’ve been following the ‘howto-segmentation’ help patch, and I’m sure the answer it looking straight at me, but I can’t work it out. Super if you can give an example, or point me to the correct help patch.

Thanks!
Natasha

Janvier 16, 2019 à 21:18 #28875
Profile photo of ktatar
ktatar

Hello,

I did a bit of work on segmentation, feature extraction per segment and thumbnailling for a musical AI. You could go with two directions:

1- Using a temporary mubu container: There is an example that comes with MuBu package that implements this. The particular subpatcher file is under patchers/mubu.stats.marker.track.maxpat. I can’t remember which main patch was using it though. Basicly, there is a temporary mubu container that records only the current segment, then applies feature extraction, and then follows that with statistics of features for thumbnailling.

2- Using a ordinary coll for markers: that is how I do it, just for the sake of using less memory. Given that your markers are time locations as opposed to frame numbers, you would need your mubu track to be time stamped. You can create a coll file with your markers, and ask the mubu.track to output particular indexes that is within your marker range. In my implementation, I just go through the whole mubu track, and whenever a marker is passed, I just save all feature statistics and clear all stat objects. This is a nastier implementation because all stats are calculated outside of mubu, which is a perfect recipe for a spaghetti patch.

That is being said, it seems that there is no easy bulit-in way to do it. If there is a simpler, fancier way; I am would love to use that.

I hope that helps!

Février 2, 2019 à 01:52 #29076

Vous devez être connecté pour répondre à ce sujet.

Log in now