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