[13:08] <xiaowangwang> hello
[13:08] <xiaowangwang> my name wang
[13:09] <ailo> Hello xiaowangwang, welcome to the ubuntustudio channel.
[13:09] <xiaowangwang> 3q
[13:10] <xiaowangwang> one question is: can i used a usb input keyboard (musical) with the music programs?
[13:11] <ailo> Sure. Most keyboards will work with generic drivers.
[13:13] <ailo> xiaowangwang, Once you plug in the keyboard it should automatically appear as a alsa midi device. You can use qjackctl to route the keyboard to different programs.
[13:14] <ailo> xiaowangwang, Are you thinking of a specific brand of keyboards?
[13:14] <xiaowangwang> are sure?  I am only student.  The usb keyboards for music are near $200
[13:16] <ailo> xiaowangwang, You can check here for different brands: http://www.alsa-project.org/main/index.php/Matrix:Main
[13:17] <ailo> xiaowangwang, Also, if you go to the website of the device you are interested of, see if they mention if the device will work without drivers. If it will work without drivers, it will work on Linux. Because of usb 1.1 standard compliancy.
[13:17] <xiaowangwang> i say thankyou!
[13:18] <ailo> xiaowangwang, no problem
[17:58] <MeraX> Hey, im looking for an option to map the audio of a program with stereo sound to to just one audiooutput (which should not be the jack of the front speakers, but e.g. for the back oder mid speakers)  of my intern 7.1 soundcard.
[18:45] <ailo> MeraX, You want to keep the signal stereo, but only assign to one stereo output? Are you using pulseaudio for this?
[18:45] <MeraX> yes, yes
[18:49] <ailo> MeraX, Are you using Ubuntu Studio? Or regular Ubuntu? Which version?
[18:50] <MeraX> regular Ubuntu lucid
[18:52] <ailo> MeraX, I think all of that should be possible to control from "Sound Preferences", which you find from the volume control
[18:53] <ailo> The tab "hardware", there is "setting for the selected device", right?
[18:54] <ailo> That should be set to stereo, either stereo duplex, or stereo output, whether you want to be able use inputs or not
[18:54] <MeraX> ailo, okay
[18:55] <holstein> theres an advanced pulse thingy
[18:55] <ailo> And in the tab "Output" you should be able to choose between front and back connector
[18:55] <holstein> pavucontrol
[18:55] <holstein> ^ if that is helpful
[18:56] <ailo> holstein, It seems to hold the exact same configurations. I'm thinking that will become obsolete, once we include the volume indicator to Ubuntu Studio
[18:56] <MeraX> i can only choose between Analog Output and Analog Headphones
[18:56] <holstein> ailo: i hope so
[18:56] <ailo> MeraX, I think those should be the two
[18:57] <holstein> might be more integrated in maverick anyways
[18:58] <ailo> MeraX, Just trying myself, I have the same two options, and "headphone" should be the front jack
[18:59] <MeraX> ah, misanderstanding, i dont mead the front jack on pc, i mean the front of 5.1 sourround sound
[19:01] <ailo> MeraX, Ok. But, you should have only stereo after making sure the device is set to stereo. I haven't investigated further, by testing. I assume pulsaudio takes good care of that configuration, so that all applications send their channels to only two outputs.
[19:02] <MeraX> okay, but my aim is to send one application to one output and an other application to an other output. I should have mention this before
[19:03] <ailo> MeraX, Ah, that's a little trickier, at least with pulseaudio, I think.
[19:04] <ailo> MeraX, Did you try jack? What applications will you be using?
[19:04] <MeraX> I want to use two Oracl Virtualboxes
[19:06] <ailo> Two virtualboxes, with each having it's own output.
[19:06] <MeraX> ailo, yes, thats what i want :)
[19:07] <MeraX> ailo, VirtualBox supports Alsa, OSS and Pulse audo drivers
[19:07] <ailo> Ok, I was just installing it again to find out. You don't have two audio cards by any chance?
[19:08] <MeraX> no
[19:10] <ailo> holstein, Have you much experience from pulseaudio - jack?
[19:10] <holstein> pulse-jack
[19:10] <holstein> a little
[19:10] <holstein> MeraX: you could check that out
[19:10] <holstein> a lot of overhead though
[19:11] <holstein> get JACK running on the actual box
[19:11] <holstein> well... that wont get seperate outs though
[19:11] <holstein> from the VM's
[19:11] <ailo> holstein, He would want to route to different pulseaudio outputs. I'm wondering if that can be done using jack.
[19:11] <holstein> MeraX: pulse has networking capabilities
[19:11] <holstein> maybe you could do that
[19:11] <holstein> as if you have 3 seperate boxes
[19:13] <MeraX> okay, howto?
[19:14] <MeraX> would it be much easier if purchase an usb-soudadapter for 4€?
[19:14] <holstein> hmmm
[19:14] <holstein> maybe
[19:14] <holstein> MeraX: i dont do much like that with pulse
[19:14] <holstein> i only know it *can*
[19:14] <holstein> in theory
[19:14] <holstein> has lots of useful networking capabilies
[19:14] <ailo> With pulseaudio at least you can route two applications to different soundcards using pavucontrol.
[19:15] <ailo> That is btw the only difference I see between pavucontrol and "Sound Preferences"
[19:15] <ailo> Other than looks
[19:16] <MeraX> but i cant just send each virtualbox to jack?
[19:16] <holstein> depends on how Vbox is with JACK
[19:16] <holstein> i dont think its going to support it
[19:16] <holstein> as a rule
[19:16] <holstein> pro audio/video is not something to do in VM
[19:16] <MeraX> (20:07:01) MeraX:
[19:16] <MeraX> VirtualBox supports Alsa, OSS and Pulse audo drivers
[19:17] <holstein> so, why have JACK support?
[19:17] <MeraX> yes
[19:17] <holstein> BUT, it might
[19:17] <ailo> Doesn't seem like VB has jack capability.
[19:18] <MeraX> is there a chance to send one virtual box do jack via e.g. OSS ant the other via Pulse?
[19:18] <holstein> i wouldnt think so...
[19:18] <holstein> MeraX: so...
[19:18] <holstein> tell me exactly what you want to do?
[19:18] <holstein> in the most broad sense
[19:19] <holstein> seems like you're comfortable buying hardware if necessary
[19:19] <holstein> thats good
[19:19] <holstein> you might need to...
[19:20] <ailo> Two cards would solve the problem, no doubt.
[19:23] <MeraX> okay I want to have two virtual boxes, each with ubuntu running to play music from varius sources like vlc, rythembox, firefox in them and then to send their signals to a simple external mixer to change between the sources and to have the possibility to listen to the sound of whats playing in firefox via headphones while the sound of the second virtalbox is connected to the big speakers
[19:24] <ailo> MeraX, Why are you using Virtualbox for this?
[19:25] <holstein> yeah, i think i would use just a couple different browsers maybe
[19:25] <holstein> OR multiple VLC instances
[19:25] <holstein> personally, i dont think that use case justifies the overhead of Vbox
[19:26] <holstein> there are several nice DJ setups
[19:26] <holstein> idjc
[19:26] <holstein> ailo: whats the big one?
[19:26] <holstein> mixxx?
[19:26] <holstein> something like that
[19:26] <ailo> I haven't used them myself, but there seems to be a couple of nice ones
[19:27] <holstein> MeraX: i have a few sound cards
[19:27] <holstein> one im thinking of in particular
[19:27] <holstein> presents itself to JACK with 4 outs
[19:27] <holstein> 2 for the main outs
[19:27] <ailo> Jack would be best to use. VLC will work with jack, however, browser is another story. Unless using the pulseaudio jack bridge
[19:27] <holstein> and 2 for the headphones
[19:28] <MeraX> but i was looking especially way to use browsers for mixing
[19:28] <holstein> BUT, it should be easy, in theory, to find soemthing that routes to the headphones for monitoring
[19:28] <holstein> and the main outs for playback
[19:29] <holstein> DJ's do that routinely
[19:29] <holstein> MeraX: you would still have pulse
[19:29] <holstein> pulse has level controls
[19:30] <MeraX> but you say with a second soundcards it would work with pulse and Virtualbox?
[19:30] <holstein> http://www.mixxx.org/
[19:30] <holstein> MeraX: nope
[19:30] <holstein> i say
[19:30] <holstein> in the software
[19:30] <holstein> something easy
[19:30] <holstein> with pulse
[19:30] <holstein> running natively
[19:30] <MeraX> hmm
[19:30] <holstein> where you monitor what is upcoming
[19:30] <holstein> in headphones
[19:30] <azm> I don't get sound in browser in rt kernel + pulse-jack bridge anyone have experience with it ?
[19:31] <holstein> while a 'main' signal
[19:31] <holstein> its pumping out the the 'house'
[19:31] <azm> guess will have to wait tfor falktx
[19:31] <holstein> azm: are you routed properly in JACK?
[19:31] <holstein> azm: is this isolated to the -rt kernel?
[19:31] <ailo> MeraX, I think with two sound cards, you can use pavucontrol to route to two different soundcards, but it's not as handy as using dj mixing software.
[19:31] <holstein> what RT kernel?
[19:31] <holstein> the -rt one from karmic/lucid?
[19:32] <azm> holstein, it isw isolated, Im not sure if IM routed properly
[19:32] <azm> *Im
[19:32] <holstein> azm: SO, with a generic kernel
[19:32] <holstein> all is good?
[19:32] <MeraX> holstein, yeah, im understanding, how you would set it up, i will think about it.
[19:32] <azm> yep
[19:32] <ailo> MeraX, With jack you could route to the different outputs of your soundcard instead
[19:32] <holstein> azm: is the performance increase worth the hassle?
[19:33] <holstein> azm: there was an issue with the pulse-jack bridge and RT
[19:33] <holstein> most folks just use -generic
[19:33] <azm> holstein, I do not have any xruns sofar so yes
[19:33] <holstein> or -lowlatency
[19:33] <holstein> azm: i would suggest trying lowlatency
[19:33] <MeraX> ailo, is there something to route from pulse to jack?
[19:33] <holstein> MeraX: pulse-jack
[19:33] <holstein> BUT
[19:34] <holstein> if your card doesnt present 2 sets of outs to JACK
[19:34] <holstein> you wont get what you need
[19:34] <holstein> AND
[19:34] <holstein> you have the overhead of JACK
[19:34] <holstein> and you really dont need that either
[19:35] <holstein> azm: let me rephrase
[19:35] <holstein> pulse-jack is not supported by the -rt or -realtime kernels
[19:35] <holstein> BUT, -lowlatency should be very similar in quality
[19:35] <azm> well ok
[19:35] <azm> I can try
[19:36] <azm> just not sure if nvidia will work properly
[19:36] <ailo> MeraX, I think you could try using pulse-jack bridge first. On my soundcard there is 6 outputs to choose from
[19:37] <holstein> azm: with -lowlatency?
[19:37] <holstein> -lowlatency is more like -generic
[19:37] <azm> ye, I just installed nvidia for rt with falktx help
[19:37] <holstein> IF the drivers work in -realtime, you should have an better chance in -lowlatency
[19:38] <azm> so Im kinda sad :)
[19:38] <azm> not big deal
[19:38] <azm> I can try now
[19:38] <holstein> nah, its not
[19:38] <azm> and ask him later
[19:38] <holstein> it should be easy to install the drivers with that kernel
[19:38] <holstein> nothing special i mean
[19:40] <MeraX> just one other idea: If im running an application which uses 5.1 surroud sound there are 6 controller to control each of the 6 channels. But if a program only uses stereo there are just 2 of them. So if there is a chance to mixup virtualbox virtually to 5.1, i could mute the front outputs of one and the back outputs of the other virtualbox and every think would be fine
[19:41] <ailo> I guess so
[19:41] <holstein> MeraX: you might want to try mythbuntu forums or the IRC channel
[19:41] <holstein> we dont really deal much with surround here
[19:42] <ailo> Surround is really just a standard way to route to many outputs.
[19:42] <holstein> yeah
[19:42] <holstein> if the outputs are there
[19:42] <holstein> in JACK or pulse
[19:43] <holstein> you should be able to route to them however you want
[19:43] <holstein> still, i think JACK and/or Vbox are way overkill for what you are trying to do
[19:44] <MeraX> i will think about it and figure it out. so thanks a lot for your help.
[19:44] <holstein> MeraX: anytime
[19:44] <holstein> im sure you can find a solution
[19:45] <holstein> probably without having an extra sound card too :)
[19:45] <MeraX> i'm, too, its linux, its free
[19:46] <MeraX> bye