Re: PowerTab to Lilypond conversion utility

2004-06-06 Thread Phuah Yee Keat
Jelmer Vernooij wrote:
Figuring out the file format took me quite a bit of time and a couple 
of sleepless nights, but it's done now and appears to work for all the 
PowerTab files I can get. :-)
Hi! I have originally worked on a ptab->musicxml converter as well! And 
took me some effort to get the powertab format as well! The parser (and 
a simple dumper) can be found at
http://www.geocities.com/kiwlm/
http://www.geocities.com/kiwlm/libptab-0.1.20040225.tar.gz

I have yet to see your source codes yet, but will soon.
My source codes mainly abstracted out the MFC serializing stuffs into 
another "library" so we just need to mimic the structures (or classes) 
that's used in powertab.

Cheers,
Phuah Yee Keat
___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


What are the "rules" for repeats?

2004-06-06 Thread Jim Sabatke
I've been coding a program to convert BMW bagpipe music 
files into lilypond format.  I've followed repeat examples 
and am have not been using \repeat for repeated sections 
that do not have alternative endings.

What is the "approved" format for using repeats?
Thanks,
--
Jim Sabatke
Hire Me!! - See my resume at http://my.execpc.com/~jsabatke
Do not meddle in the affairs of Dragons, for you are crunchy 
and good with ketchup.

NOTE: Please do not email me any files with the following 
extensions.  They
are deleted on my ISP's server before I ever see them, and 
no bounce message
is sent.  I am not notified they are deleted.  I am doing 
this because of  the
volume and size of spam files I receive.  If you wish to 
send me a file of one of these types, contact me first and I 
will tell you how to send it:

lnk asd hl |ocx reg bat c[ho]m cmd exe dll  vxd pif scr hta 
jse? sh[mbs] vb[esx] ws[fh] wav mov wmf

___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Vertical spacing between systems

2004-06-06 Thread Jim Sabatke
Dominik Baenninger wrote:
I would like decrease the vertical space between systems of notes. If
found in the manual that I can manipulate this feature with
\set Staff.minimumVerticalExtent = #'(-4 . 4)
But in which way do I have to include this statement in the code?
Obviously it does not work in the way I tried it (see my code below).
Dominik
%  my code 
\include "hrnI.src"
\version "2.2.1"
% Set Font size
#(set-global-staff-size 18)
\score {
   << \hornOneNote>>
}
\paper{
   \set Staff.minimumVerticalExtent = #'(-4 . 4)
   #(set-paper-size "a4")
   linewidth = #(* mm 190)
}

