Melodeon.net Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the new melodeon.net forum

Pages: [1]   Go Down

Author Topic: Forcing instrument for second voice.  (Read 1513 times)

0 Members and 1 Guest are viewing this topic.

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
Forcing instrument for second voice.
« on: February 15, 2019, 10:55:06 PM »

I'm transcribing a few fife tunes and am using a MIDI flute as the best approximation.

Some of the tunes have two voices (melody and harmony presumably?).

I can force the MIDI playback instrument to be the flute with:

%%MIDI program 73 % (standard instrument value - 1) - forces Flute

However, this only works for the first voice. The second voice plays as the
MIDI default instrument (grand pianner). Changing the instrument for that voice
in the ABC settings menu (I'm using EasyABC) doesn't seem to work.

Can some kind soul tell me how to force the second voice to play as a flute
(or anything else for that matter)?

I've looked through Guido Gonzato's manual, and can't see anything...

Thank you.

Roger
Logged
My ABC tune collections can be found here (GoogleDrive) & here (Dropbox).

For more about Manchester Morris, The Beech Band Folk Club or anything else,  please use the private messaging facility.

Gena Crisman

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1108
  • 🇬🇧
Re: Forcing instrument for second voice.
« Reply #1 on: February 15, 2019, 11:11:12 PM »

This works for me:

Code: [Select]
X:137
T:Midi Voices
M:4/4
L:1/8
K:C
V:A clef=treble  name="A"   snm="A"
V:B clef=treble  name="B"   snm="B"
V:A
K:D
%%MIDI program 25  % Some kinda string thing
DDDDDDDD|DDFFDDFF:|
V:B
K:D
%%MIDI program 80 % Some rad Synth
d4D4|d4D4:|
Logged

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
Re: Forcing instrument for second voice.
« Reply #2 on: February 16, 2019, 03:20:37 AM »

This works for me:
  .
  .

Ah! Putting the MIDI declaration within the 'scope' of each voice. I should have thought of that!
Job done - it works for me too. Thank you very much indeed!

Roger.

Later edit: I now see that GC's code can be simplified even further, at least in the very simple
examples I'm working with:

Code: [Select]
X:137
T:Midi Voices
M:4/4
L:1/8
K:D
V:1
%%MIDI program 25  % Some kinda string thing
DDDDDDDD|DDFFDDFF:|
V:2
%%MIDI program 80 % Some rad Synth
d4D4|d4D4:|
« Last Edit: February 16, 2019, 08:29:54 AM by Roger Hare »
Logged
My ABC tune collections can be found here (GoogleDrive) & here (Dropbox).

For more about Manchester Morris, The Beech Band Folk Club or anything else,  please use the private messaging facility.
Pages: [1]   Go Up
 


Melodeon.net - (c) Theo Gibb; Clive Williams 2010. The access and use of this website and forum featuring these terms and conditions constitutes your acceptance of these terms and conditions.
SimplePortal 2.3.5 © 2008-2012, SimplePortal