Andre Van Ryckeghem wrote:
Sometimes one needs a tie between 2 voices as you can see in the
upper organ staff on bar 1-2. I thought to be smart and let the
tie end on a hidden rest in the same voice (rb2 t). I got the
error for ties and the message: send source to Don. But the output
was ok and i did not sent the source. Until i listen to the midi:
The organ part after the rests start on the second beat of the
last-1 bar instead of on the 1st beat of the last bar.

I could repair this by using a phantom note (remove the rb2 and
uncomment the in line TeX commands)

My question is : is there a pmx solution?

My preferred solution to the MIDI problem would be to use the abcpp preprocessor (see the 'abcpp' entry of the software archive).


I would copy the PMX source file, say my_source.pmx to an abcpp file, my_source.pmp. For input lines requiring specific MIDI handling I would branch between PMX input for printed score and input for midi, e.g.

#ifdef MIDI
midi-pmx-stuff ...
#else
printed-score-pmx-stuff ...
#endif

When editing is finished I would generate separate PMX source files for midi and for printed score resp.:

abcpp -MIDI my_source.pmp my_source_midi.pmx

abcpp my_source.pmp my_source_score.pmx

By calling abcpp with the command line option -MIDI I set and activate the abcpp macro MIDI. When the macro MIDI is set the abcpp preprocessor will select the line containing 'midi-pmx-stuff ...', or else the line 'printed-score-pmx-stuff ...' will be selected.

You'll find intensive use of abcpp preprocessing (incl. MIDI handling) in the M-Tx sources of my ongoing edition of 'Selva di Varia Ricreatione' by Orazio Vecchi
--
Christian Mondrup, Sheet Music Editor
Werner Icking Music Archive
http://icking-music-archive.org/
_______________________________________________
TeX-music mailing list
[email protected]
http://icking-music-archive.org/mailman/listinfo/tex-music

Reply via email to