PIC implementation for : Last update: 30.11.2005 Midi Channel 9 (offset 0) '------------------------------------------------------------- PIC1: Motor, register and lights control: Motor: The midi mapping is on volume controller (7). We use PWM to generate a 0-10V voltage fed to the Siemens motor controller. midi volume 0 = BIT = 0, permanent OFF - 0V output midi volume 127 = BIT = 1, permanent ON = 10V output Pin 13 wordt gebruikt voor de PWM output. Pin 14 wordt gebruikt als schakelaar voor Motor ON/OFF. Te mappen op controller nr. 66 (0 of 1) Registers: midi mapping on program change command: (range: 0-15 other prog.changes reserved for selection of velo-scalings, progs. 122-127, using sys-ex uploaded tables) PIC pin 2 (RA0) bit 0 => register 0 ON/OFF bit PIC pin 3 (RA1) bit 1 => register 1 ON/OFF bit PIC pin 4 (RA2) bit 2 => register 2 ON/OFF bit PIC pin 5 (RA3) bit 3 => register 3 ON/OFF bit bits 4-7 must be %False '----------------------------------------------------------- PIC's 2 tot 8: player piano design boards (version 1). PIC2: Note ON/OFF + velo for notes: 29-38 PIC3: Note ON/OFF + velo for notes: 39-48 PIC4: Note ON/OFF + velo for notes: 49-58 PIC5: Note ON/OFF + velo for notes: 59-68 PIC6: Note ON/OFF + velo for notes: 69-78 PIC7: Note ON/OFF + velo for notes: 79-88 PIC8: Note ON/OFF + velo for notes: 89-98 note 90: bell: pulse only - no hold notes 91-98 : hold only (lights) Velocity default pulse range: 0.5 - 60ms Bell: midi mapping on Note 90. With velocity. Pulse only, NO hold. (Hold will burn the solenoid!) pulse duration range: 1 to 30ms. Note-off should have no effect here. Lights: midi mapping on NOTE ON/NOTE OFF for notes 91-98. Velocity > 0 = light ON. Velocity 0 = light off