Jump to content

Scripter Plugin to use Program Change to switch MIDI Ch


Recommended Posts

Hi Im currently interfacing Sibelius to Logic x

 

I currently have the midi outputs of sibelius running through IAC internal buss to logic x ....the VST library Im using (East West Hollywood strings) utilises different sounds on different midi channels not key switches

 

I can send program change from sibelius so I was wondering wether someone with more skills would be able to make a scripter that converts programs change to midi channels

 

eg. program change 1 = midi channel 1

program change 2 = midi channel 2

 

????

 

regards,

 

Bryce

Link to comment
Share on other sites

See if you find this useful.

 

//*
var title = "PC to Channel by EC";
var version = "v0.1";
//*
var NeedsTimingInfo = true;
var a;
function HandleMIDI(e) { 
if (e instanceof ProgramChange) {
	a = e.number;
	
} else {
		if (a !== undefined) {e.channel=a;} 
	}
e.send();
var info = GetTimingInfo();
if (info.playing === false) {a = undefined;}
} 
PluginParameters = [{
	name: title + " (" + version + ")",
	type:"text"
}];

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...