Re: ASCII Music Notation?
From Jan Nieuwenhuizen <jan...@xs4.xs4all.nl>
· alt.ascii-art
· 21 Feb 2000 00:00 · View full thread
In article <crZq4.24$kD3...@sapphire.mtt.net>, Shaun Mead <sha...@ns.sympatico.caREMOVE, CAPITALIZED, TEXT> wrote: >I thought about this once, and I realize is isn't very easy. I'll give it a >crack at a small staff. > > Moderato > _________________________________________________________________________\ > |:____|\_________b___/______.____.__|__________._______.---.__.____________:| > |:____|/__4____|.____$______|____|__|__________|\__-,__|___|__|\_______..__:| > |:___/|___4____'`____/______|____|__|__________|___/___|___|__|\___""______:| > |:__('|)___________________@|___(|__|__#( )___@|._____@|__@|_@|____________:| > "| mp / >Here's hoping you'll find some use from these suggestions. Thanks for all who sent in suggestions! (Too bad a few of them were signed, we can't use those.) Over the weekend I've prepared a first minimal version of an ascii backend to LilyPond. There are now two ascii staff sizes; height 5 and 9 character. For each size, there's a font of ascii characters: mf/as5.af an mf/as9.af. The LilyPond music typesetter generates the AsciiScript typesetting recipe. This AsciiScript is then plotted by a simple external program: scripts/as2text.scm. Lots of work still needs to be done. I haven't had the time to get the placement of most characters right. The ascii font files are to be considered very much work-in-progress, but you can already have a look if you want. You can pick up a copy of GNU LilyPond at: ftp://ftp.cs.uu.nl/pub/GNU/LilyPond/v1.3/lilypond-1.3.25.tar.gz or see http://www.cs.uu.nl/people/hanwen/lilypond Greetings, Jan. Here are some results: $ echo "\time 4/4; g''1 g2 g4. g8" | lilypond -f as -i init-as5.fly - | as2text GNU LilyPond 1.3.25.jcn1 [..] Parsing... [..] Interpreting music...[3]elapsed time: 0.08 seconds Preprocessing elements... [./afm/as5.afm][./afm/as-number1.afm] Calculating column positions... [0] paper output to <stdout>... |\ ----|/------------------|--------------------------| ---/|-------------------|-|----------|--------|\---| --/-|_---4--------------|-|----------|.-------|-)--| -|-/|-\--4-O------------|o|---------*|-------*|----| --\_|_/-----------------|--------------------------| *_| lily $ lilypond -f as -i init-as.ly standchen-as9.ly [...] paper output to standchen-as9.as... $ as2text standchen-as9 as2text - LilyPond version 1.3.25.jcn1 _ Moderato / \ | / /-------|/---------___-------------------------------------------- || | ' ) | ||-----/|------------(---------------------------|----------------|\ || / | | .___)__ | __ | \ ||---/--|---|)---------\-----###################-|--\-----|\------| | || | .+._ _ | | | | | | | \ | | ||--|-(-|--|-------/-|-------|-----|---|---|---|-|--------|--|----| / || \__|_/ /__|_ | | | | | | | | || | ||------|---------___|_------|-|)(*)---|-(*)---|-|--------|-/-|)(*) || *_| | | | | | | | | || (*) -(*)-(*)-(*)-(*) | -(*) -(*) || | . | . | | | | . || --| -- | -- | | |)*) || (*) (*) (*) | . || | || . . . | || | || | | ||----___----------___----|----------------------|------------------------- || / \ . ' ) | | | | ||---\*---|----------(----|-------------\--------|-----|-------------\----| || / . .___) | < | | < | ||------/-----------------|-------------(--------|-----|-------------(----| || / | _ (O) | | | ||----/-----|)-----/-|----|----------------------|-|---|------------------| || _/ /__|_ | | |)(O) | \|----------------___|_---|----------------------|-----|------------------| | | --| -- | | | (O) -- | | | |)(O) lily -- Jan Nieuwenhuizen <jan...@gnu.org> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org
Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,d02446ad6a688f41 X-Google-Attributes: gidf996b,public X-Google-Thread: fcd51,19decf54ba88c61b X-Google-Attributes: gidfcd51,public From: jan...@xs4.xs4all.nl (Jan Nieuwenhuizen) Subject: Re: ASCII Music Notation? Date: 2000/02/21 Message-ID: <88rlih$6fn$1...@xs4.xs4all.nl> X-Deja-AN: 587966324 References: <88e8l1$33h$1...@xs4.xs4all.nl> <crZq4.24$kD3...@sapphire.mtt.net> X-Complaints-To: abu...@xs4all.nl X-Trace: news1.xs4all.nl 951146899 7421 194.109.6.45 (21 Feb 2000 15:28:19 GMT) Organization: XS4ALL, networking for the masses NNTP-Posting-Date: 21 Feb 2000 15:28:19 GMT Newsgroups: alt.ascii-art,rec.music.compose
About this message.
This message was posted publicly to the newsgroup
alt.ascii-art
in 2000 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked.
The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can.
Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.