Group Admins

  • Profile picture of Karim
  • Profile picture of Jean

OpenMusic

Public Group active 6 days ago

User group for OpenMusic and computer-aided composition. Visit the Forum for discussions.

OmQuantify Stack Overflow

Author 4 Subscribed Users |
Profile photo of eb
eb

Dear OM community,

I have been stuck recently because I am trying to “omquantify” a fairly large “chord-seq” (lots of pitches, ca. 10 minutes in duration).
The computation is too large and I hit stack overflow even after increasing memory to the maximum of 261120.

I can’t make the “chord-seq” smaller because of the process I am using , however, is there a way to partition or extract it in segments so that I can quantify it?

Hopefully there is an easy way to do this, but any feedback is very welcome!

Thank you
eb

November 18, 2016 at 04:21 #19860
Profile photo of Karim
Karim

Hi,
this seems very odd. Can you at least send the chord-seq, or patch to check this out ?
It could be related to something else.

K

November 19, 2016 at 20:15 #19868
Profile photo of Jean
Jean

Hello, you can also try to segment your chord-seq in the “Segmentation/Analysis” mode of the chord-seq editor.
http://repmus.ircam.fr/openmusic/dev-resources/analysis#the-segmentation-mode

This is not documented in this page but you can also select “KANT-SEQ” as a “New Analysis”, then make the segments by selecting chords and pressing “s”.
Double-clicking on the segments will allow to set omquantify parameters for each one of them if needed, and “Analyze segments” will compute the rhythm trees.

Then you can export the quantified voice with ‘concatenate-kant-voices’

Attachments:
  1. Screen-Shot-2016-12-13-at-12.25.38

    Screen-Shot-2016-12-13-at-12.25.38.png

  2. Screen-Shot-2016-12-13-at-12.25.38

    Screen-Shot-2016-12-13-at-12.25.38.png

December 13, 2016 at 12:26 #20178
Jérôme
Jérôme

I’m working on a tutorial about it ! Notify that the actual version doesn’t recognize silences inside a segment, only the silences finishing the segment

thanks to Karim, there’s an alternative (see attached) but it’s not perfect (only one tempo, for example)

I hope we could expect an integration of TRUE-DURATIONS algorithm inside the Kant analysis.

……………………………………………………………………………………………… jerome

December 13, 2016 at 13:12 #20181
Jérôme
Jérôme

Here’s a closer analysis with the same measure metric and the same parameters for the two VOICE objects.

@Jean, have you seen in the “kant message” that the last measure is (3 4) and not (4 4) ? It’s because, at last measure you don’t fill 4 times !

As I’m studying the Segmentation and analysis Framework in general, I would like to know if you will improve it… It dates from to 6.6 version…

Cheers~ 

……………………………………………………………… jerome

December 13, 2016 at 20:10 #20195
Profile photo of Jean
Jean

Hi Jerome

The quantification at work here is the omquantify function, so I think it behaves the same.

I have no specific plan for more work on this in the short term, but I can fix bugs and issues.

Jean

December 14, 2016 at 09:06 #20205
Jérôme
Jérôme

hello Jean, and all,

As KANT-SEQ and TRUE DURATIONS have many things in common, do you (or any people who can code for OM) think you can fusion these two process, in order to have KANT PARAMS with « real » tree (negative values for silences) ?

Cheers~ 

…………………………………………………………… jerome

December 16, 2016 at 17:49 #20238
Profile photo of Jean
Jean

Using the following patch the “analyse-segment” of kant-seg will use true-duration to get the durations of the segments.
Let me know if it works. If it does, I can include it in the next OM update.

January 2, 2017 at 23:24 #20346
Jérôme
Jérôme

Salut Jean,

As my Mac is out of order, I’ve made a test on a PC. It seems to be ok but each time I launch an analysis, I loose the last note of the CHORD-SEQ.

Another little thing : sometimes when I select notes and type “s” I have this message : I can’t build an chord with these parameters

Well, Jean, it’s almost perfect !! :-)

………………….. jerome

January 3, 2017 at 16:48 #20380
Jérôme
Jérôme

Erratum…..

Actually, it works wery well !

THX so much….

……………………………………………. jerome

January 3, 2017 at 21:57 #20381
Profile photo of eb
eb

The kant-seg worked and I was able to make progress thanks to it!
Thanks so much for the help

Best
eb

PS: Sorry Karim, but I couldn’t attach the chord-seq for some complicated reasons :) All good now

  • This reply was modified 2 months, 3 weeks ago by Profile photo of eb eb.
January 5, 2017 at 01:17 #20387

You must be logged in to reply to this topic.

Log in now