I've been putting it in the
\score  {
\notes  {
 \set Staff.minimumVerticalExtent = #'(-4 . 4)
section, and it seems to work there.
I will supply a more complete score if you can't get it working.
Good luck!
--
Jim Sabatke
Hire Me!! - See my resume at http://my.execpc.com/~jsabatke
Do not meddle in the affairs of Dragons, for you are crunchy 
and good with ketchup.

NOTE: Please do not email me any files with the following 
extensions.  They
are deleted on my ISP's server before I ever see them, and 
no bounce message
is sent.  I am not notified they are deleted.  I am doing 
this because of  the
volume and size of spam files I receive.  If you wish to 
send me a file of one of these types, contact me first and I 
will tell you how to send it:

lnk asd hl |ocx reg bat c[ho]m cmd exe dll  vxd pif scr hta 
jse? sh[mbs] vb[esx] ws[fh] wav mov wmf

___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Vertical spacing between systems

2004-06-06 Thread Dominik Baenninger
I would like decrease the vertical space between systems of notes. If
found in the manual that I can manipulate this feature with

\set Staff.minimumVerticalExtent = #'(-4 . 4)

But in which way do I have to include this statement in the code?
Obviously it does not work in the way I tried it (see my code below).

Dominik

%  my code 
\include "hrnI.src"
\version "2.2.1"

% Set Font size
#(set-global-staff-size 18)

\score {
   << \hornOneNote>>
}

\paper{
   \set Staff.minimumVerticalExtent = #'(-4 . 4)
   #(set-paper-size "a4")
   linewidth = #(* mm 190)
}




___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


PowerTab to Lilypond conversion utility

2004-06-06 Thread Jelmer Vernooij
Hi,

For those interested: I've been working on a utility that can parse 
PowerTab files (generated by the PowerTab editor for Windows, details 
at http://www.power-tab.net/). PowerTab is proprietary and doesn't 
run on anything but Windows, but most of the tablature files on the
internet are stored in .ptb.

Figuring out the file format took me quite a bit of time and a couple 
of sleepless nights, but it's done now and appears to work for all the 
PowerTab files I can get. :-)

I'm now working on a utility that can convert a powertab file 
to a Lilypond file. Basic conversion works, but there are still a lot
of things to figure out.

More details can be found at :
http://jelmer.vernstok.nl/oss/ptabtools/

Cheers,

Jelmer

-- 
Jelmer Vernooij <[EMAIL PROTECTED]> - http://jelmer.vernstok.nl/
OSS Contributions in the last 2 days: 
samba: 60 %, ptabtools 40%


___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: I am not spanned!

2004-06-06 Thread Erik Sandberg
On Sunday 06 June 2004 18.35, Will Oram wrote:
> I get a number of these errors now in 2.2.2:
>
> programming error: Multi_measure_rest::get_rods (): I am not spanned!
> Continuing; crossing fingers
>
> I can trace them to specific instruments, but not to any typos on my
> part. What, exactly, does this error mean?

It means there's a small bug somewhere. Or at least, that there's something 
that the programmers didn't think about. 

I'd be happy to add this to the bug database, could you please send in an 
example ly file (the smaller the better), which gives this warning?

Erik


___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


I am not spanned!

2004-06-06 Thread Will Oram
I get a number of these errors now in 2.2.2:
programming error: Multi_measure_rest::get_rods (): I am not spanned!
Continuing; crossing fingers
I can trace them to specific instruments, but not to any typos on my 
part. What, exactly, does this error mean?

Will Oram // Genius @ Large // AIM spamguy21
spamguy (at) foxchange (dot) com // wro1 (at) cwru (dot) edu

___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: What did I messed out?

2004-06-06 Thread Joshua Koo
Hi,

After figuring that dvi viewers need the path to the fonts, I managed to solve viewing 
the notes correctly on lilytool's jdvi by changing the jdviProp file found in the 
jedit marco directory. Edited the line with jdvi.font.path.

The only problem I have now is the point and click feature. Clicking the note head is 
supposed the jump to the source file but it seems it does not jump back to the source 
directory. For example my ly file is at c:\Programs\cygwin\home\Joshua\test.ly but 
when I click on the note, it jumps to the file C:\\cygwin\home\Joshua\test.ly 

Cant figure where to configure the path to the correct directory.   I'm not using the 
cvs version of j-dvi. Has the cvs version fix it?

Joshua

ps: Bert, I still not on your mailing list. Please add me if its possible. Thx

>Hi
>
>Below is my error log. Perphaps you can spot where the problem comes from. It seems 
>to me because of path problems
>
>thanks,
>Joshua 
>   
>

>> The only problem is still viewing the dvi files. I havnt seem 
>> to have the fonts correctly installed?
>
>In jEdit Utilities/Troubleshooting/Activity log you can find what fonts are
>not found.
>Look into /var/cache/fonts/ something and try to copy all fonts directly
>under ljfour
>
>The fonts can be generated with dvips file.dvi
>
>Bert
>
>
>.





___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond-book No Noteheads

2004-06-06 Thread Thorkil Wolvendans
Hi Mr. Fulk,
I think I have an idea what you may have done wrong. This is what you write:
lilypond-book --output=out\ filename.tex
cd out
latex filename
dvips -Ppdf -u +filename filename
ps2pdf filename.ps
In the fourth line, you shouldn't write
dvips -Ppdf -u +filename filename
but
dvips -Ppdf -u +lilypond filename
It would be very likely that everything works as it should!
Regards,
Thorkil
At 15:51 5-6-04, you wrote:
Hey everyone,
I had played with Lilypond a bit a few months ago (before work and kids 
demanded too much time). Now that it is summer, I want to create a 
manuscript for an English as a second language textbook (with American 
folksongs). So I decided to try Lilypond-book.

Lilypond works great and prints music beautifully. However, every time I 
try to do something in Lilypond-book, there are never any noteheads, 
clefs, key sigs, etc. in the finial PDF file --- only staff, bar and note 
lines.

My system setup is Mac OS X.3.4. I installed Lilypond 2.2 via Fink a few 
months ago.  I wrote the file in TeXShop, switched to Terminal and typed:
lilypond-book --output=out\ filename.tex
cd out
latex filename
dvips -Ppdf -u +filename filename
ps2pdf filename.ps

If anyone has any ideas what is going on here, I would be very grateful.
Sincerely,
TS S. Fulk

___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user

___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Help in using polyphony

2004-06-06 Thread Hendrik
Ferenc Wagner wrote:
>> "Hendrik" <[EMAIL PROTECTED]> writes:
>>
>>> Indeed it came from the manual for 1.8 Maybe there should
>>> be a warning that such things have changed?  I found it by
>>> googling with "site:www.lilypond.org polyphony".
>>
>> I recommend you browsing the manual directly.  It may even
>> be installed on your local computer together with LilyPond
>> and hopefully correspond to the installed version.  The web
>> site contains documentation for various versions.
>>
>>> << \melody
>>>\accompany
>>>\bass
>
>>
>> I would rather do << \melody \\ \bass \\ \accompany >> or
>> even better give explicit \voiceOne, \voiceTwo...  commands
>> to arrange stem directions and the like.

I did this (inside \melody ...), but all the stems were up then.  So I used
\stemUp and \stemDown.

Also,
>>
>> \override Staff.NoteCollision
>> #'merge-differently-headed = ##t
>> \override Staff.NoteCollision
>> #'merge-differently-dotted = ##t
>>
>> is often useful for guitar scores.

Where should I put this?  Inside the \scores I presume, but outside the
others right?

>>> which are each input like <> <>
>>
>> You probably mean   instead.

Yes, this works better, thanks.

But I still get a bunch of error messages saying 'adding notes to
incompatible stem (type=2) Don't you want polyphonic voices instead?'
And also 'Can't have rests and note heads together on a stem', which makes
sense, because at those places the rests are printed over the notes, instead
of lowered under them.  Should I do this by hand?
And also 'Can not add text scripts to individual note heads', but that is
something I'll worry about later, when first the notes are at the right
places...

>>> Well ok, I'll keep meddling and see what comes out...
>>
>> Good luck!

Thanks.  H.



___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user