Ok, I admit it; I cannot figure out how to setup ALSA :-)
I *did* read alot of examples (on the ALSA wiki, in the evolution USB
MIDI Howto and the asoundrc.txt included with ALSA 0.9.6). Although I
think I understand the examples, I can't produce a working .asoundrc
myself. So much for the appologies, hope someone would be kind enough to
help me create a config file that would enable me to get midi into the
system. I'd also appreciate some pointers to relevant reading where the
concepts in ALSA are explained.
So far I compiled all relevant ALSA modules in the kernel (2.6.0-test3),
including emulation of OSS mixer, pcm and seq. Now sound is working
almost fine (PD doesn't love using the ALSA output, but csound, play,
xmms and alsaplayer works flawlessly). But I cannot make *any* program
recieve midi from the Evolution USB keyboard. I can't even get a reading
in either pd or aseqview. I run debian/unstable so there's no such thing
as /etc/modules.conf. It's was /etc/modutils/alsa, but now I moved it
out of the way. Instead I figured I'd start with ~/.asoundrc, since I
believe they should be the same. So for now, no config file is present.
Here's what aconnect -io says with the keyboard plugged in:
client 0: 'System' [type=kernel]
0 'Timer '
1 'Announce '
client 72: 'Rawmidi 1 - MK-249C USB MIDI keyboard' [type=kernel]
0 'MK-249C USB MIDI keyboard Port '
Thought that connecting the > of 'Rawmidi 1 - MK-249C USB MIDI keyboard'
to < of 'MIDI Viewer - Viewer port 0' in aconnectgui would result in
readings in aseqview, but no :-( Also tried to connect the < og the
keyboard to > of the viewer, same result.
Here's what shows up in /var/log/messages when I plug in the Evolution:
Aug 13 23:37:05 aarhus kernel: hub 3-0:0: new USB device on port 2,
assigned address 6
Aug 13 23:37:05 aarhus usb.agent[1420]: ... no modules for USB product
a4d/8e/252
Aug 13 23:37:05 aarhus kernel: usbaudio: device 6 audiocontrol interface
0 interface 1 MIDIStreaming not supported
Aug 13 23:37:05 aarhus kernel: usbaudio: device 6 audiocontrol interface
0 has 0 input and 0 output AudioStreaming interfaces
Aug 13 23:37:05 aarhus kernel: usb-midi: Found MIDISTREAMING on dev
0a4d:008e, iface 1
Aug 13 23:37:05 aarhus usb.agent[1438]: ... no modules for USB product
a4d/8e/252
Aug 13 23:37:05 aarhus kernel: usb-midi: Found MIDIStreaming device
corresponding to Release 1.00 of spec.
Aug 13 23:37:05 aarhus kernel: usb-midi: Found IN Jack 0x01 EMBEDDED
Aug 13 23:37:05 aarhus kernel: usb-midi: Found IN Jack 0x02 EXTERNAL
Aug 13 23:37:05 aarhus kernel: usb-midi: Found OUT Jack 0x03 EMBEDDED, 1
pins
Aug 13 23:37:05 aarhus kernel: usb-midi: Found OUT Jack 0x04 EXTERNAL, 1
pins
Aug 13 23:37:05 aarhus kernel: usb-midi: fetchString(2)
Aug 13 23:37:05 aarhus kernel: usb-midi: fetchString = 25
Aug 13 23:37:05 aarhus kernel: usbmidi: found [ MK-249C USB MIDI
keyboard ] (0x0a4d:0x008e), attached:
Aug 13 23:37:05 aarhus kernel: usbmidi: /dev/midi00: in (ep:81 cid: 0
bufsiz: 0) out (ep:02 cid: 0 bufsiz:64)
Here's some of the stuff I get from looking around in /proc:
[atte@aarhus atte]$ cat /proc/asound/devices
1: : sequencer
0: [0- 0]: ctl
16: [0- 0]: digital audio playback
24: [0- 0]: digital audio capture
33: : timer
32: [1- 0]: ctl
40: [1- 0]: raw midi
[atte@aarhus atte]$ cat /proc/asound/cards
0 [SI7012 ]: ICH - SiS SI7012
SiS SI7012 at 0xdc00, irq 10
1 [keyboard ]: USB-Audio - MK-249C USB MIDI keyboard
Evolution Electronics Ltd. MK-249C USB MIDI
keyboard at usb-0000:00:03.1-2
[atte@aarhus atte]$ ll /proc/asound/card0/
total 0
-r--r--r-- 1 root root 0 2003-08-13 23:41 ac97#0
-r--r--r-- 1 root root 0 2003-08-13 23:41 ac97#0regs
-r--r--r-- 1 root root 0 2003-08-13 23:41 ac97#1-1
-r--r--r-- 1 root root 0 2003-08-13 23:41 ac97#1-1regs
-r--r--r-- 1 root root 0 2003-08-13 23:41 id
-r--r--r-- 1 root root 0 2003-08-13 23:41 intel8x0
-rw-r--r-- 1 root root 0 2003-08-13 23:41 oss_mixer
dr-xr-xr-x 3 root root 0 2003-08-13 23:41 pcm0c
dr-xr-xr-x 3 root root 0 2003-08-13 23:41 pcm0p
[atte@aarhus atte]$ ll /proc/asound/card1/
total 0
-r--r--r-- 1 root root 0 2003-08-13 23:42 id
-r--r--r-- 1 root root 0 2003-08-13 23:42 midi0
-rw-r--r-- 1 root root 0 2003-08-13 23:42 oss_mixer
--
peace, love & harmony
Atte
Looking for point to point telephony ideas ...
- each end has a half-duplex sound card, Linux/OSS and mic/speaker,
- maximum bandwidth is 28800 bps, outback Australia analog lines,
- Debian is preferred distribution, but we can cope with builds,
While I could spend a few weeks researching all the packages that
mention "phone" or "H.323" or "SIP", I'd rather ask some experts who
have tried it already, so as to use my time wisely.
I have looked already at speakfreely, linphone, and speex. speakfreely
appears to be reasonably complete, but not easy to use. linphone had a
host of dependencies that I was unable to resolve. speex as an encoder
and decoder works really well on voice recordings, but I've no idea yet
if it will help.
I have found the OpenH323 project, but the clients listed on their page
are all Windows.
Reply direct to me; I realise that the list is primarily focussed on
higher quality sound than mere telephony. ;-)
--
James Cameron mailto:quozl@us.netrek.org http://quozl.netrek.org/
Hi!
gmorgan is a .. Rhythm Station, an organ with auto-accompaniment and a "small"
Band in a Linux Box. Uses MIDI and the ALSA sequencer for play the rhythm
patterns. Styles, patterns , sounds, and the mixer settings, can be edited
and saved.
Program is released GNU/GPL version 2.
v0.12 (14/08/2003)
-----------------
- Main windows resizables.
- Added Patterns & Skins.
- Added two accompaniment sections Acc4, Acc5.
- !! Pattern File format changed !!
- Solved bug generating Midi Files.
- Enlarged maximum length of patterns to 8 bars.
- Solved bug on sequencer that causes segfault.
- Look "normalized" in all the windows, thanks to Guy Daniel Clotilde.
REQUERIMENTS
--------------------------
Linux
ALSA
Fltk
Midi Keyboard (Optional).
Available in:
http://personal.telefonica.terra.es/web/soudfontcombi/http://www.telefonica.net/web/soudfontcombi/http://perso.wanadoo.fr/guy.clotilde/GMORGAN/index.html
Grettings
Josep
Hello -
I'm writing an article on Linux as an OS for audio production. I was
wondering if I could take a poll of what people think is the best and the
worst Linux audio software. I'm looking for sequencers, audio editors,
software synthesizers and samplers. Not really looking for CD burning
software or MP3 players.
Please reply directly to: soulsource(a)cox.net
Thanks...
-- N
Hi
I just installed kernel 2.6.0-test3 on my laptop. I looked around in
/proc and saw all kinds of promissing things showing up there.
/var/log/messages even showed my Evolution USB keyboard. Very nice. But
since I'm fairly new to the kernel2.6.0/build-in-ALSA I'm hoping for
some pointers just to get started.
1) I didn't do any configuration of ALSA. Is that needed? If so how do I
do it now that ALSA is compiled in?
2) Where can I expect my devices to show up? For now I have an onboard
soundcard (i810) and the Evolution keyboard. I would like to route the
incomming midi to csound, but later also to either Muse or Rosegarden4.
Is that a matter of having the softsynth or sequencer read from
/dev/midi00 (or somthing like that)? And do I simply tell the sound
generating software to direct its output to the appropriate device, say
/dev/audio?
3) I noticed somethiing jack showing up. Is jack supported? If so, to
what extend?
4) What would be a nice program use for figuring out what midi-events
the knobs on the Evolution sends?
Hope some of you could find the time to either explain me a bit or send
me in direction of some useful documentation. Thanks in advance.
--
peace, love & harmony
Atte
Hi all
I believe this question is an old one, but can someone show me the best way to find the ideal size an number of audio buffers of my sound card.
I have read lot of web pages on this subject, but I didn't understand everything, although I use linux audio apps for years now. I always end trying one by one the values until I found an acceptable one (for example, the fluidsynth configuration). The problem is, each time I had to use another PC, I don't know how to quickly find this values.
I remember years ago, Cubase was testing the sound card to find the best values (something about ASIO drivers).
Is there a Linux app that can deduce this values?
regards
GuyCLO~
-----------------------------------------------
#219055 http://counter.li.org
-----------------------------------------------
http://perso.wanadoo.fr/guy.clotilde/index.html
-----------------------------------------------
Change your Linux PC in a Rythm Station with holborn's GMORGAN:
http://perso.wanadoo.fr/guy.clotilde/GMORGAN/index.html
-----------------------------------------------
Hello all,
I received the RME HDSP Digiface PCI card I'd ordered, but for some
reason they only sent (and charged me for) one of the two Frontier
Tango24 8-channel A/D-D/A convertors I'd requested. So, this got me
thinking "maybe I only need 8 channels of I/O, and can do the rest in
Ardour".
Many musician friends using Macs say they do most of their stuff in the
computer nowadays. One guy said he'd probably not even have a mixer,
just preamps, although how would you do headphone monitor mixes?
I was wondering what people's opinions are on this:
Should I get the other Tango24 while they're still going cheap,
or spend the 300 pounds elsewhere?
A long-term glint-in-the-eye idea was to one day get a CLM DB8000S:
http://www.clmdynamics.com/db8000_frame.htm
...8-channel M&S-mic-pre/limiter/A-D for input to the HDSP, so giving
16in/8out, or 24in/16out with a pair of Tango24s. But is this amount
of channels overkill for a project studio? I won't have even eight mics
for some time yet, although I will eventually need to be mixing lots of
recorded tracks.
I'm also wondering that mixing like this:
Ardour tracks--> D/A--> mixer+FX--> A/D--> Ardour--> D/A--> monitors
...seems rather convoluted; would it compromise quality or sync (comb
filter effects, etc.) to be adding the extra A/D conversions? But I
suppose that's how everyone records to ADAT machines with analogue
desks.
However, If I can do more stuff internally in Ardour, that's good.
Trouble with that is, that I would miss the hands-on twistability of
an analogue console where each channel's parameters are laid out for
the tweaking. Can Ardour be used to route FX sends out of one ADAT
channel directly to analogue outboard, then back in again?
I don't even have a mixer yet, nor proper monitors, although the recent
'how to build a studio' thread helped lots:
http://eca.cx/lau/2003/06/0170.html
What I'd really like is a simple fader box with 16 or 24 moving faders,
and little else, to save my mouse-miles when mixing. But all the control
surfaces I've seen are either way too complicated (with lock-in unfree
software) or don't have moving faders.
Any ideas without spending $20,000 on a digital desk?
Malc