Cannot obtain Transmitter from virtual MIDI device

Hi all,
working on Linux, I'd love to be able to process MIDI events generated by some other program (say, the Rosegarden sequencer) from within a Java application. Rosegarden itself doesn't show up in the list of devices detected by MidiSystem.getMidiDeviceInfo(); however,
I figured out that the snd-virmidi kernel module might be the way to go. And indeed, after loading it, I get some new ALSA raw midi devices:
Port     Client name                       Port name
14:0     Midi Through                      Midi Through Port-0
16:0     SBLive! Value [CT4830]            EMU10K1 MPU-401 (UART)
17:0     Emu10k1 WaveTable                 Emu10k1 Port 0
17:1     Emu10k1 WaveTable                 Emu10k1 Port 1
17:2     Emu10k1 WaveTable                 Emu10k1 Port 2
17:3     Emu10k1 WaveTable                 Emu10k1 Port 3
20:0     Virtual Raw MIDI 1-0              VirMIDI 1-0
21:0     Virtual Raw MIDI 1-1              VirMIDI 1-1
22:0     Virtual Raw MIDI 1-2              VirMIDI 1-2
23:0     Virtual Raw MIDI 1-3              VirMIDI 1-3
128:0     rosegarden                        record in
128:2     rosegarden                        external controllerEach of the virtual midi devices now nicely shows up in Java's device list -- actually, each of these virtual ALSA devices seem to be represented by 16 different Java MidiDevices (does anyone know why?). All these devices report -1 as their maximum transmitter count (which, I understand, indicates an infinite number of transmitters) -- but whenever I try to obtain a Transmitter object by calling getTransmiiter() on one of the devices, all I get is an exception like the following one:
javax.sound.midi.MidiUnavailableException: MIDI OUT transmitter not available
     at com.sun.media.sound.AbstractMidiDevice.createTransmitter(AbstractMidiDevice.java:444)
     at com.sun.media.sound.AbstractMidiDevice.getTransmitter(AbstractMidiDevice.java:299)
     at de.tcrass.midicast.MidiCastServer.<init>(MidiCastServer.java:63)
     at de.tcrass.midicast.MidiCast.main(MidiCast.java:8)Any idea why those devices won't give me any transmitters?
Regards --
tcrass

Captfoss,
>
Which does not necessarily mean that Java has the necessary permissions to access these virtual devices...
>
it doesn't make any difference whether I call my test program as myself or (via sudo) as root -- I consistently get the "MIDI OUT transmitter not available" exception. The kernel (and hence: ALSA) version doesn't have any influence, either (2.6.24 vs. 2.6.26).
Do you (or anyone else) have any clue where else in 'the longest text adventure ever' (as some people have called Linux ;-) something might have to get adjusted to grant a Java program permission to obtain a Transmitter? As I said, the value of -1 returned by getMaxTransmitters() suggests that there shouldn't be a shortage of Transmitters... (Or should I file this behaviour as a bug?)
Regards, and a good start into 2009 --
tcrass

