Re: converting svg glyph to path data for use in scheme

2015-12-14 Thread Urs Liska
Am 13.12.2015 um 14:09 schrieb Graham Breed: > On 13/12/15 12:48, N. Andrew Walsh wrote: >> Take a look at conversions.ly (sorry; mround is the equivalend >> function in >> the spreadsheet I use to do the same thing). Those functions will >> convert >> the input (given as a fraction comprising

Re: converting svg glyph to path data for use in scheme

2015-12-14 Thread N. Andrew Walsh
Converting cents to ratios only makes even a bit of sense if you have some preexisting music in some temperament, which you then want to approximate in just intonation. But even that isn't really something that would be served by calculation from cents and not simply determining yourself what

Re: converting svg glyph to path data for use in scheme

2015-12-14 Thread Trevor Daniels
David Kastrup wrote Monday, December 14, 2015 11:32 AM > Urs Liska writes: > >> Am 13.12.2015 um 14:09 schrieb Graham Breed: >>> On 13/12/15 12:48, N. Andrew Walsh wrote: Take a look at conversions.ly (sorry; mround is the equivalend function in the

Re: converting svg glyph to path data for use in scheme

2015-12-14 Thread David Kastrup
Urs Liska writes: > Am 13.12.2015 um 14:09 schrieb Graham Breed: >> On 13/12/15 12:48, N. Andrew Walsh wrote: >>> Take a look at conversions.ly (sorry; mround is the equivalend >>> function in >>> the spreadsheet I use to do the same thing). Those functions will >>> convert

Re: converting svg glyph to path data for use in scheme

2015-12-14 Thread David Kastrup
"Trevor Daniels" writes: > David Kastrup wrote Monday, December 14, 2015 11:32 AM > > >> Urs Liska writes: >> >>> Am 13.12.2015 um 14:09 schrieb Graham Breed: On 13/12/15 12:48, N. Andrew Walsh wrote: > Take a look at conversions.ly (sorry;

Re: converting svg glyph to path data for use in scheme

2015-12-14 Thread Urs Liska
Am 14.12.2015 um 13:26 schrieb N. Andrew Walsh: > Meanwhile, I'm teaching myself fontforge. And here I thought it was > commercial software, and I already had it installed. > I'm not sure if that's a viable road, but it might also be a good idea to define these stencils in metafont. This might

Re: JI notation (was: converting svg glyph to path data for use in scheme)

2015-12-14 Thread Hans Åberg
> On 14 Dec 2015, at 20:28, Graham Breed wrote: > >> From: "N. Andrew Walsh" > >> Converting cents to ratios only makes even a bit of sense if you have some >> preexisting music in some temperament, which you then want to approximate >> in just

JI notation (was: converting svg glyph to path data for use in scheme)

2015-12-14 Thread Graham Breed
From: "N. Andrew Walsh" Converting cents to ratios only makes even a bit of sense if you have some preexisting music in some temperament, which you then want to approximate in just intonation. But even that isn't really something that would be served by calculation

Re: converting svg glyph to path data for use in scheme (was: accidentals for just intonation)

2015-12-13 Thread N. Andrew Walsh
sorry. You have to switch to the just-intonation-stub branch, which is here: https://github.com/openlilylib/snippets/tree/just-intonation-stub/notation-snippets Cheers, A On Sun, Dec 13, 2015 at 10:13 AM, wrote: > On Sun, 13 Dec 2015, N. Andrew Walsh wrote: > >

Re: converting svg glyph to path data for use in scheme

2015-12-13 Thread Simon Albrecht
On 13.12.2015 13:04, Graham Breed wrote: From: "N. Andrew Walsh" Actually, coverting between the ratios and semitones has alread been done, as there's a simple set of log and mround functions that do it. Have a look in the OLL repository under notation-tools and

Re: converting svg glyph to path data for use in scheme (was: accidentals for just intonation)

2015-12-13 Thread Graham Breed
From: "N. Andrew Walsh" Actually, coverting between the ratios and semitones has alread been done, as there's a simple set of log and mround functions that do it. Have a look in the OLL repository under notation-tools and you should find the .ily files. What's the

Re: converting svg glyph to path data for use in scheme (was: accidentals for just intonation)

2015-12-13 Thread mskala
On Sun, 13 Dec 2015, N. Andrew Walsh wrote: > Actually, coverting between the ratios and semitones has alread been done, > as there's a simple set of log and mround functions that do it. Have a look > in the OLL repository under notation-tools and you should find the .ily At what URL? I'm

Re: converting svg glyph to path data for use in scheme

2015-12-13 Thread N. Andrew Walsh
Take a look at conversions.ly (sorry; mround is the equivalend function in the spreadsheet I use to do the same thing). Those functions will convert the input (given as a fraction comprising two integers) into Lily's semitone values. That should allow you to convert between just-intonation ratios

Re: converting svg glyph to path data for use in scheme (was: accidentals for just intonation)

2015-12-13 Thread Graham Breed
From: Urs Liska >Maybe so, but the result is less portable because (if I understand >correctly) you'd have to have a custom font and have it installed >correctly, etc. for anyone to be able to use the glyph... as opposed >to just having the custom glyphs in an include

Re: converting svg glyph to path data for use in scheme (was: accidentals for just intonation)

2015-12-13 Thread Johan Vromans
On Sun, 13 Dec 2015 15:55:08 +0100 "N. Andrew Walsh" wrote: > So I've kludged around with Inkscape, and I'm attaching a few .svg files > to show what I'm getting at. These are *very ugly*, and I would want to > spend a good bit of time working on proportion, weighting,

Re: converting svg glyph to path data for use in scheme (was: accidentals for just intonation)

2015-12-13 Thread N. Andrew Walsh
See the previous message from me, which links to it and provides instructions for its use. Cheers, A On Sun, Dec 13, 2015 at 1:04 PM, Graham Breed wrote: > From: "N. Andrew Walsh" >> > > Actually, coverting between the ratios and semitones has

Re: converting svg glyph to path data for use in scheme

2015-12-13 Thread mskala
On Sun, 13 Dec 2015, Graham Breed wrote: > Converting from ratios to cents is easy. Converting between ratios and cents > requires a function from cents to ratios. That's a lot more difficult because > information is lost. You got us excited by suggesting that had been solved. Indeed. One can

Re: converting svg glyph to path data for use in scheme (was: accidentals for just intonation)

2015-12-13 Thread N. Andrew Walsh
So I've kludged around with Inkscape, and I'm attaching a few .svg files to show what I'm getting at. These are *very ugly*, and I would want to spend a good bit of time working on proportion, weighting, etc.. However, these are the components to build any accidental within a 7-limit system: a

Re: converting svg glyph to path data for use in scheme

2015-12-13 Thread Graham Breed
On 13/12/15 12:48, N. Andrew Walsh wrote: Take a look at conversions.ly (sorry; mround is the equivalend function in the spreadsheet I use to do the same thing). Those functions will convert the input (given as a fraction comprising two integers) into Lily's semitone values. That should allow

Re: converting svg glyph to path data for use in scheme (was: accidentals for just intonation)

2015-12-12 Thread N. Andrew Walsh
Actually, coverting between the ratios and semitones has alread been done, as there's a simple set of log and mround functions that do it. Have a look in the OLL repository under notation-tools and you should find the .ily files. Cheers, A On Sun, Dec 13, 2015 at 7:51 AM,

Re: converting svg glyph to path data for use in scheme (was: accidentals for just intonation)

2015-12-12 Thread mskala
On Sat, 12 Dec 2015, N. Andrew Walsh wrote: > accidentals as needed. I suppose, rather than having Lily/Scheme calculate > prime factors on the fly at runtime, it would be easier to have a lookup > table of the prime factorization for each integer up to a certain limit (but > that would end up

converting svg glyph to path data for use in scheme (was: accidentals for just intonation)

2015-12-12 Thread Paul Morris
Hi Andrew, > On Dec 12, 2015, at 10:38 AM, N. Andrew Walsh > wrote: > > I've been doing some background work on my just-intonation accidentals, and I > was hoping you could give me some advice on the svg-to-path translation. I > know what the stencils should look

Re: converting svg glyph to path data for use in scheme (was: accidentals for just intonation)

2015-12-12 Thread Johan Vromans
> Anyway, that’s how I’ve done this kind of thing. It’s not simple but it > works! If I understand the procedure correctly, wouldn't it be easier to use a tool like fontforge add/adjust font glyphs? -- Johan ___ lilypond-user mailing list

Re: converting svg glyph to path data for use in scheme (was: accidentals for just intonation)

2015-12-12 Thread Urs Liska
Am 12. Dezember 2015 23:08:53 MEZ, schrieb Paul Morris : >> On Dec 12, 2015, at 3:34 PM, Johan Vromans >wrote: >> >> If I understand the procedure correctly, wouldn't it be easier to use >a >> tool like fontforge add/adjust font glyphs? > >Maybe so,

Re: converting svg glyph to path data for use in scheme (was: accidentals for just intonation)

2015-12-12 Thread N. Andrew Walsh
It would not, because the accidentals I use are in an open system of just intonation (not a fixed scale) in which *any* conceivable ratio can be represented (so long as I have the module for its respective prime factors). This is a serious limitation of a lot of systems, in that the moment you

Re: converting svg glyph to path data for use in scheme (was: accidentals for just intonation)

2015-12-12 Thread Paul Morris
> On Dec 12, 2015, at 3:34 PM, Johan Vromans wrote: > > If I understand the procedure correctly, wouldn't it be easier to use a > tool like fontforge add/adjust font glyphs? Maybe so, but the result is less portable because (if I understand correctly) you'd have to have a