Problem using Midi input

Hello,
I'm using java.sound to get MIDI messages from a "physical" midi input.
I get a rather strange behaviour, since some time, the "Midi input" get stuck, and I don't get message from the input.
To be clearer: everything works as intended : I open the device, I get incoming messages... and sometimes, the incoming messages are "lost". If I try to close the corresponding MIDI device, my program freeze... No exception are raised, my program is not CPU consumming, and I'm not able to determine the conditions that leads to this behaviour.
I'm using the last JRE under windows (XP).
I tried the MidiInDump example from jsressource, and I get a similar behaviour.
My problem now is that I don't know what to do to find out the problem. Is there a way to diagnose this kind of problem?
The MIDI interface I use is a "generic" one, that is, it used the standard MIDI driver from windows (no proprietary driver installed)...
Is there a way to size the incoming MIDI buffer?
Any clue?
Any suggestion to track the problem would be grealty appreciated.

Holly,
Have you opened the Audio MIDI Setup app on your mac? It's found in your Launchpad app (on your doc) and Other folder it should be in there. Make sure your MIDI keyboard is recognized and configured for the mac. Also look at your MIDI settings within Logic as well.

Similar Messages

  • Clipping problems using SPDIF input on SB Live

    .Clipping problems using SPDIF input on SB Li've?Hello everyone
    I'm new to this community and I'm banking on someone being able to help me!
    I'm connecting a DAT player to the SPDIF input on my Soundblaster Li've card and recording using Audacity.
    Within Creative Audio HQ I've got the SPDIF volume level set to 00% (for starters, perhaps someone can explain why there is a volume control when I thought this signal was staying in the digital realm?!) and when I record in Audacity the resulting material clips with high transient sound... a piano, for example, distorts on the louder notes.
    I need to take the level down to about 70% (or the equivalent in Audacity would be 0.7 - the 2 'volume' controls are connected) to avoid any clipping.
    I've had the sound card years and used to use SoundForge without any problems. Any ideas why this is happening in Audacity?
    I'm using XP and?I have downloaded the latest drivers and turned off the MOBO onboard sound in my BIOS.
    I would be grateful for any assistance anyone can give.
    Best Wishes
    Steve

    paush wrote:
    Hi, I am trying to sample my old vinyl record collection using my Sound Blaster Li've! PCI (think that was the model - it was the original (not Value) version of the card with the seperate header for the coaxial digital and MIDI I/O). Unfortunately, I get severe clipping regardless of the recording volume on the Volume Control panel. I know that my photo pre-amp is capable of high voltage outputs and therefore wondered if anyone was aware of the sensitivity of the analogue line input in volts of this particular model? Many thanks.
    Regards, Paul.
    If your pre-amp is a phono pre-amp (with RIAA in-build), I suppose it's not the culprit for clipping.
    How have you set the recording and source (input) levels on Volume Control and Recording Control?
    Try adjust the recording level by the 'hights' (loudest outputs) of the record (you know those recordings so you can easily find those places (or you can look on vinyls surface where the darkest areas are --> loudest outputs)).
    jutapaMessage Edited by jutapa on 0-23-2006 :38 PM

  • Problem with midi input in Mainstage

    Hi all,
    I have a keyboard connected to my mac via USB midi interface.
    When I'm trying to play midi instruments in Garage Band - it works very well, no significant latency and no other problems.
    But in Mainstage the situation with the midi input is different. When I press a key on my keyboard, it plays the sound, then stops responding to other midi commands for about 2-3 seconds. And then after I press another key, it plays it, and stops responding again.
    The "CPU" and "Memory" indicators at the top show a low load.
    All in all, it's just impossible to play a midi instrument in Mainstage.
    As the midi interface is working correctly in GarageBand and doesn't work well in Mainstage, I suspect that it's a Mainstage's software problem. But I haven't found anything like that on the Internet. Any ideas?
    Devices: Macbook Pro 13" (2011), M-Audio MidiSport Uno...
    Thanks!

    I can input Chinese in Firefox, but there are
    problems with the display of characters in input
    fields for searches, etc.
    Can you provide a specific example of a particular search box (url) and exactly what the "problem" is (TC or SC, characters involved, etc)? I would like to try and duplicate it. Perhaps the encoding in View > Text Encoding needs to be adjusted for that page for some reason (though normally that should affect all browsers).
    Since Apple has nothing to do with FireFox, you might want to report the issue to the people responsible for that program (mozilla.org I think), since it may be a bug they can fix.

  • Problem using Input stream reader - unable to read values in variables

    Hi,
    I have a program that need to input an access code. If the code is correct a message appears "Valid access code". Till this part, the codes works fine.
    The problem is here:
    If not correct a prompt is displayed asking the user whether he want to input another code. Whether Y/N, the program always ask for the input. Can anyone tell me what's the problem in the code??
    import     java.io.*;
    public     class     testwhile
         public static void main(String args[])
              //initialisation for input
              InputStreamReader stdin =
                        new InputStreamReader(System.in);
              BufferedReader console =
                        new BufferedReader(stdin);
              //array to store copier access codes and associated max number of copies
              int[][] arr_copier = new int[3][2];
              int     i = 0;
              String c_code;
              int p_validrow; //use to input copier access code
              String     p_reply,p_tryagain, p_found;
              int copier_code;
              //assigning values to array
              arr_copier[0][0] = 450101;
              arr_copier[1][0] = 450202;
              arr_copier[2][0] = 430303;
              arr_copier[0][1] = 500;
              arr_copier[1][1] = 2000;
              arr_copier[2][1] = 100;
              p_tryagain ="N";
              p_found = "N";
              p_validrow = 0;
              c_code = "0";
              try
              do
                        System.out.print("Input code: ");
                        c_code = console.readLine();
                        copier_code = Integer.parseInt(c_code);
                        for (int r=0;r<=2;r++)
                             // System.out.println(r + " = " + arr_copier[r][0]);
                             if (copier_code == arr_copier[r][0])
                                  System.out.println("Value found");
                                  p_found = "Y";
                                  p_validrow = r;
                                  break; // to know row number so as to pick the number of copies for the selected access code
                             else
                                  System.out.println("NOT found");
                                  p_found = "N";
                        if (p_found == "N")
                             System.out.println("Invalid access code");
                             System.out.print("Do you want to try another code?");
                             p_tryagain = console.readLine();
                        else     
                             System.out.println("VALID access code");
                             p_tryagain = "N";
                   p_tryagain = p_tryagain;
                   System.out.println("try again" + p_tryagain);
              while (p_tryagain != "N");
              catch(IOException ioex)
                        System.out.println("Error Exception" + ioex);
    }

    Never compare Strings using Object equality or inequality ("==" resp. "!=").
    Use [url http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html#equals(java.lang.Object)]String#equals (or [url http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html#indexOf(java.lang.String)]String#indexOf or [url http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html#matches(java.lang.String)]String#matches).
    Please use code tags when posting code. This means wrapping your text between [code[/b]][[/b]code] tags. See the [url http://forum.java.sun.com/help.jspa?sec=formatting]Formatting tips.

  • Can you use specific Core MIDI inputs in LE7?

    In various other MIDI applications on OS X, you can see a list of the current Core MIDI inputs and outputs, usually for the purpose of telling the application which input(s) and output(s) to use. For instance you might want to use something like MidiPipe to modify MIDI messages in the chain before a software instrument like DrumKitFromHell or VSamp. To do this you can set MidiPipe to use the input from the MIDI controller and then set, say, VSamp to use the output from MidiPipe as its input.
    Is there any way to do this with LE7? I want the MIDI path to be:
    1. My MIDI controller
    2. MidiPipe
    3. LE7
    There seems to be no way in LE7 for me to say: Use MidiPipe as the MIDI input. LE7 just seems to take over the physical MIDI input, bypassing Core MIDI altogether.
    Does anyone know any way to tell LE7 to use a specific Core MIDI input?
    Thanks!
    Will
    Dual Core 2.3GHz PowerMac G5, 2GB RAM, ATI X1900 G5   Mac OS X (10.4.8)   Canon Digital Rebel XT, Edirol UA-5

    If it supports the Makie protocol, it might work... but I wouldn't purchase one on that basis without trying it first.

  • Assigning details in RSBBS using batch input (SHDB). Line selection problem

    Hello, Experts!
    While trying to use batch input by transation recording in SHDB I faced the problem of selecting line.
    The scenario was as follows:
    1. create new record in SHDB, transation "RSBBS", asynchronous, no catt, default size checked.
    2. Start recording:
    2.1 Select sender (query)
    2.2 Create receiver (java-application)
    2.3 Select line with receiver in table
    2.4 assign details
    2.5 Save
    When I got the record it contains no action for line selection and when I play the record I get the  error: "Line is not selected".
    How could I define line selection in the bdc-script manually or may be there are some other way to rich the goal - to create a pack of recivers for s sender and to assing details (in my case they are common for all recievers) for each of the reciver?
    Hope for your help.
    Best regards,
    Jozef

    There is no magic in here. The number lines that you see online may not necessarily be the same as what you get in batch. This is because, online, the SAPGUI can be formatted by the user, so the number of lines you can see can vary by the user.
    To overcome this problem, most BDC that have table controls/step-loops are done by using a feature provided within the transaction. This feature enables you to add the new line always at a constant position. In MB11, you can achieve this by pressing 'New Item' after every item. That will enable you to enter the new item always in the first line/position. So you can keep your position as 1 always.
    Instead of BDC, why don't you use BAPI_GOODSMVT_CREATE.
    If this helps, please reward and close the post.
    Thanks,
    Srinivas

  • Anyone else using Roland A300Pro for midi input?

    If so, how have you found it?
    Are you going USB straight into the Mac, or MIDI into another module, then into the Mac? Which is better?
    I'm just using MIDI channel 1 on the A300, not worrying about changing it. Is that a valid way to use it?
    Basically, any tips or war stories to tell?
    (This is my first post here. The forum looks great. The IMac is the first Apple computer I've owned (apart from IPhone, which is virtually a computer anyway!), and I'm lovin' it. ****, this is good gear.)
    Thanks
    Chris

    By the way, my **** exclamation wasn't inappropriate or rude. The auto-censor is certainly on the job! Will know better next time.

  • How do I set up an external MIDI input on the new MacBook Pro? Mine won't read it.

    I've been trying to set up my TASCAM US-600 on my new MacBook. I've never used a Mac before so I'm not sure what's wrong. I tried installing the drivers and when I plugged in the interface, it wouldn't read the device. I now have the interface plugged in through a USB hub. The Mac now reads TASCAM software but when I go to the system preferences, the Mac won't read the MIDI input. So all in all it's been a big pain in the ***. Are there any Mac experts that may know what the problem is or how to help? Thanks!

    are you sure its mini display port? MDP and thunderbolt are the same port.
    for referenece, this is mini DVI (obsolete)
    Kobushi-mini-dvi.jpg
    This is mini display port
    Mini_displayport.jpg

  • Can you use midi sounds when recording videos on Photobooth?

    Can you use midi sounds when recording videos on Photobooth?
    Basically, i like to record videos of me singing and playing guitar or keyboard, but to get a good sound for the keyboard I'd like to be able to record the audio using MIDI sounds...
    Ive got Logic, I've got M-Audio Fast Track Pro, into which i have my mic, guitar, and keyboard midi plaugged into. I can use it to record the mic and guitar on photobooth as they are audio inputs, however i can't use the midi sounds on the keyboard :/ I have tried having logic open with the desired MIDI sound selected whilst recording but it doesnt work...
    Is there ANY way this is possible?
    HELP PLEASE!
    Thanks!

    I Have just the same problem, if I shout very near the microphone i can just hear something, did you manage to solve the problem?

  • Multiple MIDI Inputs Yet???

    Can anyone tell me if LP8 offers multiple MIDI inputs? I use the step sequencer from my Elektron Monomachine for pattern creation and would like to be able to assign the external tracks from it to instrument tracks hosting either native or 3rd party plug-ins. Untill I can assign MIDI to Logic Instruments and third party AU Instruments from multiple channels, I am forced to use another app (Ableton Live at present) for song creation and only use logic for post production of said track. Would much rather keep it all in one app from creation to stage performance!!!

    I have found an answer to my problem. In the following link I found this post that allowed me to play multiple instruments from an external step sequencer. I have been trying to figure this one out for ever and just kept giving up with the environment. Now I can finally use logic the way I always wanted to!!!
    http://discussions.apple.com/thread.jspa?threadID=1078171&tstart=30
    Here is the post...replace "MIDI Keyboard" with "Sequencer Track" and you can see how this worked for me...
    This method assumes that One MIDI Keyboard is sending on MIDI channel 1 and the other is sending on MIDI channel 2.
    In the Environment, go to the "Clicks and Ports" Layer. My MIDI "signal" path is:
    Physical Input-->Input Note (a keyboard)-->Input View (Monitor Object)-->
    "to Recording and Thru"
    (See p. 207 of the LPReference for more on the "The MIDI Signal Path")
    What I would suggest is this:
    Create a "Channel Splitter" object from the "New" menu. Then cable the MIDI output of the Input Note (the Keyboard object) to the Channel Splitter. This is a second MIDI output cable from the Keyboard, make sure the keyboard object remains connected to the Input View (monitor object).
    Now create two "Alias" objects. In the Alias' Parameters box, set the "Reference" box to the Audio Instrument you want to hear when you play the MIDI channel 1 keyboard. (There are other ways to do this without alias objects as well.)
    Now cable the MIDI channel 1 output of the Channel Splitter (second from the top) to the Alias of Audio Instrument (the one to be heard when playing the Keyboard on MIDI channel 1).
    Create a second Alias, set its Reference to the second Audio Instrument and cable the Channel Splitter's MIDI channel 2 output to the Alias.
    Now go the Arrange. Create a new track and Assign its output (click-hold on the name of the track) and select the "Input Notes" object (mine was under the "Clicks and Ports" submenu). Now when you've got the Input Notes track selected in the Arrange, the MIDI notes will be sent to the Audio Instruments based on MIDI Channel. You can record the notes on the Input Notes track. Later, you can "Demix" the notes and put the Demixed regions onto the tracks of the appropriate Audio Instrument.
    End Post
    For now I am using only one port on my AMT8 for input, the next step will be to try multiple port / multiple sequencer input scheme and see how that setup works...
    Hope this is helpful to someone

  • Having problem with midi?

    I am having problem with midi keyboard (korg pa80) I having hard time to midi to logic every time I have to either restart the logic or restart the keyboard or plug out the USB cable and put back in order to work. Plus when I created a new track doen't work with it. I have to do same as above to make it work? help please how can i refresh the midi connection with going throw steps above?

    Is it the computer dropping the MIDI interface, or the computer connectin is fine adn Logic is not seeing it?
    Run the Audio/MIDI Setup utility and make sure your MIDI device is present. If not, try another USB port, or don't use a hub.
    Assuming the connection is solid, in Logic, option-click on File -> New and try it - if it works in that song, but not your own songs, it's a song specific issue, so check your MIDI input handling in the environment.

  • MIDI Inputs

    Hi everybody,
    I wanna record vocal and it seems like there is no input.in MIDI Status it says Number of MIDI detected is zero.I donno what is wrong with it.it used to work fine.when I Press Record,the bar is moving and the green box keeps increasing but there is no recording at all.seems like there is nothing tocatch the sound but normally if I turn on the Mic I can hear myself so the Mic is working but it does not record.can anybody help me to fix this problem.thank you so much.
    MacBook Dualcore 2.0 G Black   Mac OS X (10.4.9)  

    what's the other question which has the same answer?
    You have to click the link and then click on "Answer"
    wha's the meaning of no MIDI input found?
    Exactly what it says, you have no MIDI devices plugged in.

  • Pitch problems using Philharmonik & LE

    Have run into problems using LE8 and Miroslav Philharmonik. Have latest versions of both.
    Seems that when I add more instruments to a piece LE8 changes the pitch of the ones already recorded making it virtually impossible to compose anything! Very annoying to say the least! I'm using a USB midi keyboard as the input device. Sometimes, even in the middle of a sustained note it will change pitch. It is very, very frustrating! Has anyone else encountered this problem and is there a fix? Or am I now stuck with thousands of dollars worth of software and audio equipment that will no longer work unless I downgrade everything?
    Any help would be much appreciated.
    Thanks.

    Have run into problems using LE8 and Miroslav Philharmonik. Have latest versions of both.
    Seems that when I add more instruments to a piece LE8 changes the pitch of the ones already recorded making it virtually impossible to compose anything! Very annoying to say the least! I'm using a USB midi keyboard as the input device. Sometimes, even in the middle of a sustained note it will change pitch. It is very, very frustrating! Has anyone else encountered this problem and is there a fix? Or am I now stuck with thousands of dollars worth of software and audio equipment that will no longer work unless I downgrade everything?
    Any help would be much appreciated.
    Thanks.

  • No midi input since installing an application

    Hello,
    A friend of mine asked me to check his computer. While we were at it, we tried to make "Kontakt" to work with Logic Pro (Kontakt installs plugins which should be compatible with Logic Pro). Well, we couldn't make it working and finally gave up with this (also, I don't know Logic Pro nor Kontakt, so I couldn't give much help either).
    But there's something worse: since then, he can't play on his keyboard (piano) anymore. Seems like the MIDI system has been broken somehow. Restarting the computer didn't solve the problem (I thought it could be Kontakt that might have temporarily taken the control of the MIDI system). Logic Pro shows "No In" and "No out" (since I never used Logic Pro, I don't know what should be written instead).
    We tried restarting every involved device, swapping cables (e.g midi in and midi out) and checked various things, but everything else seems "normal".
    He uses an interface (of brand M-Audio) to which is plugged the keyboard, a microphone and the USB out. The interface is still recognized by the Mac (both in System Profiler and in Audio and Midi setup) and the microphone works (he says the signal of the microphone actually passes thru the computer).
    We also tried reinstalling the interface driver.
    Apparently, the "midi out" is working: when Logic Pro tells to play a note, the keyboard reproduces it (my friend said that instrument was not part of Logic Pro when we heard it).
    I'm at a loss at what we should do or check now, and that MIDI stuff is beyond me. Any help welcome!

    Jazzmaniac wrote:
    Too bad. If you were in the north east I'd say let's try to meet and fix this.
    Good luck with it in any case,
    Thanks, that's very kind of you.
    The problem seems over now... In the meantime, my friend called me by phone: his audio interface wasn't recognized any longer (not just the midi component, but also the sound in, etc.).
    I told him to look at "System Profiler", under "USB", and he said the interface wasn't listed there. All was plugged correctly, he guessed.
    We tried another USB cable and another USB port (the other one in front of his Mac Pro) with no avail. I thought the interface was slowly gone bad. I told him to try with a rear USB port and this time the interface was recognized again, WITH the MIDI input!
    It's the front ports that have failed, problem solved!
    Thanks to you, Jazzmaniac and Eriksimon, who gave your help!
    (I don't know where to mark my topic as resolved, thought)

  • BIG MIDI TROUBLES!!! Loosing midi inputs.

    All of the sudden my midi interfaces are getting WEIRD!!!! I used to get midi in from a E-MUxMIDI1x1... using midi pipe, I get it out through it to send the signal to another computer. Before, there was my CoreMIDI.framework that used to show up in my dock as a folder. I thaught it was not a good sing but it used to work perfectly.
    then I bought a Midisport 4x4 aniversary edition because I needed more controllers. It worked fine for 3 days. Then problems started to happen. I talked to the guys from m-audio to see if it was the drivers or whatever but found nothing. I uninstalled those drivers as they asked me to and the 4x4 was recognize as 4 ins and 4 outs... then not apearing online, then just 2 ins and 4 outs, then offline again. Now when I open midi pipe it shuts down right away I reopen and can't get nothing as inputs. I go to my audio and midi set-up and the E-MU1x1 and Midisport 4x4 only have outputs... I'm loosing my mind here.
    Can someone help?

    How is this thing powered? A in via the USB or an external AC power supply brick.

Maybe you are looking for

  • Getting Error While Attaching Concurrent Program Output PDF file for POAPPRV Workflow

    Hi All, I am getting the below error when I am trying to attach concurrent program output to the PO Approval Notification. An Error occurred in the following Workflow. Item Type = POAPPRV Item Key = 1040589-528378 User Key =945871 Error Name = WF_ERR

  • Free goods issue

    hi guys I created sales order for free goods free goods are inclusive.. but in order in line item for main item price takes where for free goods it is taking cost(vprs). why it is taking vprs into net value.. solutions please

  • How do i delete a toolbar

    i have one too many toolbars and i want to delete one of them.

  • SAP BPC 10 NW - component used by admin module

    Hello Gurus, We are on BPC 10NW - SP04 We were trying all the features using some test data.  Now, we have received actual data from the business.  We are trying to delete the previously created master data and create the new one give by the business

  • Migration of Microsoft SQL Server 7.0 Takes A Long Time

    I just installed Migration Workbench yesterday and tried to run it. It seems take a long time trying to load source tables. (Almost 6-7 hours!) But no error message showed up. I finally had to cancel it. Is it normal? Please advice. - Brian Luo null