Programming :: Write MIDI Driver / Interfacing With Linux MIDI
Jul 31, 2011
I am building a midi synthesizer that I'd like to be able to control from linux. I know its a rather broad question, but, how do I go about this? At this point the hardware consists of a simple UART bridge, and I've already written a simple C++ program using termios to send the raw midi data to the device. Obviously I don't want to write a player/sequencer from scratch, so where should I start if I wanted to get this thing to work with, say, a sequencer like rosegarden? Do I write the driver for rosegarden, or hook into alsa or what?
View 1 Replies
ADVERTISEMENT
May 11, 2011
I would like to know if it is possibile to have support for wi-fi midi support in linux.
View 1 Replies
View Related
Jul 15, 2011
Does anyone know of any good .mp3 to .midi converters out there that are free and for Linux?
View 9 Replies
View Related
Mar 13, 2010
I've just configured midi to work on OpenSuse 11.2, using the configuration instructions here.
When I play a midi file, all other sound on the system is knocked out and is unusable until I reboot. No idea how to start trouble shooting.
View 1 Replies
View Related
Mar 14, 2010
Been searching around about this for ages, got a .mid exported from rosegarden (which is an awesome program). Need to make it an MP3 or OGG or any kind of standard audio file. With Timidity: I'm using version 2.13.2. Found this advice: [URl]... Isn't it awesome and clear and well put together? If your wondering yes the file will play for me from Timidity and I can hear it fine. Problem is there's no "Config" on my version. Closest thing is when i click file and save config. Normal click doesn't open the menu, gotta click and hold, which i do, then drag the cursor down to where i want it and release, nothing happened. It also said meta + S would open it, that's super/windows key + S, right? No luck.
Anyone know a comandline way of doing it? I found a list of commands for it here but it's probably grossly out of date: [URL]...y/timidity.txt and i couldn't find anything about saving. With Audacity:
Apparently you can use Audacity to record the output of the sound card directly. However I can't seem to figure out how to set this. It says in the into there's a preferences drop down next to the mixer thingy, maybe i'm blind but I can't find it anywhere.
View 9 Replies
View Related
Jun 4, 2010
I have been researching this for a few days and I am getting nowhere. All I want to do is play midi files in Ubuntu 10.04 and also in Firefox. If I install, for ex. Rosegarden it will play the midi but without sound.I have timidity installed as well as mozplugger. From the start midis partially work in Totem, but the sound is far from right.
I never had this much of an issue with midi before, really starting to irritate me.Is this a pulseaudio issue? I really don't feel like playing around with jack either, never have luck with it. It seems that installing timidty should have allowed me to play midi files on my computer.
View 1 Replies
View Related
Oct 10, 2010
Currently enjoying TuxGuitar, but I was wondering if there is a way to use some sort of Creative Commons drum kit samples instead of the current MIDI drums. Also would like to use some sort of synth or samples for guitars. I have looked for tutorials on this, but have not found anything yet.
View 2 Replies
View Related
Dec 10, 2010
Only place where i need midi is mainly when using Tuxguitar. I tried tuxguitars settings, but it shows only tuxguitar sequencer and midi-through port 0. Haven't done this before so i really don't know where to start from..?
View 2 Replies
View Related
Mar 4, 2011
I installed a minimal Ubuntu install, and I can't get my MIDI to work. I have timidity installed, alsa-utils, freepats, jackd, and jackd2 installed. As for my sound card:
Code:
me@lappy486:~$ lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
View 4 Replies
View Related
Feb 8, 2010
I am trying to hook up an external MIDI keyboard to Ubuntu (Studio) with no success. I can play MIDI files but not get the s/w to reguster any events from the MIDI keyboard. I have a soundblaster LIve! with front panel and am usng the MIDI in on this, with a ROland PC-300 kybd. Headphones work fine on the panel so I know this has been connected OK. The software (Rosegarden) 'sees' the keyboard as in input device but nothing happens when I play.
View 3 Replies
View Related
Jul 18, 2010
I just bought an M-Audio Keystation 49e off of craigslist and I'm at a bit of a loss on where to start to use it as an input device for muse or rosegarden.
Distro: Debian Lenny
Kernel: 2.6.26-2-686
Laptop: Compaq V5305WM
Everything seems setup, but I'm at a loss on how to use it in the applications. It doesn't have any sound synthesis abilities on the keyboard, it's just an input device. Without the keyboard I usually go this route:
jackd -R -d alsa &
timidity -Oj -iA &
rosegarden
And midi events output sounds and all that jazz. I'm wanting to input notes / record from the keyboard. But still output all sounds in the aforementioned manner. If I could get those to happen while I record that would help a bunch. Maybe it's just too late in the day for me to wrap my brain around it at the moment.
[Code]...
View 7 Replies
View Related
Mar 23, 2010
MIDI does not work in GNU/Linux.It doesn't work, due to the fact that the only free soundfont I've come across.I've searched around a lot and come up with nothing, any ideas?the only solution is to pay for a soundfont, then fine, just tell me the name of a soundfont that will work without any hacking and/or modification or patches with Timidity.If not even a (payware) soundfont like that exists -- if my only option is to buy something else than Timidity, that comes with its own proprietary soundfont, then please tell me the name of that, I'm tired of this.
View 6 Replies
View Related
Nov 22, 2009
Trying to convert a midi file I created in Rosegarden into a wav file using Sound Converter. Snd Cnvrtr wants to load some gstreamer "bad" plugins, but they end up conflicting with "good" plugins and "ugly' plugins that had been loaded in the kernel (I think). Thought I might remove gstreamer and load up the "bad" plugins, but that meant removing a huge chunk of programming including Snd Cnvrtr. Anyone got any idea how I might do the conversion apart from Snd Cnvrtr? Either that or how I might get hold of the appropriate plugins to allow the midi to wav conversion to take place?
View 1 Replies
View Related
Jun 14, 2011
I am a simple musician who bought a laptop that didn't have windows, nor can I afford a Windows license (being a proper poor musician and all). I have an M-Audio KeyRig 49 midi controller that I would like to get some sound out of. How might I do this? I have jack, qjackctl, qsynth, et al but forget qsynth... I can't even get jack to start! I just need to hook this thing up to a piano sample and I'll be happy as anything. I understand that system information can be useful so here goes: Running F14... here are the jack messages (btw, ctrl C does not work when trying to copy from the jack messages window, despite the contextual menu saying it should. That sucks. where do I submit a bug?)
01:51:22.730 Patchbay deactivated.
01:51:22.745 Statistics reset.
01:51:22.799 ALSA connection change.
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
01:51:22.811 ALSA connection graph change.
01:51:24.191 JACK is starting...
01:51:24.192 /usr/bin/jackd -dalsa -dhw:0 -r48000 -p1024 -n2 -Xseq
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket .....
I have already seen the Fedora Musician's Guide [URL] which is long on theory but short on practical how-to documentation. Is there a better doc I can look at? Do I need to download some special drivers to get this midi interface working? If I plug this thing in to my friend's Mac and run GarageBand, it 'just works' (though GB's piano samples are fairly horrific considering how expensive macs are.) I already own some decent soundfonts but without working jack it seems they aren't much use.
View 11 Replies
View Related
Dec 30, 2010
I'm running Ubuntu 10.04 with the Kubuntu desktop environment. I'm trying to use my MIDI keyboard through ALSA, Linuxsampler and Qsampler. But I still haven't got a sound out of it, and I fear that the information about the existence of the keyboard doesn't get through. That, or I don't know how to configure properly.
In sndstat, both my sound card (Guitar Rig) and my keyboard (Hua Xing) is showing up:
Quote:
cerapter@Ancalagon:~$ cat /dev/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.21 emulation code)
Kernel: Linux Ancalagon 2.6.32-26-generic #48-Ubuntu SMP Wed Nov 24 10:14:11 UTC 2010 x86_64
Config options: 0
[Code].....
View 1 Replies
View Related
Apr 25, 2011
I am looking for a software that would allow me to build rhythms, adding one percussion sound after another. Ideally, it should be possible to connect it to external MIDI device for recording and playing back the recorded notes.This would go something like this: I set up a rhythm, say, 4/4, and I hear metronome sound that hints about the pace. I have a percussion voice selected on my synth, and whenever I press a key on the keyboard, that sound is recorded on my PC, registering it's position in the pattern. PC is repeatedly playing back the recorded sequence, so I can enrich the beat with more and more instruments. When the job is done, I'd save the created sequence in MID file, and use it later.
I have installed Rosegarden on my Ubuntu, and it might well be that it has such mode that does exactly what I'm looking for, but since Rosegarden doesn't seem to have official forum (only newslist, but I am now reluctant to sign me up to just another newslist), I wanted to check in this forum, maybe someone knows right away. At least, I have succeeded playing MID files via Rosegarden to my synth,and recording from synth to the Rosegarden interface, and save the result in MID file.
View 2 Replies
View Related
May 10, 2011
I would like to know how I can play a midi file in Slackware command line. I write "aplaymidi -p (port number) file.mid" and I see that it is working, but I can't hear anything. As I have Windows XP in a computer and Windows 7 in another, I have to convert the midi files into wave files in order to listen to them in Slackware using play. There is another thing that I haven't ever been able to do in spite of the fact that I have had Slackware installed in my computers since 2002, and this thing is: I have never been able to connect Internet using Slackware or any other Linux distribuition. I like Linux very much but I am frustrated at not being able to do these two things: to play a midi file in Slackware and to connect Internet.
View 6 Replies
View Related
Apr 15, 2010
Is it possible to rename a midi port in alsa? My USB midi keyboard defaults to:
Code:
Dir Device Name
IO hw:1,0,0 USB Axiom 61 MIDI 1
I hw:1,0,1 USB Axiom 61 MIDI 2
but I'd like to rename the ports to something more concise like:
Code:
Dir Device Name
IO hw:1,0,0 AxMIDI1
I hw:1,0,1 AxMIDI2
The reason is that I'm using a windows midi application through wine in Ubuntu Studio 9.10 and for some reason both ports get truncated to "USB Axiom 61" in winecfg (which means that the app cannot differentiate between input & output).
View 4 Replies
View Related
Jun 5, 2010
I am trying to use Rosegarden but it does not see any midi ports. If I run LMMS it is able to see 20:UA-4F and 14:Midi Through. Jack sees them too. Furthermore, Rosegarden's transport does not even start, no synths availble. How to set rosegarden? (I am using Ubuntu 10.04 LTS - the Lucid Lynx)
View 1 Replies
View Related
Mar 18, 2011
I need an FM transmitter (with RDS support) that can be controlled via the linux kernel, preferably connected via USB.
Recommend a good programmable USB-based FM transmitter?
I have investigated an architecture with i2c-tiny-usb interfaced with a Silicon Labs si4713, but the additional circuitry to get it to work it too much. (I'm not an electronics engineer).
View 3 Replies
View Related
Feb 20, 2010
I have a problem playing MIDI files on my system: I tried opening two MIDI files in Audacious, VLC, Aqualung and Rhythmbox, and Rhythmbox is the only one that will play them:
- Audacious crashes when clicking on the file in the playlist (immediately disappears)
- Aqualung doesn't add them to its playlist
- VLC produces an error msg saying it can't play MIDI
- Rhythmbox plays a MIDI file and immediately crashes at its end
I'm on Ubuntu Karmic 64 and have timidity installed.
View 7 Replies
View Related
Mar 27, 2010
I'm running Ubuntu 9.10 rt (realtime) kernel on a Dell box and trying to hook it up to a Yamaha P-80 keyboard. I'm not sure how to figure out what kind of MIDI cable I'm using. But I haven't been able to get the keyboard to play or write music on my Ubuntu or on Windows XP.
1.) How can I give you more information about my system?
2.) How can I test if it's working properly?
View 3 Replies
View Related
Mar 27, 2010
I have a few things working now, so all I need to know is a good way to record the music you play from Virtual Keyboard. I've tried Audacity to do this, but it never works correctly.
View 6 Replies
View Related
Mar 31, 2010
I'm looking for info on setting up a piano type usb keyboard (also called midi controller?) in ubuntu. Any of the references I have found cite alsa, and I'm assuming they won't work with pulse. Also I'm sort of stalling on purchasing said keyboard until I feel there's a reasonable probability of it working. Here's a reference with alsa [URL].
View 1 Replies
View Related
Apr 27, 2010
How to play a MIDI file, or a .mid file, <embed>ded in a Web page from my Ubuntu/Firefox combination?
View 1 Replies
View Related
May 21, 2010
Question moved to the Studio area as I didn't know about it!
View 1 Replies
View Related
Jun 26, 2010
I'm not sure what the technical term for the thing that creates midi sounds. Is it the midi sequencer? or midi driver?Regardless, I'm unhappy with the tones ubuntu produces for its drum midis. Does any one know how to change which tones it uses? I use lilypond to write percussion music and it can be easily translated into a midi file. I like to do this so that I can hear how the music sounds in real life and many mistakes.Unfortunately the toms are painfully low and hard to distinguish.
View 2 Replies
View Related
Jul 27, 2010
As an arranger of collegiate a cappella music, I often times need to listen to a song as I'm playing with a midi sequencer or some arranging software. On Ubuntu, since Gutsy, I've often run into the same problem from distribution to distribution:
Midi and audio won't work at the same time. If I have an audio file open on VLC or FireFox, I can't play Midi sequences on my arrangement. If I'm arranging and listening to Midi notes, I can't play music. Note that it's incredibly inconvenient to constantly close one so I can play the other to finish arrangements.
View 3 Replies
View Related
Feb 27, 2011
I just installed the MIDI Virtual Keyboard from the Software centre.Problem is when I hit the keys there's no sound at all.
Please tell me what I'm doing wrong? or if I need to add some other package to make this work?
View 3 Replies
View Related
Feb 3, 2010
I am trying to sync up my Yamaha AW4416 daw to ubuntu studio 9.10 in order to use drum and midi sounds. I have tried using MTC and midi clock slave and master but to no avail.I am using an Edirol UA-25 usb soundcard with the advance switch on to enable midi.
View 1 Replies
View Related