Hi,
After some days browsing for info, it looks like I'm being unable to
tune my IRQs to get my sound card on its own, exclusive IRQ.
I'm using 2.6.21.3-rt9 on Debian Etch now, but:
a) sound card is on IRQ 17 with ehci on IRQ 17 too. Both sound card
(intel hda) and usb are motherboard (NVIDIA CK 804) ones. I'm not
getting xruns, and I was thinking it was quite fine and probably
hardware-related.
b) However, I can not get those nice 255 IRQ vectors even if local apic
and io-apic on uniprocessor are active. I even tried to use debian
kernel configuration as much as possible (on 2.6.18 I get the vectors)
but they seem to be unavailable as soon as I patch the kernel with
Ingo's patch.
So I think now this could be software-related and I would be able to set
IRQs. What's the matter? Could you guys give me some up-to-date pointers?
Thanks
Roman
David Baron:
>This is a Java program. No need to compile it, just run the script
>supplied.
>
> My comments: This does have a fairly simple interface to playing with
> sounds. The parameters portrayed/drawn on these screens are technical,
> however. One can have fun with the program but the pitch of the sound (if
> it has one, you can download farm animal samples from their site :-) ),
> is fixed on these screens. One cannot play a keyboard and compose music with
> this, just assemble series of sounds on multiple tracks (quite handily,
> but still...)
You can do everything in this program, but not in realtime, as you
seems to be used to. This probably stems from the attitude of
electroacoustic composing at the time the program was first made, in 1995.
>An older child that is bent towards playing with synthesis might get into
>this program but when he/she cannot really compose, will doubtless be
>frustrated and leave it behind. It is really not a kids program as such.
>It remains fairly technical.
Yes, it might be frustrating for a person who is very much used to
composing with realtime tools, plug-ins and such. Those were not the
common way to work when this program was first made. However, realtime
tools are not necesarrily allways the best way to work. Non-realtime gives
a bit more relaxed atmosphere of composing, and you have to think more
about what you are doing, thus its also a more pedagogic way to work.
(I worked on a previous version of DSP though, and I made it possible to
tweak the effects in realtime, but this feature did not make it into
DSP02 by the new programmer.)
>The nicest kids program but with enough technical stuff to satisfy adults
>(older kids) as well is Tuxpaint. This has been used/tested in Italian
>schools. Make a music program along these lines that can be used to play
>a real song with all those nice/funny/wierd sounds one concocts (or in
>its paradigm, chooses from a pallete and modifies) and you have
> something!
DSP has been used by school children in norway, england, denmark, sweden
and finland for 12 years. Lots of amazing music has been made with it. It
is not ment to be a toy, but a program where you can make professional
sounding music.
Hello Nigel,
> Ok. Does the usb midi keyboard otherwise work. For example, can you use it
> with ZynAddSubFx. You need to just connect the keyboard to ZynAddSubFx in
> qjackctl's midi connections if your using Etch or Lenny.
It works, if I connect it the first sequencer port of timidity it
plays beautifully.
> Have you tried with an earlier kernel, just in case you have made some error
> with your, roll your own one?
Yes, but that one wasn't realtime. I tried the stock debian 2.6.18
kernel (-4 I believe), same problem. I haven't changed anything to
the kernel except applying the realtime patch, and turning on realtime
preemption and a 1000 hz timer. I turned off paravirtualization, to
get the nvidia graphics driver to work. None of that seems to be the
problem.
> btw. Which Debian version are you using?
Unstable, but my system isn't completely updated at the moment. I can
try doing that, although I doubt it will fix this.
> If you are using KDE, you can use Kmid to check out if the midi is working.
> I've attached a file, if you don't have any midi ones.
The keyboard works with this setup (connected to timidity):
[hein] ~ :-) aconnect -lio
client 0: 'System' [type=kernel]
0 'Timer '
1 'Announce '
Connecting To: 15:0, 128:0
client 14: 'Midi Through' [type=kernel]
0 'Midi Through Port-0'
client 16: 'SBLive! Value [CT4670]' [type=kernel]
0 'EMU10K1 MPU-401 (UART)'
client 17: 'Emu10k1 WaveTable' [type=kernel]
0 'Emu10k1 Port 0 '
1 'Emu10k1 Port 1 '
2 'Emu10k1 Port 2 '
3 'Emu10k1 Port 3 '
client 20: 'MK-225C USB MIDI keyboard' [type=kernel]
0 'MK-225C USB MIDI keyboard MIDI '
Connecting To: 129:0
client 129: 'TiMidity' [type=user]
0 'TiMidity port 0 '
Connected From: 20:0
1 'TiMidity port 1 '
2 'TiMidity port 2 '
3 'TiMidity port 3 '
If I connect it to the first emu10k1 port: dead silence
[hein] ~ :-) aconnect -lio
client 0: 'System' [type=kernel]
0 'Timer '
1 'Announce '
Connecting To: 15:0, 128:0
client 14: 'Midi Through' [type=kernel]
0 'Midi Through Port-0'
client 16: 'SBLive! Value [CT4670]' [type=kernel]
0 'EMU10K1 MPU-401 (UART)'
client 17: 'Emu10k1 WaveTable' [type=kernel]
0 'Emu10k1 Port 0 '
Connected From: 20:0
1 'Emu10k1 Port 1 '
2 'Emu10k1 Port 2 '
3 'Emu10k1 Port 3 '
client 20: 'MK-225C USB MIDI keyboard' [type=kernel]
0 'MK-225C USB MIDI keyboard MIDI '
Connecting To: 17:0
client 129: 'TiMidity' [type=user]
0 'TiMidity port 0 '
1 'TiMidity port 1 '
2 'TiMidity port 2 '
3 'TiMidity port 3 '
> aplaymidi -p 65:0 robert_miles_-_children.mid
works with 129:0 (timitidy), dead silence with 16:0, 17:0, 17:1, 17:2
and 17:3.
It almost HAS to be something really stupid. Does the sound font
matter? I've tried both 8mbgmsfx.sf2 (I got that off internet, as I
don't have the sblive cd, and the friend who gave the card to me lost
it) and PC51f.sf2 (also from internet). Is it possible I'm using the
wrong soundfont? asfxload doesn't show any errors, and
/proc/asound/card0/wavetableD1 seems to indicate that the font is
loaded correctly.
Perhaps a mixer issue I'm not seeing? The "Synth" channel is full open.
Thanks for your input,
Hein Zelle
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<
Hein Zelle hein(a)icce.rug.nl
http://www.icce.rug.nl/~hein
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<
Dragan Noveski:
>Subject: Re: [LAU] Announde: DSP02 - Music composition software for
> children
>im i doing something wrong - the appi does not starts here?
>
>console:
>
>nowhiskey@murija2:~/software/nove/dsp/dsp_linux$ ./DSP02.sh
>Preparing to start DSP02
>Setting up classpath
>Launching DSP02
>DSP02 ver.1.1.1 (application)
>1. Jun 07 2:43:16
I think you need java 5 to run this program.
Hello list,
I'm new to audio recording, and have a couple of unsolved questions
after getting my basic setup working. I've searched the archives
using google (is there a list-specific search somewhere?), but haven't
found a solution. I'm currently using
- pc with sblive! soundcard
- 2.6.20-rt8 kernel, by patching stock debian kernel 2.6.20
- external evolution usb midi keyboard
- external 4-channel mixer
- timidity as a soft-synth
- ardour 2.0 for audio recording
- rosegarden for midi recording.
- jack + qjackctl to connect it all
All that seems to work reasonably well, and since the realtime kernel
there are no noticeable latency problems. I do get the occasional
xrun (about once every 5 minutes or so) but it hasn't been
bothersome.
The thing I cannot get to work is midi playing through the sblive
soundcard. I've followed countless howto's, yet all I get is dead
silence. The card works for normal audio, all modules including
snd_emu10k1_synth and snd_emux_synth. I've tried loading the
soundfont like so
aweset -v init -> initializing AWE chip
asfxload 8mbgmsfx.sf2
It seems to work if I inspect /proc/asound/card0/wavetableD1:
Device: Emu10k1
Ports: 4
Addresses: 17:0 17:1 17:2 17:3
Use Counter: 1
Max Voices: 64
Allocated Voices: 61
Memory Size: 134217728
Memory Available: 126721308
Allocated Blocks: 528
SoundFonts: 1
Instruments: 1849
Samples: 526
Locked Instruments: 1849
Locked Samples: 526
But all that comes out is dead silence, wether I route the keyboard to
the soundcard or try through rosegarden. Here's the output of
aconnect -lio just after loading the soundfont:
client 0: 'System' [type=kernel]
0 'Timer '
1 'Announce '
Connecting To: 15:0
client 14: 'Midi Through' [type=kernel]
0 'Midi Through Port-0'
client 16: 'SBLive! Value [CT4670]' [type=kernel]
0 'EMU10K1 MPU-401 (UART)'
client 17: 'Emu10k1 WaveTable' [type=kernel]
0 'Emu10k1 Port 0 '
1 'Emu10k1 Port 1 '
2 'Emu10k1 Port 2 '
3 'Emu10k1 Port 3 '
client 20: 'MK-225C USB MIDI keyboard' [type=kernel]
0 'MK-225C USB MIDI keyboard MIDI '
I've tried to connect 20:0 to 16:0, and also to 17:0,1,2,3, to no
avail. What should I be connecting? Any other hints as to why my
sblive card won't play midi?
Here's the output of lspci -v:
00:0d.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 04)
Subsystem: Creative Labs CT4850 SBLive! Value
Flags: bus master, medium devsel, latency 32, IRQ 17
I/O ports at a400 [size=32]
Capabilities: [dc] Power Management version 1
Any help will be much appreciated.
Kind regards,
Hein Zelle
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<
Hein Zelle hein(a)icce.rug.nl
http://www.icce.rug.nl/~hein
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<
I noticed Fedora 7 (no longer 'core') was released last week... has
anyone taken the plunge yet? :-)
-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
If I were to divulge it, it would overturn the world."
-- Jelaleddin Rumi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have just gotten the news that I've got another live show to play on May 19th.
If things go well, instead of borrowing the guitar player's Korg Triton (as I had to do for the last show), I will be playing my new Linux laptop.
I want to plant a huge Tux sticker right in the center of the laptop cover. It's a barebones so it has no markings of its own; I get to put on my own. I've seen a logo of Tux wearing headphones too, which I'd like to find.
Where might I purchase stickers of this type, suitable for laptop application? I want to stand up and be proud, and "represent", as the young folks say these days.
- -ken
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFGMpYee8HF+6xeOIcRAr75AJ9YdXApEGBeIfFBR3kKucdW1zQF/ACg2Fl6
amv3MV71RU3cQzsUxeFrrjs=
=rMWz
-----END PGP SIGNATURE-----
Wow :)
Thanks everybody for posting on this. Morale boost and food for thought
indeed.
I'm gonna try a couple of things (proposed .asoundrc and most
importantly the JACK solution) and I'm gonna get back to you..
Thanks very much mr. Adriaensen for the PDF..
So, all you guys agree that the 'unable to install hw params' dreadful
error message will not be a showstopper for the proposed JACK solution?
I mean, people have told me that pulseaudio would work despite the
aforementioned behaviour in straight ALSA, but it didn't..
Anyways, gonna try it whatever..
Again, thanks very much and i'll keep you updated
Cheers,
Nikos Sarakenidis
Athens, Greece