CC to Midi Notes in Mainstage????

Hi all,
I've set up an instance of EXS24 at concert level of MainStage to a second controller. I'm doing this so I can run a 6 second loop of pads in the background no matter what patch I am using.
Problem is I need to latch this note so that i can switch the pads on and off, and EXS24 doesn't accept CC information to trigger samples, it needs notes. But this doesn't help as you can't latch notes (?), but you can latch CC info...and I can't map those pads to a button on something like a NanoKontrol or some other midi controller.
Is there a script i can put on the EXS channel strip to receive CC and send it to EXS as a midi note?? This would allow me to then also latch that button (one I would create on the layout) and then hit it again to turn the pad off.
I'm up for whatever solution you guys might have, nothing is too out of the box..... I've been losing sleep over this issue for days now.
thanks.....

This might work:
function HandleMIDI(event)
  if(event instanceof ControlChange)
  var number = event.number;
  if((number >= 23) && (number <= 38))
  var velo = event.value;
  var on = (velo > 64)? new NoteOn : new NoteOff;
  on.pitch = 36 + number - 23;
  on.velocity = velo;
  on.send();
If a controller between 23 and 38 is received, it's converted  to a not on, if the value is greater than 64, otherwise it's a note off.
Best,
DaCaptain

Similar Messages

  • I'm having an intermittent problem with my midi controllers triggering Mainstage 3. I'm using a PreSonus Firebox audio interface. It's been working fine for months, but now when I first turn on the computer in the morning , I'm not able to trigger Ma

    I’m having an intermittent problem with my midi controllers triggering Mainstage 3.
    I’m using a PreSonus Firebox audio interface.
    It’s been working fine for months, but now when I first turn on the computer in the morning , I’m not able to trigger MainStage from the keyboard.  I tried different midi controllers, different keyboards, different midi cords, and check midi preferences.  The audio interface is working fine and is recogonized, but the midi doesn’twork.  I re-started the computer several times and then finally it miraculously starts working again.
      I’ve been having to this every day now.  Any help or ideas is very much appreciated.

    I Had the same problem with a FireStudio. Try unplugging the FireWire plug and the power plug. Wait for a few seconds, then plug both back in. The light on my FireStudio was flashing blue/red which means "not connecting." I did what I just described, and everything works again. Hope it works for you.

  • Logic Pro X: One MIDI note won't play

    I am having a strange problem with Logic Pro X. I use a Yamaha CP33 as my main MIDI keyboard, connected by USB. In the past couple weeks, a strange problem has emerged - one of the notes from the keyboard, the B-2, to be specific, just doesn't trigger. At first I thought the key was broken, but it's okay, because:
    - all keys work fine when I use the keyboard's analog audio output
    - all keys work fine in MainStage
    - the non-functional key moves up and down if I choose to transpose the notes on the keyboard.
    So I have concluded that it's a software issue specific to Logic. I have already tried reinstalling the Yamaha USB MIDI driver, it didn't help. Could it be some obscure setting in Logic that is messing things up? What do you suggest can I do to fix this?

    Hi
    You may have set up LPX to use that MIDI note as an automation control, or as a keycommand
    a) Go to Preferences;Controller Assignments & check there
    b) Go to Preferences Key Commands and check there
    Might be quicker to reset aboth?
    CCT

  • Slave notes in mainstage

    Does anyone know how to assign slave notes in mainstage? For instance, I need to press once key but then want about 6 to sound. Do I need to setup a patch to do this?
    Is this possible with just mainstage or do I need to set something up in logic?
    Thanks.

    describe your whole setup exactly - what midi input devices, drivers, audio i/o hardware and drivers, what mac model, etc.
    I've never heard hung notes in MS, after a lot of playing. So it's strange that you see it so often.
    Use MIDI Monitor from versiontracker.com and see if you are getting a Note off message - you can filter the view, probably, to only show note ons/offs, and make it really easy.
    I always use MIDI Monitor, a superb app, to verify any MIDI problems.

  • How do I move cc 64 (sustain) data in sync when I move midi notes?

    In the matrix editor, when I 'Select All Following' in order to move everything that follows back a few ticks to get rid of a rythmic hesitation, the sustain pedal data doesn't move with the notes. Obviously, this messes up the piano pedaling. Is there a way to 'attach' the controller info to the notes when I move them, or is there a better view window in which to this sort of editing? Thanks!

    I was trying to figure this out myself and didn't understand the previous reply at first. But after a few seconds playing around I got it. If you open the midi matrix editor (in the 'windows' menu) you can select the notes you desire to move. After selecting the notes go to the event list (in the 'windows' menu). You should see the notes you've already selected in the event list highlighted in gray.
    The items listed as 'control' are the sustain pedal controls in the midi information. (you can tweak these number values here as well). Holding the 'shift' key down, click all of the sustain pedal control items that you want to move. They should be within and/or around the already highlighted notes (the list is in order of sequence of the song). Once all is selected you can switch back to the matrix editor and drag the notes where you want them like normal, but you will also be moving the sustain information since you selected it in the event list.
    Also, within the matrix editor itself you can use the view menu and navigate to the hyper draw option and choose sustain pedal. Now you can see the sustain controls under the midi notes and edit the length, etc. You can use the little arrow on the left to change what the hyper draw editing will change as well (volume, sustain pedal, etc.). Hope that helps.

  • How to create a group of midi notes and...?

    Hi, I was thinking about if it's possible to create for example a group of 32 nidi notes with a specific duration and a specific separation between them without painting them.
    And then, I have a drum on the beat with its midi notes, now I want to have a sound wich midi note is off the beat at the first time but after a time it gets on the beat linearly, is it possible without painting the notes?Maybe with the transform window??
    Thanks a lot!

    Is there a ny option in logic to create multiple midi notes at once?
    In my comment here, I described how to use the Hyper Editor to create multiple midi notes at once. That was for the purpose of creating a drum roll, but the method can also be used in other situations.
    the second is a little bit earlier, the third a little bit more
    I'm not sure I understand, but I might. I think the easiest way to do this is to convert the midi to audio, and then use Flex to alter the length (i.e., tempo) of the region.

  • Midi notes or audio region do not play at the start of a bar?

    I am having an issue with a midi loop I have created. If I let the song play a bit until it reaches the loop, logic works just as you'd expect it and everything plays correctly. But if I stop the song, or if I set the song into cycle mode so it repeats, the very first note of the midi loop is ignored, and not played.
    So for example, if I set the cursor to start at bar 9, the starting point of the loop, the first midi note is not played. But if a set the cursor at bar 8 and let it play into bar 9 and the loop, all of the notes in the loop play correctly.
    I found the following description of the same problem on another forum, but it seemed to suggest that there is no fix for this, which if true, seems kinda bad for a pro application. I was wondering if anyone knew of a workaround or fix to this, because its really annoying missing the notes, or having to expand the cycle region just to get all of the notes to play. Here is the text from the other forum:
    _Logic doesn't play the very start of my audio regions when I start playback_
    Question: If a region starts at e.g. 1 1 1 1, and it starts playing from the same position, it seems that Logic misses the first few samples - which is especially noticeable with fast-attack transients.
    Answer: Apparently Logic doesn't use some kind of pre-play buffering. The workaround is to have your entire song start e.g. one bar later, at 2 1 1 1, and let Logic play from 1 1 1 1. This workaround obviously doesn't work if you've set up a cycle - in which case Logic will miss the first samples when it starts playing as well. Next time it loops through the cycle it does play properly. There's no workaround for this - it's a serious shortcoming of the way Logic handles audio playback. With cycles, you could resort to using the Pause instead of the Play button/command: this will let you start playback from somewhere before the start of the cycle instead of starting at cycle-start (which is what Play does).

    I'm having the same problem.
    one workaround is to change the delay to +1/192=20 in the delay box in inspector on the given midi track...but this is a terrible thing to have to do over and over again.
    PLEASE help if you know what's going on.....I ran logic on my macbook and this NEVER happened. I just bought a macbook pro 2.5 and it's apparently now an issue?
    I have searched the net for fixes, and none work....logic does have a pre-play buffer, but it's range isnt large enough to buffer the instrument I'm using...which means the range is less than 1/192...come on....that's messed.
    If anyone figures this out, please message me back at [email protected]

  • Midi note B below middle C is being played as Eb (below middle C) in the region only

    When I'm recoding midi I'm running into a very strange problem..... randomly the B below middle C gets re-routed to Eb (below middle C). It shows right visually in the region, and when I go back to the controller and play the B note it plays correctly but when playing back the region it plays the Eb. Sometimes it will play back correctly but after a while it will happen and when it happens there is no way to make it do anything else....i tried other plugins , other tracks but it stays the same. Again, when you open the region to look at the midi, the midi notes are in the right place, if I click on the Bb note in the region it plays an Eb but if I go to the controller and play a B it plays a B...???. I have looked through everything to try and find anything that would be causing this but haven't found any reason for this.... it is very strange that it is only happening to one note and it always does the same thing....B to Eb....

    Yep, that's a known glitch. Very hard to repeat, but reports keep trickling in. There are a few solutions though, but no method of preventing it. Since I reported it first, I haven't encountered it again. Knock on wood.
    http://www.logicprohelp.com/forum/viewtopic.php?f=1&t=99041&p=523387
    http://www.logicprohelp.com/forum/viewtopic.php?p=517486#p517486
    https://discussions.apple.com/message/22796767#22796767
    http://www.logicprohelp.com/forum/viewtopic.php?f=1&t=104849

  • I'm getting a stuck MIDI note with Garageband 10.0.2?

    Using IMAC 3.2Ghz Intel Core i5 running Garageband 10.0.2 with a Yamaha PSR-3500 with MIDI to USB interface.
    Everything seems fine at first but then one note will be 'stuck' and continuously sound. Some following actions may stop it, including switching the keyboard mains power on and off. It doesn't seem to be a continuous signal sent because I can see the corresponding MIDI note is not appearing on the piano roll etc. It's just like Garageband 'won't let the note go'?
    Any ideas would be appreciated, especially if there are any long-time MIDI users out there - I am brand new to MIDI, via  Garageband.

    Welcome to the Apple Community Russell.
    Assuming this is not the first time you have used your Apple TV
    You might try restarting the Apple TV by removing ALL the cables for 30 seconds.
    Also try restarting the router. (Also try removing it’s power cord for at least 30 seconds)
    If the problem persists, try a restore, you may want to try the previous procedures several times before doing this.
    If restoring from the Apple TV doesn't help, try restoring from iTunes using a USB cable.
    If this is a new Apple TV, in addition to trying the above, it may also be that your network router is not allowing access to the timeserver, check that your router allows access over port 123.

  • Why is the first MIDI note always delayed?

    Hi all
    I'm having some trouble recording MIDI in Logic Pro X. When using virtual instruments (built-in Logic instruments) there is a latency issue with the first note. When recording or playing along, the first note I play has quite audible latency, but everything after that is fine, no latency. If the song is stopped and I am just playing the instrument it's fine, the problem only occurs when recording or playing back. If I am recording, the MIDI note is recorded in the correct place, it sounds fine in playback.
    Really not sure what's going on. I've been looking round on the interwebs, and it seems that others are having the same issue, but I couldn't find any answers that fixed it for me. Any help would be appreciated
    I am running Logic 10.0.7 on a MacBook Pro, using Mavericks.
    Thanks in advance

    This isn't just the first time after I select the track though, even if the track is in live mode it will still have this issue, if I record over and over on the same track, it happens every time. If I hit record, then use pitch bend or something like that during the count in it will be fine, but I have to do this every time I record, and it will create the new region early. I could do this every time I record, but I'm wondering if there's something else I can do to fix it more permanently.
    Thanks for the help

  • Logic randomly playing midi notes.  How do I turn it off?

    When i solo a track logic triggers a midi note. same with mute and selecting and pretty much every button and menu in logic triggers a midi note or CC. What is going on here? My midi keyboard keeps playing notes cuz logic keep triggering them.
    Solo plays a F1
    Mute plays a E1
    Record plays a C2
    selecting a track plays a D4
    Everything triggers a midi note or CC.  it's bugging me a messing up my sessions.  Pleases help me.

    Andrew_to wrote:
    This is happening to me to. Everytime I open logic to work on something new, the midi instrument just keeps looping C2 over and over again. What gives?
    Is it C2 or C-2?

  • MIDI note input appears 1 octave lower when controller pads are hit

    I can't figure this out and I've wasted 5 hours today trying to correct it....
    I have recently noticed that midi input from my padKontrol is being transposed down 1 octave (ie I hit an A2, it appears and sounds in my midi applications as A1). This does not occur with midi data that comes direct from my Axiom 61 keyboard; however, it does happen with another device (MV8000) I have that uses the Axiom's Midi IN interface. I hit a pad on the Mv that is assigned to A2, it shows up as A1 in the Logic transport. In Battery it will trigger the cell assigned to A1 instead of A2.
    I'm perplexed because it is happening with two different devices on two different interfaces, yet the Axiom doesn't do it on its own ouput, but it does occur on the data received at the midi in on its interface. Doesn't make sense and it occurs both in Logic and Battery. I'm thinking its an AMS/Core Midi issue since hte padKontrol is truly plugnd play (did not have to install drivers), but I dont have clue on how to get AMS to act right. I couldn't find another applicable forum to post this so I am asking here since Logic is the closest subject to my issue.
    Anybody have any ideas?

    Thanks for the response. I know the two pieces of hardware that are impacted pretty well and they have no setting to transpose outbound midi notes in realtime. I bellieve I found the problem to actually be software related, In Logic, somehow I had the middle C setting set to C3. When I switched it to Roland C4, which I think is the default, the notes I hit on my controller and the MV appeared in the transport as they were programmed. As far as Battery goes, I think it may default to midlle C at C3 (I'll have to check), but I set it to transpose midi input up 1 octave.

  • Is there a way to reverse a region with midi notes?

    i have a two bar loop of some midi notes and want to reverse the region and see what it sounds like.

    Try a transformer operation with the Reverse Position preset. Page 730 of the manual. This is the most powerful midi sequencer, use the features!
    B

  • Recording 'Volume' with the midi notes??

    Has anyone figured out how to get GB-09' to record:
    -midi volume at the same time your playing the actual midi notes in? ( all at once )
    +maybe expression pedal or volume pedal? or re-mapping sysex, or....
    GB 9' version 5.1 (398)

    GB doesn't record volume changes in Real Time, it does, however record velocity (which may appear as volume changes, depending on the instrument)

  • First Midi Note Delay

    Hey All,
    I'm having a problem where the first midi note i play is delayed all notes after that are fine,
    does anyone have any idea how to fix this,
    i am running Logic Pro X on Mavericks,
    Thanks

    digitaltracks wrote:
    I have done some tests,
    & the delay is only present after i add an audio track to the session.
    Just to be clear.. no plugins anywhere in the project, including the master bus?
    If you select a software instrument track and play a few notes/chords before recording on that track you get the 1st note problem?  What is your Preferences/Audio "I/O Buffer Size" set at?
    Logic X does have considerably more overhead than Logic 9 but I don't think this is the problem.
    For testing:
    Preferences/Audio/Devices  I/O Buffer = 128
    "                                  "     Recording Delay = 0 (this setting should always be zero)
    "                                  "    Software Monitoring = Off
    Preferences/Audio/General Tab   Track/Mute = Slow Response-CPU Saving)
    "                                          "   Sample Accurate Automation = Volume, Pan Sends
    "                                          "   Recording File Type = Wave (BWF) or AIFF
    "                                          "   Plugin Latencey Compensation = Audio & Software Instrument Tracks.
    Reboot the computer before testing.

Maybe you are looking for