[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference napalm::commusic_v1

Title:* * Computer Music, MIDI, and Related Topics * *
Notice:Conference has been write-locked. Use new version.
Moderator:DYPSS1::SCHAFER
Created:Thu Feb 20 1986
Last Modified:Mon Aug 29 1994
Last Successful Update:Fri Jun 06 1997
Number of topics:2852
Total number of notes:33157

2611.0. "pedal pursuit" by MRCSSE::LEITZ (butch leitz) Tue Apr 09 1991 11:58

   I  want a pedal to use (like a volume pedal), a foot rocker,
   not just on  and  off.  In  fact  an  on/off  switch  not  a
   requirement  (may  help tho). I want to be able to send midi
   note changes up or down depending on  the  position  of  the
   foot  pedal.  I want to use it as a controller while playing
   another midi instrument where, as I rock  the  foot  switch,
   the  midi  note  changes  what I'm playing up or down to the
   corresponding sound.

   Being  generally  midilliterate,  based  on stuff I've heard
   about pocket pedals (et al) the solution's  probably  really
   simple but I haven't messed around with too many pedals yet.
   I don't know if there is a thing  that  will  fit  the  bill
   without  busting  the  wallet. Brian and I talked about some
   solutions over lunch one day but I didn't really commit this
   to  memory,  so if anybody (brian?) has some stuff to say to
   refine my requirements and can give me suggestions here,  it
   will be committed to paper and can be used by the next guy!

T.RTitleUserPersonal
Name
DateLines
2611.1Simple Hardware, Tricky SoftwareIXION::ROSTCharlie Haden on SudafedTue Apr 09 1991 13:0734
    You have two problems here.
    
    1. The foot pedal issue is simple, feed the pedal into a microprocessor
    with a D/A input, and you can map any incoming volatge to anything you
    like (software is pretty trivial).  
    
    2. The real problem comes in merging; what you want to do is trigger a
    sound from some controller (in Butch's case, an Octapad) than *modify*
    the note number based on the pedal position.  To me this is screaming
    MERGER and as some other noters have described in brutal detail,
    mergers that work are tough to find.  The task here is a bit simpler
    in that we are modifying the MIDI stream only in a very specific
    instance.
    
    What you need is to take the incoming MIDI stream from the Octapad,
    read the note numbers and when you find a message for the particular
    pad (identified by the note number) you are using, *modify* the note
    number by substituting the value set by the pedal.  Of course, all
    other messages from the Octapad must go unchanged.  And this must be
    done as fast as possible so there is no noticeable lag.
    
    Whew.
    
    This would be some interesting code to write.  Basically two FIFO
    buffers, one to handle the incoming stream, one for the outgoing
    stream, with these coupled to MIDI drivers.  Between the FIFOs is the
    "insertion" code where the new note numbers are stuffed; pop a message
    out of the input FIFO stack, modify it if needed, then push it onto the
    FIFO output stack.
    
    
    							Brian
    
    P.S. I haven't yet applied for a patent on this  8^)  8^)
2611.2SALSA::MOELLERLacks the essential Pinstripe GeneTue Apr 09 1991 13:263
    Get an SPD-8.  Has built-in note switch based on a footpedal.
    
    karl
2611.4MRCSSE::LEITZbutch leitzTue Apr 09 1991 13:4617
reply/last
re .-1, a spud-8 is not an option.

Forget about the application, it shouldn't matter whether my triggers
are from a pad, a key, or a string. 

Actually I don't know if setting ALL notes up relative from the starting 
(current) point is an issue. It might actually be a second application (second 
requirement) to be able to do this. I see a pedal connected to the SGU which 
says whatever note you're playing, increment or decrement the note value 
by (+/- n). 

Do notes always have to equate to patch/sound?

If I assign a range of notes that specify sounds on one channel to be
revalued +/- n... (thinking out loud)... having to specify a channel is
a requirement. I don't want to effect notes on other channels.
2611.5Probably big bucks ...NIMBUS::DAVISTue Apr 09 1991 13:4714
    
    When I first read .0, it sounded like just a pitch bend controller
    built into a pedal. This sounds preety straight forward, although I
    can't name specific hardware. Pretty sure some synths have places for
    pedals that can be mapped to different MIDI controllers. If you wanted
    it separate from the synth, you'd probably need a merger too.
    
    But, if what you really need is described in .1 (look for specific note
    number, move it to another specific note based on pedal position), then
    I'd bet you're looking at a custom setup, using a PC, as Brian
    described.
    
    Rob
    
2611.6Getting BentIXION::ROSTCharlie Haden on SudafedTue Apr 09 1991 15:318
    Re: .4, .5
    
    Pitch bend is fine if all you want to do is have the note sound at a
    different pitch.  If the application is to trigger another note because
    that other note has a different *sound* (drum machine/sampler types of
    applications) pitch bend doesn't do what you want.
    
    							Brian