Need help with usage of breve

2022-12-23 Thread Dave Seidel
Hi all. I am building a score with a lot of tied whole notes, and I'd like to make it more concise by using breves. However, I am clearly not understanding how to use them properly. Example using ties: \version "2.22.2" \score { \new Staff \relative { \clef treble \new Voice

Re: trying to define microtonal note names and accidentals

2020-10-22 Thread Dave Seidel
I'm hoping to dip into these waters eventually. I tried using the HEJI fonts with kind assistance from Konstantin Heuer (who has been working on updating microlily), but without much luck so far. I have developed one microtonal score so far (mostly I write electronic music for which scores are

Re: Scheme expressions on lilypond command line (-e)

2020-10-20 Thread Dave Seidel
using Python in the first place), and it's good for the brain to get stretched into a different paradigm. - Dave On Mon, Oct 19, 2020 at 11:26 PM Aaron Hill wrote: > On 2020-10-19 7:51 pm, Dave Seidel wrote: > > More succinct: > > > > #(begin > >

Re: Scheme expressions on lilypond command line (-e)

2020-10-19 Thread Dave Seidel
More succinct: #(begin (use-modules (guile-user)) (if (not(defined? 'part)) (define partName "") (define partName (string-append "S" (number->string part))) ) ) though the warning still prints, but that's not a big deal for me. On Mon, Oct 19, 2020 at 10:2

Re: Scheme expressions on lilypond command line (-e)

2020-10-19 Thread Dave Seidel
Interesting. I don't understand the '@' syntax -- been trying to look it up but so far to no avail. Here's what I ended up with: #(begin (use-modules (guile-user)) (if (not(symbol? 'part)) (define part 0) ) (if (= part 0) (define partName "") (define partName (string-append

Re: Scheme expressions on lilypond command line (-e)

2020-10-19 Thread Dave Seidel
Thanks Jean! I need to read more carefully! On Mon, Oct 19, 2020 at 5:45 PM Jean Abou Samra wrote: > > Le 19/10/2020 à 23:14, Dave Seidel a écrit : > > Hi all, > > I am trying to define a variable on the command line that I can use within > the .ly file. I've tried both &

Scheme expressions on lilypond command line (-e)

2020-10-19 Thread Dave Seidel
Hi all, I am trying to define a variable on the command line that I can use within the .ly file. I've tried both -e "(define-public part 1)" and -e "(define part 1)" In the .ly file, I have a Scheme expression #(if (= part 0) (define partName "") (define partName (string-append "S"

Re: newbie: help with Scheme functions

2020-10-18 Thread Dave Seidel
Thanks, Aaron. On Sun, Oct 18, 2020 at 4:46 PM Aaron Hill wrote: > On 2020-10-18 1:38 pm, Dave Seidel wrote: > > Very cool, thanks! I'm curious -- could aBook and aBookPart have been > > written as a lambda, or is it cleaner to use a void function? > > (Re-adding the maili

Re: newbie: help with Scheme functions

2020-10-18 Thread Dave Seidel
Having articulated the question, I figured out that apparently one can't return a \bookpart from a Scheme function, but it's ok to return a \score, so I am restructuring my code. On Sun, Oct 18, 2020 at 10:28 AM Dave Seidel wrote: > Hi, > > I have a multi-section piece, with a master

newbie: help with Scheme functions

2020-10-18 Thread Dave Seidel
Hi, I have a multi-section piece, with a master .ly file that uses \include for each of the sections of the piece. Each included file more or less follows the pattern of the string quartet template that ships with Lilypond: a series of macros, one per voice, followed by a \bookpart section that

Help with HEJI fonts

2020-10-15 Thread Dave Seidel
Hello, I am trying to HEJI microtonal notation with Lilypond, using the OTF fonts downloaded from plainsound.org, and the microlily package (originally by Graham Breed and now being worked on by Konstantin Steuer). The specific problem I'm having is that Lilypond does not seem to load or use