Re: [ANN] LilyQuick 0.94beta - Quick note Lilypond entry using MIDI for Linux

2017-07-07 Thread Johan Vromans
On Fri, 7 Jul 2017 11:23:49 +1000, Vaughan McAlley 
wrote:

> I’ve put version 0.941beta up which fixes the issue of custom layouts not
> working and adds a Denemo layout option.

Thanks.

One thing: When I run lq, I still have to (manually) connnect its 'Virtual
RawMIDI ' port to 'Synth input port (10726:0)' although I understand from
the code this should be handled by lq itself.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [ANN] LilyQuick 0.94beta - Quick note Lilypond entry using MIDI for Linux

2017-07-07 Thread Martin Tarenskeen



Hi,

I just re-read the code and comments, and it seems configuring lilyquick 
works a little different. It looks to me that this is done from the 
function InitSetNoteLengths(). I'd rather enter my own list of 
valuemappings in a simple table. I only have to do that once, and 
LilyQuick wouldn't need an "intelligent" function to automatically 
calculate the keyboardmapping. Denemo is just one of many possible 
possible special preferences. A user-editable keyboard mapping table would 
be more flexible. (for example how do I configure a mapping in the 
style of Sibelius ?)



MT



On Fri, 7 Jul 2017, Martin Tarenskeen wrote:


On Fri, 7 Jul 2017, Vaughan McAlley wrote:


 I developed the layout myself using the Finale Speedy Note Entry as
 a base, which was:

 8 - \breve
 7 - 1
 6 - 2
 5 - 4
 4 - 8
 3 - 16
 2 - 32
 1 - 64


This also corresponds with the keyboard shortcuts for note durations 
when entering notes in MuseScore.


https://musescore.org/en/handbook/note-input#keyboard

I guess the MuseScore developers also where inspired by Finale.

In Sibelius it's more like this

1 - 32
2 - 16
3 - 8
4 - 4
5 - 2
6 - 1

And Denemo uses

0 - 1
1 - 2
2 - 4
3 - 8
4 - 16
5 - 32
6 - 64

Correct me if I am wrong, most of this info I just quickly Googled 
while writing this comment.


Personally I quite like the Sibelius mapping where 4=4

Good to be able to adjust the LilyQuick lua code to fit my personal 
preferences. Maybe the different mappings known from Finale, MuseScore, 
Sibelius and Denemo can be added [[-- in a comment block --]] in 
LQkeyboardEvents.lua to make it easy to select. Or maybe even a special 
configuration variable could be created in LQconfig.lua

Something like

NumericInputStyle = "denemo"
[[--
or "finale", "sibelius", "musescore", "custom"
--]]


Just a suggestion

--

MT



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [ANN] LilyQuick 0.94beta - Quick note Lilypond entry using MIDI for Linux

2017-07-07 Thread Martin Tarenskeen



On Fri, 7 Jul 2017, Vaughan McAlley wrote:


I developed the layout myself using the Finale Speedy Note Entry as a base, 
which was:

8 - \breve
7 - 1
6 - 2
5 - 4
4 - 8
3 - 16
2 - 32
1 - 64


This also corresponds with the keyboard shortcuts for note durations when 
entering notes in MuseScore.


https://musescore.org/en/handbook/note-input#keyboard

I guess the MuseScore developers also where inspired by Finale.

In Sibelius it's more like this

1 - 32
2 - 16
3 - 8
4 - 4
5 - 2
6 - 1

And Denemo uses

0 - 1
1 - 2
2 - 4
3 - 8
4 - 16
5 - 32
6 - 64

Correct me if I am wrong, most of this info I just quickly Googled while 
writing this comment.


Personally I quite like the Sibelius mapping where 4=4

Good to be able to adjust the LilyQuick lua code to fit my personal 
preferences. Maybe the different mappings known from Finale, 
MuseScore, Sibelius and Denemo can be added [[-- in a comment 
block --]] in LQkeyboardEvents.lua to make it easy to select. Or maybe 
even a special configuration variable could be created in LQconfig.lua

Something like

NumericInputStyle = "denemo"
[[--
or "finale", "sibelius", "musescore", 
"custom"

--]]


Just a suggestion

--

MT

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [ANN] LilyQuick 0.94beta - Quick note Lilypond entry using MIDI for Linux

