lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using SVG backend to implement point-and-click to braille location


From: Mario Lang
Subject: Re: Using SVG backend to implement point-and-click to braille location
Date: Wed, 19 Aug 2015 14:29:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Mario Lang <address@hidden> writes:

> This is basically a big thank you to the LilyPond community.
>
> I am writing software to deal with braille music code.
> Recently, I have started to implement a GUI for the functionality
> already implemented, based on Qt.  My program uses LilyPond to render
> visual music notation based on the braille music code provided by the
> user.
>
> I am using the LilyPond SVG backend in combination with Qt's SVG
> support.  While Qt's SVG module does not implement any support for <a>
> elements, it has a way to click on svg elements with an id attribute.
> What I did was to parse the SVG to XML, and walk the tree for all <a>
> elements, setting an id attribute on the inner path element.  While
> LilyPond's point-and-click does only refer to the location in the
> *LilyPond* file, I added comments after every emitted lilypond
> expression to be able to point back to the braille music code location
> which was actually responsible for the generation of that LilyPond
> code.  A long story short, I have point-and-click now, which repositions
> the editing cursor in my braille editing window if you click a note in
> the LilyPond based SVG display below.

I now have a live demo of this project online:
https://www.youtube.com/watch?v=TjfKDJm_xmI

> This is, rather amazing.  Becuase it will ultimately allow blind and
> sighted musicians to work together.  A sighted user can just use the
> mouse to "point" at a specific note, and the blind user will be able to
> see the same note, but in a totally different represnetation.

[...]

> Anyway, again, a big THANK YOU to everyone working on LilyPond.
> BMC would be very much less impressive without your work.

-- 
CYa,
  ⡍⠁⠗⠊⠕ | Debian Developer <URL:http://debian.org/>
  .''`. | Get my public key via finger mlang/address@hidden
 : :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44
 `. `'
   `-      <URL:http://delysid.org/>  <URL:http://www.staff.tugraz.at/mlang/>

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]