[R] Hershey fonts for musical notation?

Atte Tenkanen attenka at utu.fi
Wed Jan 3 09:17:06 CET 2007


Hi,

I'd like to know if it is possible to use Hershey vector fonts to create very primitive musical notation. 
If I can hang some whole notes on these lines

X11()
plot(0,0, xlim=c(0,10), ylim=c(0,10))
# Staves:
for (i in c(seq(from=2,to=2.8,by=0.2),seq(from=4,to=4.8,by=0.2)))
{
	abline(h=i)
}


it is enough.

Best wishes,

Atte Tenkanen
University of Turku, Finland
___________________________________________________________________
P.S.
By the way, right now the demo(Hershey) seems not to work in OSX version R 2.4.1. ...
I get a message

> i <- i + 1
Error in deparse(ei, control = c("showAttributes", "useSource")) : 
	invalid multibyte string



More information about the R-help mailing list