/srv/irclogs.ubuntu.com/2011/10/12/#ubuntustudio.txt

=== saidinesh is now known as saidinesh5
plain-userso.. how to setup two soundcards on my us.11:27
gabyhello - any body here to hlep me with my problems ?16:08
gabyevery time i try to work with ardour program - it tells me ( ardour couldnt start the jack )16:10
gabyany help please ?16:10
gaby every time i try to work with ardour program - it tells me ( ardour couldnt start the jack - - - -any help please ?16:11
holsteingaby: right16:12
holsteinyou have to get JACK started and running first16:12
holsteinits *not* trivial, nor is it all that obvious16:13
gabyholstien : how can i do it - can you guide me step by step please - ?   iam very new in this16:13
holsteingaby: the issue is, everyone's hardware configuration is different16:14
holsteinyou can check out https://help.ubuntu.com/community/HowToJACKConfiguration16:14
holsteingaby: i will be glad to help, but i am also about to run out for a bit16:14
holsteingaby: i will throw a couple of tips/tricks at you16:14
holsteinfirst, /join #opensourcemusians and #ardour16:15
holsteina lot of why folks cant get JACK working is because of permissions16:15
holsteini say, open a terminal, and run16:15
holsteinsudo qjackctl16:15
holstein*this will be temporary*16:15
holsteinthen, click 'setup'16:15
holsteinunder setup, check these settings...16:16
holsteinframes/period 51216:16
holsteinsample rate 4410016:16
holsteinperiods/buffer 316:16
holsteinthen, *if* you are using an internal sound card, and that is working for you in ubuntu, make sure the driver is set to "alsa"16:17
holsteinthen, close/save that config16:17
holsteingo back to the main window of JACK and click the 'start' button16:17
holsteinif it starts, and gives no errors, thats good :)16:17
holsteinthen, hit the 'stop' button, close it, and open it as your normal user16:18
holsteinand try starting again16:18
gabythanks alot16:19
holstein*after* JACK is started and running stable, *then* you start ardour16:19
holsteinhey plain-user16:19
holsteinusing multiple sound cards with JACK is not easy16:19
holsteinhttp://jackaudio.org/multiple_devices16:20
gabyyeah i see that its not that easy to work with linux for sound programs16:20
holsteingaby: ?16:20
holsteinwell, it depends on how you look at it16:20
holsteinits a lot easier to interconnect hardware with whatever software you choose in linux16:21
plain-userhi holstein . I have followed your suggestions and read for half a day about jack alsa pulse and xine. havent read the pages i opened for multiple devices though, run out of time16:21
holsteinwith JACK16:21
holsteinits just not trivial, the learning curve16:21
holsteinplain-user: yeah, and if you take s step back, you probably dont need it16:22
holsteintheres a mumble application that supports JACK16:22
holsteinmumble clients are available cross-platform16:22
holsteinif you just need VIOP like connectivity over JACK16:22
plain-useri got a bit confused what is what. managed to setup skype for immediate use with internal card, and then listen music through external card through sound manager, but that's clicking mouse 100 times16:22
holsteinyou probaly dont need JACK at the same time as skype anyways16:23
gabyyes iam here16:23
gabysorry i was following your steps16:23
holsteinVOIP*16:23
plain-useri read about mumble too, looks like good alternative, but it doesnt support skype protocol. i can't jsut go to mumble and tell all my friends i wont talk to them because i cant setup skype on linux to work with my sound card, so follow me on this unknown app16:23
plain-usersounds a bit silly doesnt it16:24
holsteinright, but they can *all* run mumble, easily, and for free16:24
holsteinOR, you just stop JACK, and use skpe16:24
holsteinskype*16:24
plain-useryes.16:24
holsteinOR, use skype via pulse on your internal hardware while JACK is running on the USB hardware16:24
holsteinthe multiple sound card thing is a nasty hack, and totally unecessary in my opinion16:25
plain-userright, so there is way that i just start jack for sound recording and stop it whenever i want to run internal card. that will work for me. whatever it takes to do jsut as long as it works and isnt too silly to setup (like i dont have to restart apps in the middle of something)16:25
gabyoh :(16:25
gabyits not working again holstein16:26
holsteingaby: right, its *not* trivial16:26
holsteinthis is not something you'll just pop in and sort out in a few minutes16:26
holsteinyou'll have to read up on JACK a bit16:26
holsteingaby: will it start as root?16:26
gabyso oh god16:26
holsteingaby: why do you need ardour?16:27
plain-userok, how do i do that then? pulse for skype and jack for usb. that's what i need as i understand. it is eventually same as segregating two hw devices into sw areas16:27
holsteinmaybe you just want audacity gaby ?16:27
gabyno i need ardour - its the only program which fits my projects16:27
gabyiam working on multi track projects16:27
holsteinplain-user: im not sure if that'll work with alsa like that.. i have internal and firewire devices.. i would literally just stop jack if i were you16:28
holsteini cant imagine a scenario where you would need JACK and skype16:28
holsteinif i had your setup, i would disable the interal card in the bios, and use JACK as-needed16:28
plain-userholstein, and you use ffado for your 1394 card, right?16:28
holsteingaby: then pull up a chair, and tell me where its failing16:28
holsteingaby: does it start/run as root?16:28
holsteinplain-user: right16:29
holsteinused to be freebob16:29
gabyi dont know what is root - tell me how to find it for you16:29
holsteingaby: when i asked you to run16:29
holsteingksudo qjackctl16:29
holsteinthat says to the computer 'run the JACK gui for me as the root user'16:29
holsteinthat way, we can bypass the permissions errors that hang most folks up16:30
holsteinthis is a temporary step16:30
plain-userok i explain why i need internal soundcard. because i am sick of holding the line mike in front of my mouth like a singer when i talk to people using external audio. and i figured out that i can not run stereo mike into a line or xlr input on the sound card.16:30
holsteingaby: so, when you open a terminal, and run...16:30
gabygaby@gaby-laptop:~$ gksudo qjackctl16:30
gabySuspending PulseAudio16:30
gabyConnection failure: Connection refusedConnection failure: Connection refused16:30
holsteingaby: you might already have failed attempts at JACK running in the background16:31
holsteinyou could reboot and try16:31
plain-usermaybe i go back to that stupid setup and give this new headset i bought for using it with skype to someone who can setup his computer better than me or uses windows. btw is it possible in windows to have two cards simultaneously?16:31
holsteinwithout running through a lot of commands gaby , thats easiest16:31
holsteinplain-user: it is possible to do that in linux16:31
holsteinjust not practical16:31
holsteinor necessary16:31
holsteinand you dont need JACK for that anyways16:32
holsteinyou can do that with pulse AFAIK16:32
gabyok i will reboot and come back again16:32
holsteinplain-user: if you are talking about skype and normal desktop applications, you dont *need* JACK16:32
plain-userwell i have no idea how to configure any of them yet.16:32
holsteinright, but you can set devices in skype16:33
holsteindifferent in device from out device16:33
holsteinthat'll happen with pulse/alsa16:33
holsteinJACK is overkill, and *not* the tool for that16:33
plain-usermy skype here can have only one device.16:33
plain-userlook, maybe i just configure it every time i need to use skype.16:34
holstein?16:34
holsteinlemme look at skype, if i have it installed16:34
plain-userwhat i'm doing is going to sound prefs and choosing default sound to inbuilt card then restart skype and it works i can talk16:34
plain-userthen when i want to listen to music on big speaker (conencted to m-audio) i switch the output back.16:35
holsteinsound OK16:35
holsteinskype is not open, so you kinda just have to deal with it16:35
gabyholstein : how can i send you a picture of what i receive ?16:36
holsteingaby: sure...16:36
gabyhow can i send it to you16:36
plain-usermy next wish from computer is to do the following: listen to music in transcribe-like app that will slow it down for me, and at the same time play my guitar plugged into line of usb. and preferrably being processed by some amp emulator.16:36
holsteingaby: dropbox... imagebin... ftp, ssh... email, wiki... whatever16:37
holsteinhttp://imagebin.org/16:37
plain-userthen, i will open up the guita-pro and tab what i hear. same for writing songs. and the ultimate goal is to do some waves of recording in takes for some parts of the songs for one of the bands im playing16:37
gabyholstein :  http://imagebin.org/17864616:39
plain-userand i need a metronome too. something really simple that i can just click and it will load and beep at me - to practice every day.16:39
plain-userwaht do you use?16:39
holsteinplain-user: me?16:39
holsteini have one of these http://p2.la-img.com/370/17699/5970083_1_l.jpg16:40
holsteinwhen i have to, i use one on the android phone, or gtick or whatever16:40
holsteinsomething JACK supported16:40
holsteinor just hydrogen16:40
plain-userholstein, yeah, do you use one?16:40
holsteinalso there is http://www.metronomeonline.com/16:40
plain-userholstein, you are only living person and gaby in here, but looks like he is also being an apprentice in this conversationso... ))16:41
holsteini got busy... im usually here more often16:41
holsteinim moving, and working a lot these days16:41
holsteingaby: right.. what you do is16:42
holsteinclose those windows16:42
holsteinthen, open a terminal16:42
holsteingo to...16:42
holsteinapplications - accessories - terminal16:42
gabyok16:42
gabydone16:42
holsteinthen, in that text field, enter this text... type it right in there16:42
holsteingksudo qjackctl16:42
holsteinyou'll be prompted for your password16:43
holsteinthen... when the JACK gui opens, click 'setup'16:43
gabyok16:43
holsteinthen... in there, see that these settings are there16:43
gabyiam there16:43
holsteindriver 'alsa'16:43
gabyyes16:43
holsteinframes/period 51216:44
holsteinsamplerate 4410016:44
holsteinperiods/buffer16:44
holsteinthen, click OK16:44
gaby3?16:44
holsteinyeah... periods/buffer 316:44
holsteinthen, click OK16:44
gabydone16:44
holsteinthen, click 'start'16:44
holsteinreport any errors16:44
gabyno - its not16:45
gabybut iam afraid that if i will close it16:45
gabyit will report some error as i did before16:45
gabylets check ?16:45
holsteingaby: its not what?16:46
gabyits not giving any error and it works16:46
gabycounting16:46
holsteinOK16:46
holsteinthats good16:46
holsteinnow, you see little green numbers? like 0 (0)16:46
holsteinmaybe they are red16:46
holsteinred is bad16:46
holsteinwith an internal sound card, theres not much to do about it...16:47
holsteingaby: anyways... you can tweak performance later16:47
gabyyes16:47
gabyits green16:47
holsteinwhat you do now is... *stop* jack16:47
holsteinhit the 'stop' button16:47
gabydone16:47
holsteinthen, close all of that16:47
gabydone16:48
holsteinyou re-open jack as your normal user16:48
holsteinthats by just going to the menu and clicking on it16:48
holsteinthen, hit the start button16:48
holsteinreport any errors16:48
gabyexactly as before that i sent you in the picture16:49
holsteinOK16:49
holsteinso, re-open a terminal16:49
gabyok16:49
holsteinrun this command16:49
holsteinwhen i say 'run this command' that means just type this in the terminal and hit enter16:50
gabyok16:50
holsteinsudo adduser "yourusername" audio16:50
holsteinreplace "yourusername" with your username16:50
holsteinwith out quotes16:50
holsteinfor example, for me it would be16:50
holsteinsudo adduser holstein audio16:50
holsteinthen, enter your password if you are promted and hit enter16:51
holsteinthen, we go on...16:51
holsteinif you want to, you can refer to that error message16:51
gabyit gave me  DONE -16:51
holsteinit makes a suggestion16:51
holsteingaby: OH... actually, lets see if that does it16:51
holsteinyou'll need to log out and back in at leas16:51
holsteinyou can reboot if you want, but logging out and back in will do16:52
gabygaby@gaby-laptop:~$ sudo adduser "gaby" audio16:52
gaby[sudo] password for gaby:16:52
gabyAdding user `gaby' to group `audio' ...16:52
gabyAdding user gaby to group audio16:52
gabyDone.16:52
gabythis is what i have got after the command16:52
holsteingaby: right16:52
holsteinso, you'll need to at least logout and back in16:52
gabyok i will log out and come back logging in16:52
holsteinyou can reboot if you want to, but logging out and back in might do16:52
gabyok i will - please wait for me16:53
holsteinsure...16:53
gabyiam back16:55
holsteinOK16:55
holsteinbefore you start JACK16:55
holsteinjust open it again as the normal user by click it from the menu16:55
holsteinthen, click 'setup' again16:55
holsteinyou'll see a check box on the left side16:55
gabyyes16:56
holsteinfor 'Realtime"16:56
gabyyes16:56
holsteinthat is probably checked16:56
gabyyes16:56
holstein*uncheck* that for now16:56
holsteinthen, click "ok"16:56
gabydone16:56
holsteingo back to the main window and hit 'start16:56
holsteinreport any errors16:56
gabyno its working16:56
holsteinOK16:57
holsteinthats good16:57
gaby and the numbers 0 0 is in green16:57
holsteinyou can experiment around with that Realtime check box16:57
holsteinalso, those settings that we tweaked16:57
holsteinperiods/buffer16:57
holsteinand frames/period16:57
holsteinother than that, i wouldnt mess with anything that you dont understand yet16:57
gabynow i checked the box16:58
holstein*now* you should be able to launch ardour, and figure out how to make connections16:58
gabyand its working16:58
holsteingaby: you cant just 'willy nilly' check boxes16:58
holsteinyou have to stop and start JACK again16:58
gabyyes ofcourse i stopped16:58
holsteinanyways.. you'll sort it out16:58
holsteinyou're much better off now :)16:58
gaby:)16:59
holsteini gotta run16:59
gabycan i have your email ?16:59
holsteingaby: actually, im in here around the clock16:59
holsteinim logged in around the clock16:59
gabyok16:59
gabyso see you - and thank you very much for your amazing help16:59
holsteingaby: when i get my ubuntu email, i'll share :)16:59
holsteingaby: also, try #opensourcemusicians if you need something and im not around17:00
gaby;)17:00
gabythanks17:00
holsteingaby: anytime17:00
holsteinlaterx17:00
gaby see you around17:00

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!