Author |
Topic: Scripting for multisampling hardware purpose.. (Read 2435 times) |
|
grymmjack
New Member

 MIDI-OX Rules!
Posts: 3
|
 |
Scripting for multisampling hardware purpose..
« on: Apr 19th, 2006, 2:18pm » |
Quote Modify
|
I have a Roland XP-60. I'm interested in trying to create a script using MIDIOx to extract the samples from it. Here's how it should work: * MIDIOx is setup to communicate successfully already with the XP-60. I need to automate this: (begin psuedocode): Code: velocities = array(32,64,96,127); for (program_num=0; program_num<127; program_num++) { midiox.program_change(program_num); for(octave=1; octave<7; octave++) { for(note=1; note<12; note++) { midiox.set.note_duration(1000); for(velocity=1; velocity<4; velocity++) { midiox.set.velocity(velocities[velocity]); midiox.noteon(octave*note); midiox.noteoff(); } } } } |
| (end pseudocode) Is this something doable by midiox? I have tried synthcatcher by arcdev noise industries, and it works, but it only does 1 octave at a time and only 1 velocity at a time and requires manual changes each go around. I'd prefer to use MIDIox to automate the communication with the XP-60 and just hit record in Tracktion recording the output. Anyone know? Thanks!
|
« Last Edit: Apr 19th, 2006, 2:24pm by grymmjack » |
IP Logged |
|
|
|
grymmjack
New Member

 MIDI-OX Rules!
Posts: 3
|
 |
Re: Scripting for multisampling hardware purpose..
« Reply #1 on: Apr 19th, 2006, 4:53pm » |
Quote Modify
|
It's done. MIDIOx and VB2005 are my heroes: Download it here: http://www.funklabs.org/share/sampledumper.zip Need .NET framework and MIDI Ox.
|
« Last Edit: Apr 19th, 2006, 4:53pm by grymmjack » |
IP Logged |
|
|
|
Jamie OConnell
Administrator
    


Gender: 
Posts: 2027
|
 |
Re: Scripting for multisampling hardware purpose..
« Reply #2 on: Apr 20th, 2006, 10:43am » |
Quote Modify
|
Looks pretty cool! Nice job.
|
|
IP Logged |
--Jamie Music is its own reward.
|
|
|
grymmjack
New Member

 MIDI-OX Rules!
Posts: 3
|
 |
Re: Scripting for multisampling hardware purpose..
« Reply #3 on: Apr 20th, 2006, 11:22am » |
Quote Modify
|
on Apr 20th, 2006, 10:43am, Jamie OConnell wrote:Looks pretty cool! Nice job. |
| Thanks! Only thing I need to figure out is how to safely destroy the MIDIOx instance and detach from it. As it stands now, I can't interrupt it once it's started and the only way to stop it is to close MIDIOx of course the program throws an exception at that point I hacked this together using VB and have no formal VB training besides tinkering. I would be glad to provide the sourcecode and let you improve it if you wanted to I tried to look at the ArpOx example to figure out how to safely detach/destroy but it's a bit over my head.
|
|
IP Logged |
|
|
|
|