Re: detecting the start and end of a polyphonic passage from scheme

2020-07-01 Thread Maurits Lamers
Hi all, The way the staff is usually printed (through format and display) already gave me that idea, but it is good to see it confirmed. Let me try to sketch my problem and perhaps you could help me find an answer on how to achieve it. I am trying to find a way that I can serialize the voices a

Re: detecting the start and end of a polyphonic passage from scheme

2020-07-01 Thread Thomas Morley
Am Mi., 1. Juli 2020 um 11:08 Uhr schrieb Maurits Lamers : > > Hi all, > > Follow up question: is there a way to know the "parent" of the voices as they > are defined in the code? > In the following example, I would like to determine that voice "two" splits > off from voice "one" without relying

Re: detecting the start and end of a polyphonic passage from scheme

2020-07-01 Thread Aaron Hill
On 2020-07-01 2:07 am, Maurits Lamers wrote: Follow up question: is there a way to know the "parent" of the voices as they are defined in the code? In the following example, I would like to determine that voice "two" splits off from voice "one" without relying on the context-id. (ly:context-paren

Re: detecting the start and end of a polyphonic passage from scheme

2020-07-01 Thread Maurits Lamers
\relative c' { g1 } } >> } } Thanks in advance! cheers Maurits > Van: Aaron Hill > Onderwerp: Antw.: detecting the start and end of a polyphonic passage from > scheme > Datum: 25 juni 2020 17:12:13 CEST > Aan: lilypond-user@gnu.org > > > On

Re: detecting the start and end of a polyphonic passage from scheme

2020-06-25 Thread Maurits Lamers
Hi, Great solution, thanks a lot! cheers Maurits > On 2020-06-25 7:01 am, Maurits Lamers wrote: > Hi all, > > I am trying to build a system based on the listener system which can > identify voices in a piece of music. > I use a listener to the Voice context to give me the note events. > > I

Re: detecting the start and end of a polyphonic passage from scheme

2020-06-25 Thread Aaron Hill
On 2020-06-25 7:01 am, Maurits Lamers wrote: Hi all, I am trying to build a system based on the listener system which can identify voices in a piece of music. I use a listener to the Voice context to give me the note events. In the following passage I can use (ly:context-id (ly:translator-conte

detecting the start and end of a polyphonic passage from scheme

2020-06-25 Thread Maurits Lamers
Hi all, I am trying to build a system based on the listener system which can identify voices in a piece of music. I use a listener to the Voice context to give me the note events. In the following passage I can use (ly:context-id (ly:translator-context engraver) to get the id, which is empty fo