2017-07-06 Thread Vaughan McAlley
On 29 June 2017 at 21:59, Johan Vromans  wrote:

>
> Since I usually do note input with Denemo, I tried to change the key
> definitions to match Denemo ( 0 = whole, 1 = half, 2 = quart, ...  ).
> I changed the definitions in LQkeyboardEvents.lua but this doesn't seem to
> work. Reading the code in LilyQuick.lua (lines 664 ...) doesn't make clear
> how this is supposed to work.
>
> Can you explain?
>
> Also, it may be a good idea to make the keystrokes match Denemo by default.
>
>
Hi Johan,

I’ve put version 0.941beta up which fixes the issue of custom layouts not
working and adds a Denemo layout option.

https://github.com/palestrina/lily-q

I developed the layout myself using the Finale Speedy Note Entry as a base,
which was:

8 - \breve
7 - 1
6 - 2
5 - 4
4 - 8
3 - 16
2 - 32
1 - 64

I always found the 1 key representing a note I never used a bit annoying,
and also lots of alternating between 8 and 16 required jumping between 4
and 3. So I made a circular sort of layout where adjacent note values are
always next to each other. But the latest patch allows you to do whatever
you like :-)

Vaughan
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [ANN] LilyQuick 0.94beta - Quick note Lilypond entry using MIDI for Linux

2017-07-03 Thread Knute Snortum
Has this app ever been compiled on Windows (MINGW or Visual Studio)?


---
Knute Snortum
(via Gmail)

On Mon, Jul 3, 2017 at 3:36 AM, Stjepan Horvat  wrote:

> ​cool app.
> Thanks​
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [ANN] LilyQuick 0.94beta - Quick note Lilypond entry using MIDI for Linux

2017-07-03 Thread Stjepan Horvat
​cool app.
Thanks​
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [ANN] LilyQuick 0.94beta - Quick note Lilypond entry using MIDI for Linux

2017-06-29 Thread Vaughan McAlley
On 29 Jun 2017 10:53 p.m., "David Kastrup"  wrote:

Johan Vromans  writes:

> On Tue, 27 Jun 2017 21:42:07 +0200 (CEST), Martin Tarenskeen
>  wrote:
>
>> OK. I found my keyboard there. Maybe /dev/input/by-id only lists USB
>> keyboards - just guessing?
>
> So it seems... My laptop only reports the camera in /dev/input/by-id .

dak@lola:~$ ls -lR /dev/input/
/dev/input/:
total 0
drwxr-xr-x 2 root root  60 Jun 28 19:06 by-path
crw-rw 1 root input 13, 64 Jun 28 19:06 event0
crw-rw 1 root input 13, 65 Jun 28 19:06 event1
crw-rw 1 root input 13, 74 Jun 28 19:06 event10
crw-rw 1 root input 13, 66 Jun 28 19:06 event2
crw-rw 1 root input 13, 67 Jun 28 19:06 event3
crw-rw 1 root input 13, 68 Jun 28 19:06 event4
crw-rw 1 root input 13, 69 Jun 28 19:06 event5
crw-rw 1 root input 13, 70 Jun 29 12:23 event6
crw-rw 1 root input 13, 71 Jun 28 19:06 event7
crw-rw 1 root input 13, 72 Jun 28 19:06 event8
crw-rw 1 root input 13, 73 Jun 28 19:06 event9
crw-rw 1 root input 13, 63 Jun 28 19:06 mice
crw-rw 1 root input 13, 32 Jun 28 19:06 mouse0
crw-rw 1 root input 13, 33 Jun 29 12:23 mouse1

/dev/input/by-path:
total 0
lrwxrwxrwx 1 root root 9 Jun 28 19:06 platform-thinkpad_acpi-event ->
../event7
dak@lola:~$

That's all I got here.

--
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Interesting. It looks like a driver for all the fancy non-text-input things
theThinkPad keyboard can do. So it's no use for this purpose. Maybe

> cat /proc/bus/input/devices

is a more reliable method of locating keyboards. What do you get from this?

Vaughan
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [ANN] LilyQuick 0.94beta - Quick note Lilypond entry using MIDI for Linux

2017-06-29 Thread David Kastrup
Johan Vromans  writes:

