Re: [abcusers] force a linefeed in the ps output

2004-06-11 Thread joe mc cool
joe mc cool wrote:
How can I persuade abcm2ps to output a lf at the |: ?  Or indeed 
anywthere ?
Blah, it is so easy.  I just put a T: before each |:
I am really sorry for the stupidity of this question.
Joe
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html


[abcusers] force a linefeed in the ps output

2004-06-08 Thread joe mc cool
Please,
dealing with Irish traditional music.  When beginners come to a repeat, 
they often experience difficulty locating the |:

How can I persuade abcm2ps to output a lf at the |: ?  Or indeed anywthere ?
The -B option is not quite what I need.
Sorry to trouble ye with this.
--
Joe Mc Cool ===
Tangent Computer Research BT71 7LN (www.tangent-research.com)
voice:(44)2837-548074mob:(44)7802-572441

To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html


[abcusers] play abc repeats a wee snatch

2003-12-21 Thread joe mc cool
Please,

I use the following script to play abc:

###

use strict;
use File::Basename;
my $filename = shift;
my $volume   = shift;
  $volume++;
my $repeats  = shift;
my $midi_file= /tmp/.basename($filename);
my $au_file  = /tmp/.basename($filename)..au;
print midi = $midi_file\n;
print au_file = $au_file\n;
print volume = $volume, repeats = $repeats\n;
if (-e $filename) {
 system(abc2midi $filename -o $midi_file 1 /dev/null 2 /dev/null);
}
system(timidity -L /usr/share/timidity -Ou -o$au_file $midi_file  
/tmp/timidity 2 /dev/null);
system(chmod 777 $au_file);# so they can be erased by anyone later

for (my $c = 0; $c = $repeats; $c++ ) {
 system(play -v $volume $au_file );
}
###

It works fine, but insists on repeating a wee snatch of the last part of 
the tune when it has finished.

If I try:

   play -v 1 /tmp/my_audio_file.au

it does exactly the same thing.

If I try:

   play -v 1 some_downloaded_audio_file.au

everything is fine and it has no spurious repeats.

Any hints ?

Thanks.

Joe Mc Cool

To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html


Re: [abcusers] play abc repeats a wee snatch

2003-12-21 Thread joe mc cool
Jim Russell wrote:

It works fine, but insists on repeating a wee snatch of the last part of 
the tune when it has finished.
   

What happens if you use timidity to play the midi file directly to 
the sound card?

The first note is played correctly, after that - jibberish.

Does it happen to all your .abc files?

Yes.

I have just now pulled a midi file down from JC's Tine Finder and played 
it with:

   timidity -L /usr/share/timidity -Ou -ojoe.au test.mid

   play joe.au

and the irritating repeat is still there.

I can play the sample au files that come with xemacs fine.  So, it would 
appear my problem is with timidity.

Oh dear.

Thanks a lot.

Joe.

To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html


[abcusers] floods and the low level

2003-04-04 Thread joe mc cool
Please,

I am sorry to trouble you all, but I cannot find abc's for either 
Flood's Hornpipe or The Low Level.

JC's wonderful tune finder fetches a version of The Low Level OK, but it 
is not the one that is often played with Flood's.

Thanks a lot.

Joe Mc Cool

To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html


Re: [abcusers] Newbie Questions

2002-12-26 Thread joe mc cool
Ed Skinner wrote:


Gorgeous output!) Suggestions for longevity and portability are particularly 
 

Yeah, isn't it wonderful -  thanks a lot to everyone.


I presume that the absence of a collection of jazz/pop/country standards 
in abc format on the net is because of copyright issues. If such an archive 
exists, however, I'd appreciate a pointer.
 

No.  For Traditional music anyway See:

   http://ecf-guest.mit.edu/~jc/music/abc/findtune.html

wonderful, wonderful facility (thanks a lot John)

Joe Mc Cool

To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html



[abcusers] printing the source file name

2002-12-15 Thread joe mc cool
Please,

using abcm2ps, how can I print the source filename - either the original 
abc file name or the postscript file name ?

--
Joe Mc Cool

Tangent Computer Research BT71 7LN (www.tangent-research.com)
voice:(44)2837-548074fax:(44)-870-0520185 The more you say the less the better.



To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html


Re: [abcusers] printing the source file name

2002-12-15 Thread joe mc cool
Jon Freeman wrote:


Mmmm...  I think Joe is looking for a switch (like -z or whatever) to do the
work rather than using an abc header.

Otherwise, an abcm2ps specific (I think) that could be useful is  %%footer.
 

abcm2ps -z blah

 Unknown flag -z

%%footer this is some text

produces nothing !

Sorry to be such a bore.  But my reading of newfeatures, leaves me still without a solution.

--
Joe Mc Cool

Tangent Computer Research BT71 7LN (www.tangent-research.com)
voice:(44)2837-548074fax:(44)-870-0520185 The more you say the less the better.




To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html



Re: [abcusers] Re: repeats and bar numbers

2002-12-07 Thread joe mc cool
[EMAIL PROTECTED] wrote:


2   3   4   5   6   7   8 9
|:abc|abc|abc|abc|abc|abc|abc|[1abc:|[2def||gab|...
 

Which is what I would like to achieve.  I have tried inserting 
%%setbarnb in various places, but it maketh not a button of difference. 
As it stands my abcm2ps will produce:

2   3   4   5   6   7   8  9  10
|:abc|abc|abc|abc|abc|abc|abc|[1abc:|[2def||gab|...

Which is not the end of the world, but it would be nice if it was as 
David describes.

BTW, is it normal for the : to follow the 1st repeat rather than the 2nd 
as here ?

--
Joe Mc Cool

Tangent Computer Research BT71 7LN (www.tangent-research.com)
voice:(44)2837-548074fax:(44)-870-0520185 The more you say the less the better.




To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html


[abcusers] top margins

2002-04-04 Thread joe mc cool

Please, 

I use abcm2ps on a linux machine and it works great.

I then use ghostscript to print the resulting ps file to a laser
printer.

But how to I arrange to have a substantial margin at the top of the
printed page ?  I would like to print tunes unto a page that has
already had a tune(s) printed.

Of course I can combine abc texts into the one file and have multiple
tunes on a page that way, but sometimes this is just not convenient.

TIA

Joe Mc Cool
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html



[abcusers] 18 new ABC sites dug out of google.com

2002-03-16 Thread joe mc cool

John Chambers writes:
  Writing a program to query google and feed  the  results  to  another
  program strikes me as a possible contender for cool status ...

Too right !

And you wrote it in .. ?


Joe.
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html



[abcusers] OT: hornpipes

2002-02-27 Thread joe mc cool

This has nothing to do with abc, but 

Further to the King of the Fairies etc:

I was told once that Hornpipes came originally from France

Is this true and in what way ?

(Sigh, they are _still_ lovely !)

Joe Mc  Cool
To subscribe/unsubscribe, point your browser to: http://wwwtullochgormcom/listshtml