lilypond-devel
[Top][All Lists]
Advanced

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

Re: Geting the list of MIDI instrument names


From: Reinhold Kainhofer
Subject: Re: Geting the list of MIDI instrument names
Date: Tue, 19 Feb 2008 17:37:38 +0100
User-agent: KMail/1.9.6

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Dienstag, 19. Februar 2008 schrieb Mats Bengtsson:
> Having written this, I couldn't resist the temptation to try my very
> rusty Scheme knowledge and managed to come up with
>
> \version "2.10.0"
> #(ly:load "midi.scm")

Ah, great to hear about that function... That also means that I can now easily 
create a table of all available x11-colors with scheme!

> #(map (lambda (entry) (ly:message (car entry))) instrument-names-alist)

Of course, the lilypond-way is much better than my pure-scheme code...

Cheers,
Reinhold
- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHuwXSTqjEwhXvPN0RAoFuAKDSD7NHIV0UK2Pi3RxqkFmz9CgmvQCgzyDb
uFYb/8loSL0kOyc1eWq2sS8=
=WFYf
-----END PGP SIGNATURE-----




reply via email to

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