> On Tue, 27 Jun 2017 21:42:07 +0200 (CEST), Martin Tarenskeen
>  wrote:
>
>> OK. I found my keyboard there. Maybe /dev/input/by-id only lists USB 
>> keyboards - just guessing?
>
> So it seems... My laptop only reports the camera in /dev/input/by-id .

dak@lola:~$ ls -lR /dev/input/
/dev/input/:
total 0
drwxr-xr-x 2 root root  60 Jun 28 19:06 by-path
crw-rw 1 root input 13, 64 Jun 28 19:06 event0
crw-rw 1 root input 13, 65 Jun 28 19:06 event1
crw-rw 1 root input 13, 74 Jun 28 19:06 event10
crw-rw 1 root input 13, 66 Jun 28 19:06 event2
crw-rw 1 root input 13, 67 Jun 28 19:06 event3
crw-rw 1 root input 13, 68 Jun 28 19:06 event4
crw-rw 1 root input 13, 69 Jun 28 19:06 event5
crw-rw 1 root input 13, 70 Jun 29 12:23 event6
crw-rw 1 root input 13, 71 Jun 28 19:06 event7
crw-rw 1 root input 13, 72 Jun 28 19:06 event8
crw-rw 1 root input 13, 73 Jun 28 19:06 event9
crw-rw 1 root input 13, 63 Jun 28 19:06 mice
crw-rw 1 root input 13, 32 Jun 28 19:06 mouse0
crw-rw 1 root input 13, 33 Jun 29 12:23 mouse1

/dev/input/by-path:
total 0
lrwxrwxrwx 1 root root 9 Jun 28 19:06 platform-thinkpad_acpi-event -> ../event7
dak@lola:~$ 

That's all I got here.

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [ANN] LilyQuick 0.94beta - Quick note Lilypond entry using MIDI for Linux

2017-06-29 Thread Johan Vromans
On Tue, 27 Jun 2017 21:42:07 +0200 (CEST), Martin Tarenskeen
 wrote:

> OK. I found my keyboard there. Maybe /dev/input/by-id only lists USB 
> keyboards - just guessing?

So it seems... My laptop only reports the camera in /dev/input/by-id .

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [ANN] LilyQuick 0.94beta - Quick note Lilypond entry using MIDI for Linux

2017-06-29 Thread Johan Vromans
On Tue, 27 Jun 2017 16:27:24 +1000, Vaughan McAlley
 wrote:

> I’m pleased to announce LilyQuick 0.94beta. The main new feature is that
> it counts rhythms as you go and automatically enters bar checks. Also,
> some settings have been made reachable from within LilyQuick rather than
> just the settings file.

Great job. No problems getting it to run on Fedora 25.

Since I usually do note input with Denemo, I tried to change the key
definitions to match Denemo ( 0 = whole, 1 = half, 2 = quart, ...  ).
I changed the definitions in LQkeyboardEvents.lua but this doesn't seem to
work. Reading the code in LilyQuick.lua (lines 664 ...) doesn't make clear
how this is supposed to work.

Can you explain?

Also, it may be a good idea to make the keystrokes match Denemo by default.

Thanks for your contribution!

-- Johan

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [ANN] LilyQuick 0.94beta - Quick note Lilypond entry using MIDI for Linux

2017-06-28 Thread Vaughan McAlley
On 29 June 2017 at 07:26, Martin Tarenskeen  wrote:

>
>
> On Wed, 28 Jun 2017, Vaughan McAlley wrote:
>
> Hi Martin,
>>
>> It looks like some virtual keyboard events are being dropped by the
>> system. Try adding this line to the LQconfig.lua file:
>>
>> gapBetweenKeystrokes = true
>>
>> This adds a few milliseconds between virtual keystrokes, which helped
>> when I had those issues.
>>
>
> Thank you.
> I have it working now. This is so cool, I might actually use it in real
> life :-)
>
> --
>
> MT
>

Glad you like it. I’ve been using it for years, but making it public has
made it better!

I’ll try to automate finding keyboards. Shouldn’t be too difficult.

Vaughan
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [ANN] LilyQuick 0.94beta - Quick note Lilypond entry using MIDI for Linux

2017-06-27 Thread tisimst
Hi, Vaughan!

On Tue, Jun 27, 2017 at 12:28 AM, Vaughan McAlley [via Lilypond] <
ml+s1069038n204148...@n5.nabble.com> wrote:

