Re: Key signatures in MIDI output

2024-05-11 Thread Giles Boardman
The issue is consistency and I'm perhaps not using the terms precisely enough to describe what I am seeing. I understand about MIDI notes and that they are neither sharpened not flattened, but each has their own value. In my sequencer (Cakewalk ProAudio 9), if my piece has a Key Signature even

Solving espressivo problem

2024-05-11 Thread morten
Dear list I am trying to solve this problem about espressivos that stretches over four beats. I have tried many versions but not seems to solve it The c1 and the b4 c2 b4 bars work as I hoped for. the b2 c2 bar and the a2~ a2 does not give the wished for results. Can anybody help? *

Re: Key signatures in MIDI output

2024-05-11 Thread David Kastrup
Giles Boardman writes: > However, when I create new files, I am getting output that is as if I > have chosen to write everything in C major, with all the flats and > sharps shown explicitly. Nevertheless, the screen and pdf output are > written in, for example G, with no sharps on the individual

Re: Solving espressivo problem

2024-05-11 Thread morten
mor...@borchorst.eu skrev den 2024-05-11 11:40: Dear list I am trying to solve this problem about espressivos that stretches over four beats. I have tried many versions but not seems to solve it The c1 and the b4 c2 b4 bars work as I hoped for. the b2 c2 bar and the a2~ a2 does not give the

Re: Key signatures in MIDI output

2024-05-11 Thread Hans Åberg
> On 10 May 2024, at 22:21, msk...@ansuz.sooke.bc.ca wrote: > > On Fri, 10 May 2024, Hans Åberg wrote: > >>> signature. The MIDI file does not contain that information; it is up to >>> whatever software reads the MIDI file, to display it appropriately. >> >> So to go back to staff notation f

Re: Key signatures in MIDI output

2024-05-11 Thread mskala
On Sat, 11 May 2024, Giles Boardman wrote: > When I create MIDI output from Lilypond, if I have imported a MIDI file and > then resaved it with changes made in LilyPond, the output is like that, too. Lilypond as such does not import MIDI files. I think you must be using some piece of software ot

Re: Key signatures in MIDI output

2024-05-11 Thread Giles Boardman
Thank you for your efforts, Matt, and everyone else who has spent any time looking into this. To answer Matt, I did use Midi2ly by way of Frescobaldi and I must also have previously found a way to run a command line batch (if only a repetitive list) because I have way to many files to have done

Re: Solving espressivo problem

2024-05-11 Thread Kieren MacMillan
Hi Morten, Here’s one approach: %%% SNIPPET BEGINS \version "2.25.11" esp = \markup \lower #1 \scale #'(1.375 . 1) \musicglyph #"scripts.espr" stuff = \relative { \time 4/4 r4 b'4 a2-\tweak self-alignment-X #-1.25 _\esp ~ a2 b4 4( c1)-\tweak self-alignment-X #-0.5 _\esp

Re: Key signatures in MIDI output

2024-05-11 Thread David Kastrup
msk...@ansuz.sooke.bc.ca writes: > On Sat, 11 May 2024, Giles Boardman wrote: > >> When I create MIDI output from Lilypond, if I have imported a MIDI file and >> then resaved it with changes made in LilyPond, the output is like that, too. > > Lilypond as such does not import MIDI files. I think y

Re: Feathered Beam Timing

2024-05-11 Thread N. Andrew Walsh
Hi Steph, I'm not an expert with the \featherDurations interface, but this: On Sat, May 11, 2024 at 3:53 PM Steph Phillips wrote: > > \once \override Beam.grow-direction = #LEFT > \featherDurations 6/4 { d16[-. d-. d-. d-. d-. d]-. } | > seems to disagree with how the tutorial describes it: htt

Re: Key signatures in MIDI output

2024-05-11 Thread mskala
On Sat, 11 May 2024, Giles Boardman wrote: > I have now been more systematic in my approach and conclude that \key is not > reflected in MIDI output. I tried various positions for events and in each Well, it definitely is reflected in the output in my own tests. The example code I posted, when r

