Re: Keyboard chord figure in scheme

2012-01-18 Thread m...@apollinemike.com
On Jan 18, 2012, at 9:16 AM, Morten Jagd Christensen wrote: > Now the code works, although there still are som FIXME's. For example the > black keys > are generated by thick lines, but unfortunately they have rounded caps. > > Check out make-connected-path-stencil : the swiss army knife of ste

Re: Keyboard chord figure in scheme

2012-01-18 Thread Morten Jagd Christensen
Hi Carl Thanks for the hint - I guess it wasn't clear to me when and where ly:stencil-add was needed. Now the code works, although there still are som FIXME's. For example the black keys are generated by thick lines, but unfortunately they have rounded caps. But I have submitted my code to

Re: Keyboard chord figure in scheme

2012-01-17 Thread Carl Sorensen
On 1/17/12 2:30 PM, "Morten Jagd Christensen" wrote: >Hello all > >I'm trying to make a scheme function that generates a keyboard with >black and white dots for showing specific chord layouts > >The code below compiles and produces the keyboard figure > >I then call a function (make-dot key) whic

Keyboard chord figure in scheme

2012-01-17 Thread Morten Jagd Christensen
Hello all I'm trying to make a scheme function that generates a keyboard with black and white dots for showing specific chord layouts The code below compiles and produces the keyboard figure I then call a function (make-dot key) which works fine. What I really want is (make-dot-list '(1 5 8))