[abcusers] Macmidi2abc

2001-03-27 Thread Frank Nordberg

I just got this e mail from a visitor.

 
 Hi
 
 I found a reference to this useful sounding program in your abc
 application index, however the URL doesn't work.
 
 Have you any way of finding it?

It seems the macmidi2abc site ( http://www.dr-razz.com/midi2abc/ ) has
disappeared. Does anybpdy know anything about it?


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



Re: [abcusers] MacMIDI2abc

2000-10-09 Thread Laurie Griffiths

Phil said:
"I don't think most users appreciate the difficulty of the task of getting
notatable music out of MIDI files. "

Oh, I do, I do!

Muse will have a go at this but I am currently working on improving it
(because a customer sent in a bug report and it's one of those things that
every time you look at it you realise how inadequate whatever you do is).

Tempo following is my current thing - if the music does an accelerando you
should NOT notate it as progressively shorter and shorter notes, but should
follow the performance.

Some people have a tendency to play short notes too short and so speed up
every time there's a string of 16th notes - again, one should recognise this
and handle it.

Laurie

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



Re: [abcusers] MacMIDI2abc

2000-10-07 Thread Frank Nordberg



Phil Taylor wrote:
 
 I don't think most users appreciate the difficulty of the task of getting
 notatable music out of MIDI files.  The MIDI format was designed to
 hold music to be _played_, and basically consists of a list of
 pitches and times.  There is space for tempo, key, and a flag for
 major/minor (but no other modes), but even these fields are often left
 empty.  If a MIDI notation program is to put in barlines, a real key
 signature, notate repeats etc. then those things all have to be figured
 out starting from the bare list of pitches and times.

FYI time signatures are included in the Midi standard. And you can tell
midi2abc to extract time sig. from the file. Unfortunately this is one
of the options that doesn't work yet non the new macmidi2abc port. (Come
to think of it, I never got it to work with the *old* macmidi2abc either
- is there a bug in the midi2abc code - or is it the porting that's the problem?)

 
 Under the circumstances, I think James is to be congratulated on how well
 abc2midi actually does.  After all, it's still a lot easier to edit the
 output of abc2midi than it is to listen to the tune and write the abc
 yourself from scratch.

That's right. And midi2abc fares very well compared to other
(commercial) midi converters I've come across.

Manually recorded midis will always be a problem. Not even Al Jackson
manages to keep an absolutely mathematicalloy correct beat.

Most of the other problems with the midi2abc could be solved very easily
by postprocessing the abc if somebody could come up with one or more of
these scripts (which ought to be really useful for other ABC processing
works too):

1. A rebarring script

2. A script for halving and doubling the note values.

3. A script for identifying written out repeats and replace them with
repeat signs.

4. A script for removing superfluous accidentals.

5. A script for converting accidentals to key signature.

6. A script for resolving awkward uses of  and ,
   e.g. changing |G3/2ABc/2| into |GA Bc|

7. A script for regrouping eight notes etc.

but maybe I'm asking for too much here.
I feel I really ought to learn perl myself, rather than skaing others
for scripts, but I just haven't got time. I have to ABC the rest of
O'Neill's 1001 and then there's Lindeman's Norwegian trad. music book,
and van Eyck and Praetorius and the Bach chorals and Vivaldi's concertos and

Frank Nordberg


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



Re: [abcusers] MacMIDI2abc

2000-10-06 Thread Phil Taylor

James Allwright wrote:
On Wed 04 Oct 2000 at 12:06AM +0200, Frank Nordberg wrote:

 which is pretty stupid of course. But then I told the program to take
 the tempo from the midi file (why isn't *that* the default?) rather than
 making one up itself and got this:


I originally wrote midi2abc to try to deduce the time units so that it
will work on MIDI from a live player without the player having to play to a
computer-generated beat. Sometimes midi2abc guesses the wrong time unit,
but often it will get it right.


I don't think most users appreciate the difficulty of the task of getting
notatable music out of MIDI files.  The MIDI format was designed to
hold music to be _played_, and basically consists of a list of
pitches and times.  There is space for tempo, key, and a flag for
major/minor (but no other modes), but even these fields are often left
empty.  If a MIDI notation program is to put in barlines, a real key
signature, notate repeats etc. then those things all have to be figured
out starting from the bare list of pitches and times.

Under the circumstances, I think James is to be congratulated on how well
abc2midi actually does.  After all, it's still a lot easier to edit the
output of abc2midi than it is to listen to the tune and write the abc
yourself from scratch.

Phil Taylor


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



Re: [abcusers] MacMIDI2abc

2000-10-06 Thread Laura Conrad

 "Phil" == Phil Taylor [EMAIL PROTECTED] writes:

Phil Under the circumstances, I think James is to be
Phil congratulated on how well abc2midi actually does.  After
Phil all, it's still a lot easier to edit the output of abc2midi
Phil than it is to listen to the tune and write the abc yourself
Phil from scratch.

I assume you're really talking about midi2abc here?


-- 
Laura (mailto:[EMAIL PROTECTED] , http://www.laymusic.org )

(Note the email and homepage address changes; please update your
address book, bookmarks, and links.)

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



Re: [abcusers] MacMIDI2abc

2000-10-06 Thread John Henckel

At 03:00 PM 10/4/2000 +0100, you wrote:
I don't think most users appreciate the difficulty of the task of getting
notatable music out of MIDI files.

I do!  because I tried to write one.  I tried several midi2abc and midi2ly 
programs.  None of them worked very well for what I needed.  My needs were 
very specific.  I wanted to notate SATB arrangements of hymns such as are 
found on http://tch.simplenet.com/ (over 2400 hymns!!)   So I really needed 
(1) always use 4 voices. (2) never use rests.

I wrote my program in Perl.  It uses a tool called mf2t for parsing the 
midi file.  If anyone is interested I will send you the source code.

For example, given this midi...

http://tch.simplenet.com/htm/h/a/halraise.htm

my program produces this output, with no editing

% SeqName = Alcester, 77.77
% Text = By Samuel Sebastian Wesley (1810-1876)
% Copyright = Public domain
% Text = Generated by NoteWorthy Composer
X: 1
T: Alcester, 77.77
T: alcester.abc
M: 4/4
L: 1/4
C: By Samuel Sebastian Wesley (1810-1876)
%%staves (1 2) (3 4)
K: E
V: 1
  B G/ F/ E B | e c B2 | A G c B | A G F2 |
  E F G E | B A F2 | B/ A/ G/ F/ E A | G F E4 |
V: 2
  E E E D | E E E2 | D E E E | E/ D/ E D2 |
  B, D B, B, | E E D2 | E E E E | E D E4 |
V: 3
  G, B, E, F, | B, A, G,2 | B, B, A, B, | B, B, B,2 |
  B, B, B, G, | B, C B,2 | B, B,/ A,/ G, C | B,3/2 A,/ G,4 |
V: 4
  E, B,, C, B,,/ A,,/ | G,, A,, E,2 | F, E, A, G, | F, E, B,,2 |
  G, B, E, E, | G,, A,, B,,2 | G,, B,, C, A,, | B,, B,, E,4 |



John Henckel  alt. mailto:[EMAIL PROTECTED]
Zumbro Falls, Minnesota, USA   (507) 753-2216

http://geocities.com/jdhenckel/

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



Re: [abcusers] MacMIDI2abc

2000-10-06 Thread Phil Taylor

Laura wrote:
 "Phil" == Phil Taylor [EMAIL PROTECTED] writes:

Phil Under the circumstances, I think James is to be
Phil congratulated on how well abc2midi actually does.  After
Phil all, it's still a lot easier to edit the output of abc2midi
Phil than it is to listen to the tune and write the abc yourself
Phil from scratch.

I assume you're really talking about midi2abc here?


Yes, excuse the slip.

Phil


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



Re: [abcusers] MacMIDI2abc

2000-10-04 Thread James Allwright

On Wed 04 Oct 2000 at 12:06AM +0200, Frank Nordberg wrote:
 
 which is pretty stupid of course. But then I told the program to take
 the tempo from the midi file (why isn't *that* the default?) rather than
 making one up itself and got this:
 

I originally wrote midi2abc to try to deduce the time units so that it
will work on MIDI from a live player without the player having to play to a
computer-generated beat. Sometimes midi2abc guesses the wrong time unit, 
but often it will get it right.

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



[abcusers] MacMIDI2abc

2000-10-03 Thread Phil Taylor

The program MacMIDI2abc which I mentioned previously is available
from:

http://www.dr-razz.com/midi2abc/

It's a very nice Macintosh port of James' midi2abc.

Phil Taylor


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



Re: [abcusers] MacMIDI2abc

2000-10-03 Thread Frank Nordberg



Phil Taylor wrote:
 
 The program MacMIDI2abc which I mentioned previously is available
 from:
 
 http://www.dr-razz.com/midi2abc/
 
 It's a very nice Macintosh port of James' midi2abc.
 
 Phil Taylor

Seems really good. There are still a few bugs (feature that doesn't
work), as well as a few really strange things that seems to be a part of
the original midi2abc, but it already seems to be a really uefull tool.
It works really fat, and the "reconvert" features makes it easy to try
out different settings (an absolute must for this kind of work).

I tried to use it on a Finale-created midi file, and got this with the
default settings:

---

% input file styggen-paa-laaven.mid
X: 1
T: 
M: 4/4
L: 1/8
Q:1/4=115
K:F % 1 flats
% Time signature=4/4  MIDI-clocks/click=24  32nd-notes/24-MIDI-clocks=8
% MIDI Key signature, sharp/flats=-1  minor=0
C3/2FA/2(3c2c2B2A/2G/2-|G/2A/2B3/2(3B2C2E2G/2B-|B/2B3/2 
AG/2FG/2A3/2A3/2|C3/2FA/2(3c2c2B2A/2G/2-|
G/2A/2B3/2(3B2c2e2d/2c|B/2AG/2 
F3/2F3/2F3/2z3/2|C3/2FA/2(3c2c2B2A/2G/2-|G/2A/2B3/2(3B2C2E2G/2B-|
B/2B3/2
AG/2FG/2A3/2A3/2|C3/2FA/2(3c2c2B2A/2G/2-|G/2A/2B3/2(3B2c2e2d/2c|B/2AG/2 
F3/2F3/2F3/2z3/2|
C3/2ACA/2 z/2C/2A/2z/2 A3/2G/2-|GG _G/2(3=G2G2G2A/2B|B/2AG/2
GF/2Ac/2f3|C3/2ACA/2 z/2C/2A/2z/2 A3/2G/2-|
GG _G/2(3=G2c2e2d/2c|B/2AG/2 F3/2F3/2F3/2z3/2|C3/2ACA/2 z/2C/2A/2z/2
A3/2G/2-|GG _G/2(3=G2G2G2A/2B|
B/2AG/2 GF/2Ac/2f3|C3/2ACA/2 z/2C/2A/2z/2 A3/2G/2-|GG
_G/2(3=G2c2e2d/2c|B/2AG/2 F3/2F3/2F3/2

---

which is pretty stupid of course. But then I told the program to take
the tempo from the midi file (why isn't *that* the default?) rather than
making one up itself and got this:

% input file styggen-paa-laaven.mid
X: 1
T: 
M: 4/4
L: 1/8
Q:1/4=154
K:F % 1 flats
% Time signature=4/4  MIDI-clocks/click=24  32nd-notes/24-MIDI-clocks=8
% MIDI Key signature, sharp/flats=-1  minor=0
C2 F3/2A/2 c2 c2|B3/2AGA/2 B2 B2|C2 E3/2G/2 B2 B2|A3/2GFG/2 A2 A2|
C2 F3/2A/2 c2 c2|B3/2AGA/2 B2 B2|c2 e3/2dcBAG/2|F2 F2 F2 z2|
C2 F3/2A/2 c2 c2|B3/2AGA/2 B2 B2|C2 E3/2G/2 B2 B2|A3/2GFG/2 A2 A2|
C2 F3/2A/2 c2 c2|B3/2AGA/2 B2 B2|c2 e3/2dcBAG/2|F2 F2 F2 z2|
C2 A2 CA CA|A2 G2 G3/2_G/2 =G2|G2 G3/2ABBAG/2|G3/2FAc/2 f4|
C2 A2 CA CA|A2 G2 G3/2_G/2 =G2|c2 e3/2dcBAG/2|F2 F2 F2 z2|
C2 A2 CA CA|A2 G2 G3/2_G/2 =G2|G2 G3/2ABBAG/2|G3/2FAc/2 f4|
C2 A2 CA CA|A2 G2 G3/2_G/2 =G2|c2 e3/2dcBAG/2|F2 F2 F2 

---

That's much better, of course.
The only major bug is the way the dotted rhythm is notated. I would
expect it to add a final barline, of course (it seems it got confused by
the fact that the tune ends with a rest), but that's no big deal.
It's also a pity about the accidentals, but that's a problem macmidi2abc
seems to share with all other midi-to-notation converters.
I also wish it didn't write the repeats out, but you simply can't expect that.
As for the chords, title etc. - well it wasn't in the midi file, so
macmidi2abc couldn't know.

Here's a cleaned up version:

X:2
T:Styggen p\aa l\aaven
C:anon.
O:Norway
R:Reinlender
M:C
L:1/8
Q:1/4=154
K:F
"F"C2 FA c2 c2|"C7"BA GA B2 B2|"C7"C2 EG B2 B2|"F"AG FG A2 A2|
"F"C2 FA c2 c2|"C7"BA GA B2 B2|"C7"c2 ed cB AG|"F"F2 F2 F2 z2:|
|:"F"C2 A2 CA CA|"C7"A2 G2 G^F G2|"C7"G2 GA BB AG|"F"GF Ac f4|
"F"C2 A2 CA CA|"C7"A2 G2 G^F G2|"C7"c2 ed cB AG|"F"F2 F2 F2 z2:|


Frank

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