> Greetings,
>
> I’m pleased to announce LilyQuick 0.94beta. The main new feature is that
> it counts rhythms as you go and automatically enters bar checks. Also, some
> settings have been made reachable from within LilyQuick rather than just
> the settings file.
>
> You can get LilyQuick here: https://github.com/palestrina/lily-q
>
> I did a video demo that you can view here: https://youtu.be/eh8mgF1CNAo
> (sorry about the background hiss)
>
> From the README:
>
> Welcome to LilyQuick, originally written as a replacement for Speedy Note
> Entry when I moved from Finale to Lilypond, and then much improved. The
> basic idea is to play notes on a MIDI keyboard with your left hand, then
> while they are sounding, press a note on the numeric keypad with your right
> hand corresponding to the duration. For example, to get "f2", play an F on
> the MIDI keyboard, and press number 5 on the numeric keypad. The advantage
> to this approach is excellent speed and accuracy, and you get to hear the
> notes as they are being entered.
>

This is super exciting! And thanks for putting together a video
demonstration. That's very helpful. It's nice having tools like this around.

Best,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Re-ANN-LilyQuick-0-94beta-Quick-note-Lilypond-entry-using-MIDI-for-Linux-tp204175.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [ANN] LilyQuick 0.94beta - Quick note Lilypond entry using MIDI for Linux

2017-06-27 Thread Martin Tarenskeen



On Tue, 27 Jun 2017, Vaughan McAlley wrote:


[vaughan@Lenovo input]$ cd by-id
[vaughan@Lenovo by-id]$ ls -l
total 0
lrwxrwxrwx. 1 root root 9 Jun 27 22:45 
usb-CHICONY_USB_NetVista_Full_Width_Keyboard-event-kbd -> ../event3
lrwxrwxrwx. 1 root root 9 Jun 27 22:45 
usb-Logitech_USB-PS_2_Optical_Mouse-event-mouse -> ../event4
lrwxrwxrwx. 1 root root 9 Jun 27 22:45 usb-Logitech_USB-PS_2_Optical_Mouse-mouse 
-> ../mouse0

In this case, usb-CHICONY_USB_NetVista_Full_Width_Keyboard-event-kbd is just a 
symlink to event3 in /dev/input

For the moment you could try typing

> cat /proc/bus/input/devices

Which will list all your devices.

The keyboard should be among them, with a line like this:



OK. I found my keyboard there. Maybe /dev/input/by-id only lists USB 
keyboards - just guessing?


I'm using a laptop, not a separate keyboard.

--

MT

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [ANN] LilyQuick 0.94beta - Quick note Lilypond entry using MIDI for Linux

2017-06-27 Thread Vaughan McAlley
On 27 June 2017 at 17:39, Martin Tarenskeen  wrote:

>
>
> On Tue, 27 Jun 2017, Martin Tarenskeen wrote:
>
> Hi, I am trying to set LilyQuick up in Fedora 25. Following the
>> instructions in the README and INSTALL files I am now trying to find out
>> what I have to enter in LQconfig.lua to let lq find my computer keyboard.
>> But in /dev/input/by-id I can only see my mouse
>>
>
> Other question: for MIDI input I am using a small synth that has sound by
> itself (Yamaha Reface DX). I don't need QSynth for that. I have a feeling
> this could simplify the configuration steps that I need to be able to
> configure and use LilyQuick , but I have no idea how.
>
> --
>
> MT
>


I guess you don't want Fluidsynth playing as well as your keyboard. You
could go to Linux.lua and delete lines 18-24, so that the LinuxOpenSynth
function does nothing and looks like this:

LinuxOpenSynth = function()
end

It seems to work OK...

Vaughan
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [ANN] LilyQuick 0.94beta - Quick note Lilypond entry using MIDI for Linux

2017-06-27 Thread Vaughan McAlley
On 27 June 2017 at 17:26, Martin Tarenskeen  wrote:
>
>
>
> On Tue, 27 Jun 2017, Vaughan McAlley wrote:
>
>> You can get LilyQuick here: https://github.com/palestrina/lily-q
>
>
> Hi, I am trying to set LilyQuick up in Fedora 25. Following the
instructions in the README and INSTALL files I am now trying to find out
what I have to enter in LQconfig.lua to let lq find my computer keyboard.
But in /dev/input/by-id I can only see my mouse
>
> usb-Logitech_USB_Optical_Mouse-event-mouse
> usb-Logitech_USB_Optical_Mouse-mouse
>
> not the keyboard that I am typing on to write this question.
> How do I find the correct name for my keyboard on Fedora 25?
>
> MT
>
>

