phaidros | just as short question, maybe someone knows: how can I enable pulseaudio to keep on playing, even when switching to another user ? (12.04) | 07:44 |
---|---|---|
ailo | phaidros: I haven't investigated this. It seems it is configured for one user session only | 07:45 |
ailo | You want to play music with one user, and then switch to another user to do something else? | 07:48 |
phaidros | ailo: exactly, and I want the sound to not stop .. as this is really annoying when switching back and forth :) | 07:49 |
phaidros | afaik one could configure pulse as a system service, but there should be a way to do that on a user level .. | 07:50 |
phaidros | any ideas? | 07:54 |
ailo | phaidros: I just tried doing this in Debian, and it worked (all though it says during boot something about "per user session" for PA) | 07:55 |
ailo | phaidros: At which point is audio stopped? When you switch to the login screen, or when you login with the new user? | 07:56 |
ailo | I'm on Debian Wheezy which is in many ways quite similar to 12.04 | 07:56 |
ailo | I did make sure the new user is apart of "audio" groups | 07:57 |
ailo | I could try without it | 07:57 |
phaidros | ailo: sound stops as soon as I see the login screen | 07:57 |
ailo | Ok, so then it is a config thing | 07:57 |
phaidros | both users here are group audio, as both can play sound .. just not continuously the same sound :D | 07:58 |
phaidros | any idea where that might be configured? | 07:58 |
ailo | The audio group is actually not important for PA | 08:01 |
ailo | Or, I don't think so anyway | 08:01 |
ailo | It is needed to get realtime privilige though | 08:01 |
ailo | There's some confusion on that. It seems audio groups is used for two different things or something | 08:02 |
phaidros | ailo: realtime is only granted when adjusting so in /etc/sysctl.conf (e.g. for group audio) .. so it is not directly related to the audio group in general (imho) | 08:03 |
phaidros | afaics the membership of group audio grants access to the sound system | 08:04 |
phaidros | tho, both is no issue here. I still wonder where the "session" is configured and that it "stops" (or better pauses) when switching to a login screen | 08:04 |
ailo | phaidros: You can't have access to realtime with jack, if you're not a member of audio group | 08:06 |
ailo | While PA is supposed to use another method | 08:06 |
ailo | On Ubuntustudio, you become a member by default, for the first user | 08:07 |
ailo | But the second will lack membership to some groups, as well as audio group | 08:08 |
ailo | phaidros: There are some setting files for PA at /etc/pulse/* | 08:08 |
ailo | I don't know much about how pulse is configured, but I guess google is a friend | 08:09 |
ailo | pulse is a member of audio group, but to use pulse you should not need to be | 08:09 |
phaidros | ailo: yeah, /etc/pulse is a way, but that is a global pulse server .. tho, I am looking for a way to configure that with pulse as it is running ootb | 08:11 |
ailo | They are global settings for PA, not for a global server | 08:13 |
ailo | If you make settings in /etc/pulse, they affect all users, not only one | 08:13 |
ailo | Let me make a diff between ubuntustudio and debian to find out what the difference is | 08:14 |
phaidros | thanx! | 08:15 |
phaidros | ailo: any hints? | 08:25 |
ailo | phaidros: I only have one clue. I will try change the setting, and see what happens | 08:26 |
ailo | bbs | 08:26 |
ailo | phaidros: Ok, so I think I may have found it | 08:31 |
ailo | Wait, let me try one more thing | 08:31 |
ailo | phaidros: I just tried switching users on Ubuntu Studio, and that worked too | 08:44 |
ailo | phaidros: Perhaps this only happens when you start a flash players stream? | 08:44 |
ailo | I read something about playing flash has worked before, when switching users, but it's not only audio. Also video, so that is interrupted as soon as you get to login screen | 08:46 |
ailo | With audio files on hard disk, I don't have this problem. They keep playing | 08:46 |
ailo | Ok, gotta go. Hope things get sorted out | 08:47 |
studio-user087 | hola | 13:29 |
dutchie | hey | 17:49 |
dutchie | not actually an ubuntu studio install per se, but i've got ubuntustudio-audio installed on my vanilla 12.04 install and i'm having jack issues | 17:50 |
dutchie | mainly that there is no system output in patchage or the qjackctl patcher thingy | 17:50 |
dutchie | i tried installing pulseaudio-module-jack, but that didn't seem to help | 17:50 |
holstein | dutchie: no output from what? | 17:55 |
holstein | qjackctl makes no output | 17:56 |
holstein | nor does patchage | 17:56 |
holstein | i would try running jack as root... | 17:56 |
holstein | sudo qjackctl | 17:56 |
holstein | if that works, then you can assume the config is good | 17:56 |
dutchie | holstein: output to headphones/speakers | 17:56 |
holstein | then, if it doesnt work as normal user, you can assume its permissions | 17:56 |
holstein | then, when JACK is running as normal user, i would route something simple such as yoshimi or zynaddsubfx to the output | 17:57 |
holstein | OR, something like audacious set to use JACK as output | 17:57 |
dutchie | there is no output to route yoshimi to | 17:58 |
holstein | dutchie: is JACK running? | 17:59 |
dutchie | http://imgur.com/ihpww | 17:59 |
holstein | dutchie: do you have it configured properly? | 17:59 |
dutchie | jack seems to be running fine, at least the console output from qjackctl says so | 17:59 |
holstein | dutchie: do you have is set to "duplex" in qjackctl's "setup" | 17:59 |
holstein | dutchie: sure, but maybe not configured to work with your hardware | 18:00 |
holstein | dutchie: i would close jack and start qjackctl as root | 18:00 |
holstein | when you see JACK running as root on your card, and all looks as it should, then you can move on to as normal user | 18:00 |
dutchie | same error with root | 18:01 |
holstein | dutchie: well, its not an "error" | 18:01 |
dutchie | well, no | 18:02 |
holstein | dutchie: if you dont have it configured to use your device properly in duplex mode | 18:02 |
holstein | OR, if the alsa drivers are not supporting the device | 18:02 |
holstein | dutchie: is it set up in duplex mode? | 18:02 |
dutchie | yes | 18:02 |
holstein | dutchie: you are in the audio tab in "connect" ? | 18:03 |
dutchie | yes | 18:03 |
holstein | dutchie: i would remove the pulse sync thing, thats not the issue | 18:03 |
dutchie | ok | 18:03 |
holstein | you can try going one way or the other with alsa | 18:04 |
dutchie | what do you mean? | 18:05 |
holstein | dutchie: upgrading or downgrading | 18:05 |
holstein | i usually try some live CD's... | 18:06 |
dutchie | oh right | 18:07 |
dutchie | well i just rebooted and now there is a system output | 18:21 |
holstein | \o/ | 18:22 |
dutchie | now i just have to work out what system/capture_{1,2} and system/playback{1..6} are | 18:24 |
holstein | yeah? | 18:27 |
holstein | just route to them all | 18:27 |
dutchie | foolproof! | 18:28 |
dutchie | hmm, can't seem to record anything | 18:42 |
holstein | dutchie: with? | 18:44 |
dutchie | anything | 18:44 |
holstein | from? | 18:45 |
dutchie | tried ardour, qtractor, audacity | 18:45 |
holstein | use ardour | 18:45 |
holstein | route *every* input ot *every* output | 18:45 |
holstein | its likely you are just getting used to the way it looks/feels | 18:45 |
holstein | do you need JACK? | 18:45 |
holstein | maybe you'd be OK with pavucontrol and audacity | 18:46 |
dutchie | this is the sort of thing i'm not sure about | 18:46 |
holstein | keep it simple | 18:47 |
dutchie | i have a feeling i'm going to be woefully underequipped for what i want to do hardware-wise | 18:47 |
holstein | route a piece of software to another peice of software | 18:47 |
holstein | test JACK connections that way | 18:47 |
dutchie | makes sense | 18:47 |
holstein | if you are using an internal sound card, i would just get *any* USB device | 18:47 |
holstein | you can ask in #opensourcemusicians about what is the best around now | 18:47 |
dutchie | what i want to do is record some singing, and put it on top of some synthy type stuff | 18:47 |
holstein | best for the cash | 18:48 |
holstein | dutchie: "recording some singing" is quite challenging | 18:48 |
holstein | lets say you want to do that professionally | 18:48 |
holstein | you would go somewhere and pay $80/hour | 18:48 |
holstein | you are trying to repicate that harware workflow on a sound card that cost 18 cents | 18:49 |
holstein | im not saying it cant be done, but you are going to get sub-par results | 18:49 |
dutchie | quality is not a huge issue, it's basically supposed to be a romantic surprise for my girlfriend | 18:49 |
holstein | i would get an all in one USB device with a preamp | 18:49 |
holstein | OR, just use what you got, and deal with it | 18:49 |
holstein | OR record the tracks, take them to a studio and sing over them | 18:49 |
holstein | dutchie: its *drastic* the difference | 18:50 |
holstein | they are not equivalent tools | 18:50 |
holstein | the USB device with the preamp is something i would say to use if you are not worried about the quality | 18:50 |
holstein | the internal sound card and mic you are using now is just not for that purpose at all | 18:50 |
holstein | thats for skype at best | 18:50 |
dutchie | *nods* | 18:51 |
holstein | depending on what you are doing, you might knock it out in an hour at a studio | 18:51 |
holstein | OR, grab a device for $60 somewhere (or $30 used) | 18:51 |
dutchie | fair enough | 18:52 |
dutchie | so the singing is going to be hard, but what about the synthy type stuff? | 18:52 |
holstein | software synths are just that | 18:53 |
holstein | they are generated "in the box" | 18:53 |
holstein | so, that'll sound the same on your box, or some studio machine | 18:53 |
holstein | doesnt matter | 18:53 |
holstein | you'll sound the same as if you are paying $80/hour | 18:53 |
dutchie | yep, i got that | 18:53 |
dutchie | what would the actual workflow be? put something together in a midi sequencer, feed that into a synth and twiddle dials until cool noises come out? or have i got the wrong end of the stick? | 18:55 |
holstein | nah | 18:55 |
holstein | its all open, so the workflow can literally be what you like | 18:55 |
holstein | i dont do a lot of midi | 18:55 |
holstein | i would suggest asking in #opensourcemusicians | 18:55 |
holstein | most folks use qtractor as a sequencer | 18:56 |
holstein | there are lots of synths and samplers.. but sampling gets into the hardware again | 18:56 |
holstein | assuming you want to use your own samples | 18:56 |
holstein | otherwise, the tracks are as good as the samples you use | 18:56 |
dutchie | right | 18:57 |
holstein | with JACK, and a nice interface, you can run out to hardware modules, or effects | 18:57 |
holstein | the only limitations with JACK and these open tools are your imagination, skill and cash flow | 18:57 |
dutchie | awesome, thanks a lot | 18:58 |
dutchie | if we were anywhere nearby i'd probably buy you a drink by now | 18:58 |
holstein | hehe.. well, check out my CD... | 18:58 |
holstein | http://holstein.bandcamp.com/ | 18:59 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!