BS2P24 as a Trigger to MIDI Machine Questions
RickH
Posts: 40
I was hoping I could get a little Hindsite help from anyone that could posibaly see some problems with what I'm about to atempt. This is my first real "sofisticated" aplication with this stamp.
First off what I want to do -
1 . Triger a MIDI note on(Drums so its a togle on/off with·set duration) with Radio Shack Piezo Transducer 273-073 for each Pad, 12 pads
···· A.) Rectified Signal to an adjustable RC to tune the responce envelope. I need a 1 -127 Resolution signal to represent Velocity.
···· B.) AtoD convertion from the preceading circuit. What would be my best option? I have 12 trigers and 16 I/O, 3 of whitch are used. Leaves me with 13 I/O.
··········· a.- Speed/latincy - I need a responce from 12 devices from the Stamp into midi in less than 10mSec.
··········· b.- I need a cheep ADC chip, Alesis I/O is currently at $150 and·I am·layed off from work so income is at a minimum
·····C.) PBasic Programing
··········· a.- I do not need to transmit 0 velocity, do I just exlude 0, Pole on a trigger? I need the most responsive solution.
I use Sonar 6 for my sequencer and am quite familer with the sout and the stamp. I have used it as a midi switch to select banks and patches but this is not needed anymore as I have several ways to do this at my finger and toe tips now. So I was thinking that a MIDI Drum kit would rock. I have made and used the trigers befor with an MD5 drum machine so I fuigered it should work with the stamp also.
Sugestions and comments please, save me from makeing some dumb mistakes before they happen
First off what I want to do -
1 . Triger a MIDI note on(Drums so its a togle on/off with·set duration) with Radio Shack Piezo Transducer 273-073 for each Pad, 12 pads
···· A.) Rectified Signal to an adjustable RC to tune the responce envelope. I need a 1 -127 Resolution signal to represent Velocity.
···· B.) AtoD convertion from the preceading circuit. What would be my best option? I have 12 trigers and 16 I/O, 3 of whitch are used. Leaves me with 13 I/O.
··········· a.- Speed/latincy - I need a responce from 12 devices from the Stamp into midi in less than 10mSec.
··········· b.- I need a cheep ADC chip, Alesis I/O is currently at $150 and·I am·layed off from work so income is at a minimum
·····C.) PBasic Programing
··········· a.- I do not need to transmit 0 velocity, do I just exlude 0, Pole on a trigger? I need the most responsive solution.
I use Sonar 6 for my sequencer and am quite familer with the sout and the stamp. I have used it as a midi switch to select banks and patches but this is not needed anymore as I have several ways to do this at my finger and toe tips now. So I was thinking that a MIDI Drum kit would rock. I have made and used the trigers befor with an MD5 drum machine so I fuigered it should work with the stamp also.
Sugestions and comments please, save me from makeing some dumb mistakes before they happen
Comments
I litraly have seen "The most important feature of these converters is" in the same PDF in just about every function discription of the device. It makes me wonder what The most important feature of these converters is.
Anyway I think I hae decided on a ADC. Its the National Semiconductor's ADC0838. If I use 2 then I have used a total of 6 I/O pins on my BS2P24, that will leave me with 10 for trigering and a panic button. I will have to double up on 2 I/O triggers, but I think I can get away with that if I think about it long enough. Any one have any experiance with this chip, or see why I shoudn't use it? I'm ordering 2 of them later today.
Please I need sugetions and comments.
You are not going to get the kind of speed you want from a Stamp. You need something like an SX or Propeller. The Propeller can do its own ADC without an external ADC chip, just a couple of resistors and capacitors. See the Propeller application note on the use of the counters (AN001) for details and sample code.
One of the reasons I selected the ADC0838 is due to the documentation and price, I had about enough trying to sift through who has what in stock and reading PDF's for hrs on end to find its not what I can use.
Changed my mind now that I think about it. It wont be fast enough. How frustrating, I have spent 8 hrs reading up on a/d converters and now my hopes are crushed. Mabey I'll just turn it into a Midi CC event Box with some sliders and knobs. What a bummer.
Post Edited (RickH) : 5/14/2008 4:48:46 PM GMT