Hi Martin,

I've been playing around on my Fedora partition and I can't seem to
replicate the problem. These listings by id are symlinks to "files" in
/dev/input:

[vaughan@Lenovo input]$ cd by-id
[vaughan@Lenovo by-id]$ ls -l
total 0
lrwxrwxrwx. 1 root root 9 Jun 27 22:45
usb-CHICONY_USB_NetVista_Full_Width_Keyboard-event-kbd -> ../event3
lrwxrwxrwx. 1 root root 9 Jun 27 22:45
usb-Logitech_USB-PS_2_Optical_Mouse-event-mouse -> ../event4
lrwxrwxrwx. 1 root root 9 Jun 27 22:45
usb-Logitech_USB-PS_2_Optical_Mouse-mouse -> ../mouse0

In this case, usb-CHICONY_USB_NetVista_Full_Width_Keyboard-event-kbd is
just a symlink to event3 in /dev/input

For the moment you could try typing

> cat /proc/bus/input/devices

Which will list all your devices.

The keyboard should be among them, with a line like this:

H: Handlers=sysrq kbd leds event3

Get the last word and put it into LQconfig.lua like this:
deviceName = "/dev/input/event3"

If your input devices change, this id might change. I might be able to
automate this procedure. Good luck.

Vaughan
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [ANN] LilyQuick 0.94beta - Quick note Lilypond entry using MIDI for Linux

2017-06-27 Thread Martin Tarenskeen



On Tue, 27 Jun 2017, Martin Tarenskeen wrote:

Hi, I am trying to set LilyQuick up in Fedora 25. Following the instructions 
in the README and INSTALL files I am now trying to find out what I have to 
enter in LQconfig.lua to let lq find my computer keyboard. But in 
/dev/input/by-id I can only see my mouse


Other question: for MIDI input I am using a small synth that has sound 
by itself (Yamaha Reface DX). I don't need QSynth for that. I have a 
feeling this could simplify the configuration steps that I need to be 
able to configure and use LilyQuick , but I have no idea how.


--

MT

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [ANN] LilyQuick 0.94beta - Quick note Lilypond entry using MIDI for Linux

2017-06-27 Thread Martin Tarenskeen



On Tue, 27 Jun 2017, Vaughan McAlley wrote:


You can get LilyQuick here: https://github.com/palestrina/lily-q


Hi, I am trying to set LilyQuick up in Fedora 25. Following the 
instructions in the README and INSTALL files I am now trying to find out 
what I have to enter in LQconfig.lua to let lq find my computer keyboard. 
But in /dev/input/by-id I can only see my mouse


usb-Logitech_USB_Optical_Mouse-event-mouse
usb-Logitech_USB_Optical_Mouse-mouse

not the keyboard that I am typing on to write this question.
How do I find the correct name for my keyboard on Fedora 25?

MT



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


[ANN] LilyQuick 0.94beta - Quick note Lilypond entry using MIDI for Linux

2017-06-27 Thread Vaughan McAlley
Greetings,

I’m pleased to announce LilyQuick 0.94beta. The main new feature is that it
counts rhythms as you go and automatically enters bar checks. Also, some
settings have been made reachable from within LilyQuick rather than just
the settings file.

You can get LilyQuick here: https://github.com/palestrina/lily-q

I did a video demo that you can view here: https://youtu.be/eh8mgF1CNAo
(sorry about the background hiss)

>From the README:

Welcome to LilyQuick, originally written as a replacement for Speedy Note
Entry when I moved from Finale to Lilypond, and then much improved. The
basic idea is to play notes on a MIDI keyboard with your left hand, then
while they are sounding, press a note on the numeric keypad with your right
hand corresponding to the duration. For example, to get "f2", play an F on
the MIDI keyboard, and press number 5 on the numeric keypad. The advantage
to this approach is excellent speed and accuracy, and you get to hear the
notes as they are being entered.

Happy note-entering!
Vaughan
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user