Similar Messages

  • Adobe Bridge CC cannot obtain files from this device.

    I am getting this error message when I attempt to upload videos to my Mac from my Canon 7D:
    Adobe Bridge CC cannot obtain files from this device. Please be sure the device is properly plugged in and the battery is full charged.
    Battery is full charged and camera is connected properly. I have restarted the camera, Bridge, and the computer as well. I tried reinstalling Bridge and it allowed me to upload 3 of the video files. Then the error message came back. There were a few RAW images on the camera that I was able to upload, but when I tried the video again I got the error message. I read a post about renaming the folder that you are saving to as a fix. I tried that as well, but it did not work.
    Any help would be greatly appreciated! Thanks!
    -J

    This excerpt is from a long-gone post by author Bruce Fraser:
    Bruce Fraser - 4:17pm Jun 14, 04 PST (#5 of 21) Opening files directly from the camera is a bad idea for a variety of reasons*, and it most certainly isn't faster than using a FireWire or USB2 card reader. 
            • Drains the camera battery
            • Runs the risk of the software you're using to open the images writing to the card and destroying the format
            • Runs a small but significant risk of USB power frying the camera
    • runs the risk of wearing out the camera's connector,      
    • Slowest method known to mankind of getting images off a CF or SD card

  • Adobe Bridge cs5 cannot obtain files from this device.

    I download photos to my computer using a Kingston downloading device.
    Since installing Mavericks the above message comes up and will not carry out the download.
    Is this a known problem with Mavericks and is there a remedy?
    I would say that using the same device my photos download perfectly on my MacBook Pro.
    Messages
    1. Adobe Bridge CS5.1 cannot obtain files from this device.
    Please ensure that the device is connected properly and that the battery is charged and try again.
    2.I also get a message telling me that the "disk was not ejected propery" which is not the case.

    Thanks Eric
    The MacBook Pro is not running Mavericks and sorry about the double post.
    I have actually solved the problem and the answer might be of use to others with the same problem.
    There is a firmware update that will correct the problem.
    It's at
    http://www.kingston.com/en/support/technical/products?model=fcr-hs3
    There is a small catch in  that the firmware update can only be done on a Windows machine but I have been told that once this is done it can be used with OSX9 .I have just done the download but  I haven't checked this out yet.

  • Recording from a MIDI device

    Hello,
    Is it possible to record from a MIDI device? I connected my keyboard via an M-Audio USB UNO interface. I used MIDI-OX to confirm that my Windows XP PC was able to input and output a MIDI signal. But I do not see a MIDI input option in Soundbooth's Record dialog box. And when I check audio levels, nothing shows up in the dialog box. I checked my Recording Control dialog box and MIDI/Synth is selected.
    Jeff Sengstack

    I think you need Adobe Audition.  Soundbooth I believe is strictly Audio waveforms capable.
    http://www.adobe.com/products/audition/?promoid=DJDVV
    check out the link above.

  • Stuck notes from external midi device

    I just started using Logic today for the first time. I hooked up a MOTU midi express XT as an interface between my MacBook Air and a Proteus Orchestral synth (old rack model). Also hooked a FATAR keyboard (controller) to the interface. Everything shows up fine in the audio / midi setup windows. I was able to figure out how to set up several tracks in Logic pointing to the multiple channels on the external midi device (synth). So far, so good. But when I started recording the tracks I ran into stuck notes from the synth. I've had this in the past on other sequencing software and don't remember how to solve it? In addition, while recording the tracks from my keyboard controller notes would occasionally not play, almost like there was a memory / cpu problem.
    Any thoughts would be appreciated.

    In case you need to get back the default Logic control surface setup you can delete the Control Surface preference file and the default file will be rebuilt. It's a good way to get back to Logic's initial control surface setting. Also, if you had chosen to edit the Logic Remote CS entry instead of remove it there are adjustments that can be made, like disabling Active Sensing, or even disabling "Flash Mute and Solo Buttons" on the basic Control Surface Preferences pane.
    Deleting the Logic 10 Control Surface Prefs.
    In the Finder, choose Go > Go to Folder from the menu.
    Type ~/Library/Preferences  in the "Go to the folder" field.
    Press the Go button.
    Delete the com.apple.logic.pro.cs file from the preferences folder.
    Note: to get to the User-Library the tilde ~ has to be included.        ~/Library/Preferences

  • My yahoo account was hacked.  I changed the password and now cannot send email from any apple device. I have deleted mail and reinstalled it and it still doesn't wok.  I get " sending the message to server failed" help!

    I have tried everything and get this same error message on my iPhone and iPad.  Yahoo account works fine on pc.  I can receive emails and use Internet on apple devices but cannot send mail.  Thanks.

    Hello DRB1962
    Check to make sure that you validated the device within your account on webmail.
    iOS: Setting up Hotmail, Outlook, Live, or MSN email accounts
    http://support.apple.com/kb/HT1694
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Random sound generated from external midi device even without a song opened... How to uninstall external control surfaces?

    Recently bought systems used :
         Roland FA-08 workstation
         Mixingtable with USB connection Yamaha MG12XU
         Mac Os X 10.9.4 Maverick with Logic Pro X 10.0.7
    for each system the latest usb-drivers are installed
    Problem :
    I get random noises generated (non-stop) from the connected synthesizer FA08 starting up Logic, even without a song opened.
    (My midi local is switched of, that's not the solution)
    The problem started (i think) installing the Mackie control for the DAW use as was suggested by the Roland manual
    in Logic Pro X > Control Surfaces > setup...
    Other than my remote control i now have Mackie controllers that i can not remove from the setup. Right click says 'delete' but
    they are not deleted, the program even crashed once. Reinstalling Logic does not remove them either.
    I read somewhere that there should be a 'controller rebuild'-command but that doesn't seem to exist.
    And i have no idea why in the 'inspector', the host of the Mackie Control seems to be my I-pad (?)
    I suspect that te problem is either some midi/usb driver conflict when used with Mavericks
    or te use of the mackie controller conflicting with
    the audio-bord of the yamaha mixing console MG 12XU (which seems to be working fine) or with the DAW controller of the FA 08
    Audio/Midi setup of my computer seems to be installed correctly.
    How can i uninstall this controller settings ?
    Anyone has an idea why i get random noise generated?
    Anyhow, it is impossible working with Logic this way..
    Please help..

    In case you need to get back the default Logic control surface setup you can delete the Control Surface preference file and the default file will be rebuilt. It's a good way to get back to Logic's initial control surface setting. Also, if you had chosen to edit the Logic Remote CS entry instead of remove it there are adjustments that can be made, like disabling Active Sensing, or even disabling "Flash Mute and Solo Buttons" on the basic Control Surface Preferences pane.
    Deleting the Logic 10 Control Surface Prefs.
    In the Finder, choose Go > Go to Folder from the menu.
    Type ~/Library/Preferences  in the "Go to the folder" field.
    Press the Go button.
    Delete the com.apple.logic.pro.cs file from the preferences folder.
    Note: to get to the User-Library the tilde ~ has to be included.        ~/Library/Preferences

  • I cannot move books from library to device to sync

    can anyone help sync books from library to shuffle

    It appears to be Adobe Reader. I set this up years ago and I've never had a problem till last night.  It said it could not connect to the Adobe server.  When I reinstalled Overdrive and authorized the Adobe Reader, it said I had too many accounts assigned.  I deleted one and it still says that or cannot reach the Adobe server.
    Correction:  After researching this, I'm thinking now it is Adobe Digital.  Obviously I'm confused.   Any help would be greatly appreciated.  It would be nice if I could just find a darn phone number to contact someone in person, but I guess that is old fashioned and out of vogue.

  • Why I cannot get response from my USB device through VISA raw using VISAWrite.vi and VISARead.vi?

    I am sure VISA has been assigned as the driver for my USB device (ADC USB FIFO Evaluation Kit). I tried to simply use VISAWrite.vi to send out a word to USB device and want to read the digitalized data from it using VISARead.vi. However, though it seems there are data points flowing, they are all 0-valued coming out from VISARead.vi (I keep reading for N times). Could you comment on my wiring and help me out? I am familiar with LabVIEW but not the real-time and driver things. Many thanks!

    Have you been able to confirm that the ADC is connected to a voltage source. What are you expecting to return? I would suggest connecting something like a good 9V battery to the input and reference. Also make sure the reference is either internally connected to ground or you might want to connect a resistor (100kOhm) between the reference and ground.
    You might want to try to see what raw data is being returned from the device. Try something like USB Monitor (http://www.hhdsoftware.com/usbmon.html) to see what information is being transmitted between the computer and the instrument.
    Did you write the firmware for the device or do you know if the device is suppose to be returning the data from a bulk, interrupt, or control transfer. Also, what is it that
    you are trying to create.
    -Josh

  • What do you do when you icloud is hacked and you cannot delete if from yoru ios device without knowing the password?

    Does anyone know of a good way to just cancel the offending account? 

    Welcome to the Apple community.
    If you are unable to remember your password, security questions, don’t have access to your rescue address or are unable to reset your password for whatever reason, your only option is to contact AppleCare(or Apple ID Support), upon speaking to an operator you should explain that your problem is related to your Apple ID, this way you will not be charged for assistance, even if you don’t have an AppleCare plan.
    The operator will take you through some steps you may have already tried, however they need to be sure they have exhausted all usual approaches before trying to reset your account, so you should try to be helpful and show patience with the procedure.
    The operator will need to verify they are speaking to the account holder and may ask you some questions that only the account holder could know, and you will need to answer them if the process is to proceed.

  • HT201365 I have downloaded OS 7 and now cannot download my books from cloud to device cloud to device. What should I do?

    I have downloaded OS 7 and now cannot download books from cloud to device. Any sggestions?

    I got round the situation by making a second user on my computer. That user synched my new shuffle, the first user synched my iPod.
    Then my external drive, on which all my iTunes were stored, failed. Then my computer started dying, then my printer died, and now I have a new Mac. I can't get that online because my ISP forgot to send me a router when they said they would.
    So now I have 3000 songs on my iPod and will have to get them off it and onto my new Mac iTunes when I get online, next week.

  • No more sound to USB midi device Alesis iMultimix8USB

    Hello
    After playing hours and days without any problems it's no longer possible to communicate with my Alesis midi device iMultimix8USB.
    I did all the latest updates. I did on my macbook pro too and it the device is working there fine. So the device is ok and the problem must be with my macbook.
    So before the problem I plugged out the USB-cable and the sound switched without any problems to the internal speakers. After plugging in the UBS-cable back the sound stayed on the internal speakers. I have no idea what is wrong now.
    In the system profiler it shows under USB the "USB Audio CODEC" entry from my midi device. So that should be OK. But in the system settings "Sound" I cannot find the old entries for the device under "Output". Only the integrated speakers are listed.
    So what is missing? Thanks for any advice.

    Oh, I remembered some problems while starting with iMultimix8USB some years ago. There I had to install a "special" driver to make it running (http://discussions.apple.com/thread.jspa?threadID=1797831&tstart=0).
    Now I followed the instructions to deinstall the Yahama-USB-Driver and now it works again!
    I think, the involved kernel rebuilt has somehow brought back the official Apple driver which is working now with the iMultimix8USB. This was not the case some years ago. But anyway it works now.

  • HELP! I cannot upload videos from my camera with Adobe Photoshop Album Starter Edition 3.2 anymore!

    I made a video with my Cannon Powershot camera and tried to upload it to my computer using the Album Starter (which i have done NUMEROUS times in the past successfully) and all of the sudden it will NOT work. IT says "CAnnot obtain files from this device. Please ensure the device is properly connected or that the battery is charged and try again". It WILL let my upload all the pics i want, and it ONLY gives that message when trying to upload a video. What gives?!

    Gabriel,
    Have you tried a small test video to see if it might just be this one?
    This might be obvious, but are the videos the same format?
    Cheers

  • Mixing when using external midi devices . . .

    Hi,
    This is the first time I'm mixing a project using an external midi device. Formerly, using an older version of DP, I would record each track from the midi device into an audio track before mixing because those tracks don't "bounce" when mixing. Anybody here who uses external devices do it differently?
    Thanks, josf

    Using the external I/O plug in you can bounce your external midi instruments to audio tracks in realtime in logic, but you have to add the New multi instrument in the environment so that it can be represented in the external destination parameter of the EXternal I/O plug in.
    At least I think this is how things work. You also need an audio interface with the outs of your hardware to the ins of the inputs and the midi cables configured.
    But.. I think there is a latency issue there.. anyone know how to compensate for this? Like if I bounce a track in realtime in logic.. it records the time that it takes the audio to "get into" the software.. It never bounces a track right on the beat, as if I were to bounce a track from say the EXS sampler.. When I do it inside logic it bounces it right on the beat.. with no "dead space" beforehand.. but if I use external equipment there is always a lag.. any suggestions?

  • PDC & External Midi Device Delays

    Hi All,
    Got my head around the PDC - i think , but -- Logic states that :
    ' Another effect with delay compensation set to All is that MIDI tracks triggering external sound modules will be out of sync. This is because Logic has no direct control over the audio output of external devices. A possible solution for this would be to route the audio outputs from the external MIDI devices to inputs on your audio hardware and monitor them through Logic. This way, the audio streams from the MIDI devices can be compensated during playback. Using Logic's External instrument to route MIDI to your external devices is an ideal way to work in this situation. '
    Question : So what would you do if all of your inputs were being used from other sources ( Hardwired / or even if you had only 2 ) or you did not have enough inputs to cater for simultaneous internal monitoring from your midi gear- ( phew big sentence ! ) but still need the ALL setting for PDC selected because of the induced latency from plugins . How can you compensate for the external midi delay in the new logic 7 if you cant monitor internally as they suggest ? This was not the case in version 6 and i am pretty worried my clients projects will all now play out of time ! Hope i explained correctly and you understand my question. Please dont say bounce them !!
    Thanks and look foward to youre suggestions

    Presumably, all you would need to do is have a stereo submix of your external MIDI gear coming up on a stereo input object (software monitoring on, obviously.)
    The whole submix would therefore be PDC-delayed as necessary to match up with the rest of the audio, and you could bounce (real-time only of course) to include all your external instruments in one go.
    What I do is have all external hardware coming up in a mixer (Mackie 1604-VLZ), so you could record individual channels of submixes back to the computer as necessary.
    However, the best solution for most cases is to record your external MIDI gear as audio, which is what I do when I've finished editing, keeping the MIDI tracks just in case.
    This is also handy as you can process with internal FX, automate and offline bounce, and don't need to worry about having all the hardware when you open up the song in a couple of years. (Although you should keep sysex dumps etc as well, obviously...)

Maybe you are looking for

  • How do I add a file explorer to my website

    Hello, I am currently in the process of building my website. I require a file explorer facility that will enable me to browse and download documents from the web page. I like the APACHE style browsing facility e.g you can see an example of it here: h

  • HT2523 How can I copy text from TextEdit without including formatting?

    This is not the most important question in the world, but I would like to skip the extra paste and cut into the Address bar of Safari to get rid of text formatting. Is there a way to do something like cmd + shift + c to just copy the text?

  • EHS - Report Entry Document - Purchase Requisition - Purchase Order

    Hi experts, I would like to have in a report the following sequence: - Entry Document - Purchase Requisition - Purchase Order Is there any function or BAPI that gets this information? I can't find it. For entry documents, i found this database table:

  • Can't open iDVD project

    Help needed I had account for my niece and she was playing with iDVD creating her own projects. After I have reinstalled everything, I created account for her with different name and none of her projects open anymore! The error is "Project locked by

  • Jar Files - The control box? n97 mini

    Hi there, Im new to this forum so I apologize if this is in the wrong section. When I open jar files on my n97 mini, there is a weird and quite annoying control box with arrow keys and A B C D along the bottom. This takes up half of the screen and yo