Re: Key signatures in MIDI output

2024-05-11 Thread Giles Boardman
You are, of course, right. Your evidence is clear. The position of the \key command seems a strong candidate but I can't get it into the .MID even in the simplest of snippet. As I mentioned I also have other behaviour I can't explain so it could also be version related. I reinstalled the latest

Re: Feathered Beam Timing

2024-05-11 Thread Archer Endrich
Hello, I have frequently encountered the situation where I want to have feathered durations within a specified duration -- e.g., a crotchet, or a minim, or a breve.  This is the code I've come up with: \once \override Beam.grow-direction = #RIGHT   \featherDurations #(ly:make-moment 1/2)   \t

Re: Solving espressivo problem

2024-05-11 Thread Mats Bengtsson
On 2024-05-11 15:18, Kieren MacMillan wrote: Hi Morten, Here’s one approach: %%% SNIPPET BEGINS \version "2.25.11" esp = \markup \lower #1 \scale #'(1.375 . 1) \musicglyph #"scripts.espr" stuff = \relative { \time 4/4 r4 b'4 a2-\tweak self-al

Re: Solving espressivo problem

2024-05-11 Thread Kieren MacMillan
Hi Mats, > On May 11, 2024, at 11:51 AM, Mats Bengtsson wrote: > I would rather do something like the following I started down that path, but when I saw that the output was I realized it would take far too much manual tweaking to make it visually attractive, whereas my \esp version gives with

Re: Solving espressivo problem

2024-05-11 Thread Lukas-Fabian Moser
Here’s one approach: %%% SNIPPET BEGINS \version "2.25.11" esp = \markup \lower #1 \scale #'(1.375 . 1) \musicglyph #"scripts.espr" stuff = \relative { \time 4/4 r4 b'4 a2-\tweak self-alignment-X #-1.25 _\esp ~ a2 b4 4( c1)-\tweak self-alignment-X #-0.5 _\esp b2-\tw

Re: Getting a function to accept a string or a markup

2024-05-11 Thread Lukas-Fabian Moser
Hi Vaughan, Am 10.05.24 um 07:44 schrieb Vaughan McAlley: Hi, I have a text spanner function that shows a player that they are playing in simultaneous rhythm with one or more other players. I adapted it from code I used for indicating colouration in renaissance music. It works fine, but if it b

Re[2]: Feathered Beam Timing

2024-05-11 Thread Steph Phillips
So after a little toying around with the suggestions from this thread, I've come up with the following: \once \override TupletNumber.text = \markup { \note-by-number #1 #0 #UP } \once \override TupletBracket.bracket-visibility = ##t \once \override TupletBracket.v

Re: Key signatures in MIDI output

2024-05-11 Thread David Kastrup
Giles Boardman writes: > You are, of course, right. Your evidence is clear. The position of the \key > command seems a strong candidate but I can't get it into the .MID even in the > simplest of snippet. > > As I mentioned I also have other behaviour I can't explain so it could also > be versi

Re: Spacing of chords on a chord lead sheet

2024-05-11 Thread Raphael Mankin
On 11/05/24 01:59, Kieren MacMillan wrote: Hi Raphael, However, the chord names are mono-spaced; they are not spaced according to their durations. So that if, for instance, I  have {ef2 ef4:maj7 ef4:7} then each symbol occupies the same amount of space on the line. The first chord does not

Re: Key signatures in MIDI output

2024-05-11 Thread David Wright
On Sat 11 May 2024 at 15:14:47 (+), Giles Boardman wrote: > You are, of course, right. Your evidence is clear. The position of the \key > command seems a strong candidate but I can't get it into the .MID even in the > simplest of snippet. > > As I mentioned I also have other behaviour I can'

Re: Feathered Beam Timing

2024-05-11 Thread David Wright
On Sat 11 May 2024 at 16:06:00 (+0200), N. Andrew Walsh wrote: > (the stickler in me would complain that tuplets should always indicate a > shortening of length, and this is technically putting six sixteenths in the > space of eight, but I guess the feathering overrules that) I tickles me that I s