Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
how does one send a midi 'start play' signal from a linux console? I've been searching google but can't find a command example.
I'm using fedora 20 with an Emu 2x2 midi box which shows up as /dev/midi1.
I did find this: https://ccrma.stanford.edu/~craig/ar.../section1.html
but when I try to run the method 1 example there I get:
Quote:
./midi.sh: line 6: syntax error near unexpected token `('
./midi.sh: line 6: `int main(void) {'
I'm not clever with scripts. Thanks for any advice.
thanks for your response. Yes I worked out that the script I mentioned above is a C program (red faced). I was able to run it though using '#gcc midi.c' but it didn't do anything. The E-mu 2x2 midi device when connected produces two new entries in /dev which are /dev/dmmidi1 and /dev/midi1 although neither worked when the fedora pc tried to talk to them with the script.
I have a fedora 20 pc connnected by usb to the E-mu 2x2 and a midi sequencer connected to the midi-out port of the E-mu 2x2. What I'm trying to do is send a 'start play' signal to the sequencer so it starts playing the song it has loaded. In fact I'm trying to send anything I can to the sequencer just to veryify a connection. There are lights on the E-mu device that are supposed to show midi activity in and out but they don't flash at all.
I want to send basic midi events to the sequencer via the E-mu box but so far no luck. I don't care about fancy midi programs and the like, I just want to start at console level with single events. Thanks for any further advice.
thankyou ondoho I don't see how a multimedia distro will give me the answer I'm looking for, which is at command line level. Thankyou for those links however, maybe one of them will give me a new avenue to search.
the hardware is recognised and working fine because I can play a midi file and send it to the external sequencer using pmidi, and the E-mu is known to work with linux out-of-the-box, no driver is missing. A start-play signal is nothing more than a few bits of data sent to the midi external device. There's got to be a way to trigger this simple thing by command line.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.