Start, end, gradient of Glissando

2021-10-23 Thread Thomas Morley
Hi, in order to make stemmed glissandi work with cross-staff glissandi, I made the experience calling Glissando.stencil and getting the needed values from the stencil to calculate the real start/end-points and gradient will cause bad results for cross-staff Glissando. Thus I tried to calculate tho

Re: Start, end, gradient of Glissando

2021-10-23 Thread Aaron Hill
On 2021-10-23 5:17 am, Thomas Morley wrote: Any hints? normalized-endpoints Your Y-left and Y-right are the extreme values that have not been interpolated using the values from normalized-endpoints. Borrowing logic from Line_spanner::print, here is a modification to your test code:

Re: Start, end, gradient of Glissando

2021-10-24 Thread Thomas Morley
Am So., 24. Okt. 2021 um 01:18 Uhr schrieb Aaron Hill : > > On 2021-10-23 5:17 am, Thomas Morley wrote: > > Any hints? > > normalized-endpoints > > Your Y-left and Y-right are the extreme values that have not been > interpolated using the values from normalized-endpoints. Borrowing > logic from Li

Re: Start, end, gradient of Glissando

2021-10-24 Thread Aaron Hill
On 2021-10-24 6:22 am, Thomas Morley wrote: Though, how could I have found it myself? My lack of C++-knowledge hinders me to understand the "logic from Line_spanner::print". I usually learn things from looking at scheme-codings. Not sure it would have been clear without digging into the print

Re: Start, end, gradient of Glissando

2021-10-24 Thread Thomas Morley
Am So., 24. Okt. 2021 um 16:35 Uhr schrieb Aaron Hill : > > On 2021-10-24 6:22 am, Thomas Morley wrote: > > Though, how could I have found it myself? > > My lack of C++-knowledge hinders me to understand the "logic from > > Line_spanner::print". I usually learn things from looking at > > scheme-cod

Re: Start, end, gradient of Glissando

2021-10-24 Thread Jean Abou Samra
> Let me take a stab at converting the print routine to Scheme. The workaround on issue #6198 may provide a useful start. Best, Jean

Re: Start, end, gradient of Glissando

2021-10-24 Thread Aaron Hill
On 2021-10-24 8:05 am, Thomas Morley wrote: Am So., 24. Okt. 2021 um 16:35 Uhr schrieb Aaron Hill Let me take a stab at converting the print routine to Scheme. Would be great !! Sorry for the delay... took me some time to figure out why there was an error with cross-staff right-side Y coord

Re: Start, end, gradient of Glissando

2021-10-24 Thread Thomas Morley
Am So., 24. Okt. 2021 um 18:19 Uhr schrieb Aaron Hill : > > On 2021-10-24 8:05 am, Thomas Morley wrote: > > Am So., 24. Okt. 2021 um 16:35 Uhr schrieb Aaron Hill > >> Let me take a stab at converting the print routine to Scheme. > > > > Would be great !! > > Sorry for the delay... Delay? I noticed

Re: Start, end, gradient of Glissando

2021-10-30 Thread Thomas Morley
Am So., 24. Okt. 2021 um 18:19 Uhr schrieb Aaron Hill : > > On 2021-10-24 8:05 am, Thomas Morley wrote: > > Am So., 24. Okt. 2021 um 16:35 Uhr schrieb Aaron Hill > >> Let me take a stab at converting the print routine to Scheme. > > > > Would be great !! > > Sorry for the delay... took me some time

Re: Start, end, gradient of Glissando

2021-11-01 Thread Thomas Morley
Am Sa., 30. Okt. 2021 um 15:54 Uhr schrieb Thomas Morley : > > Am So., 24. Okt. 2021 um 18:19 Uhr schrieb Aaron Hill > : > > > > On 2021-10-24 8:05 am, Thomas Morley wrote: > > > Am So., 24. Okt. 2021 um 16:35 Uhr schrieb Aaron Hill > > >> Let me take a stab at converting the print routine to Schem