Re: [gentoo-user] Jack-audio-connection

2003-11-02 Thread Brett I. Holcomb
I'll check out the site.  Did you file a bug with bugzilla requesting 
jackstart be added - if so I'll add my comments to it.  If not I'll file one.

I can't remember of the top of my head how I did it but I got Audacity to 
record a track from a CD and I saved it as an ogg file which does playback so 
it works!

On Sunday 02 November 2003 00:19, you wrote:
 On Sat, 2003-11-01 at 18:36, Brett I. Holcomb wrote:
  Well, I think so - after all this trouble I need to do something with

 Yes, it bothered me too. Paul Davis has some comments about that in the
 README, and possibly on his web site.

 The PlanetCCRMA kernel uses a patch called the capabilities patch which
 grants certain root capabilities to a user. The Planet flow is set up to
 use a program called jackstart (which we don't have on Gentoo, but I
 have requested in the past) which then allows you to run as a user but
  Of the others I'll probably also try Audacity as it seemed to work for me
  better and I could make sense of it.  Rezound just doesn't click with me
  and sweep seems to be more an editor than letting you record.  I have to
  record into a selction but I don't have one when I'm starting new!

 Yep, they're all different, and thanks to the architecture of Alsa,
 pretty much every sound card works a little differently. None the less,
 at least for live audio Audacity is very easy to use. For recording a CD
 I don't know how to use it, or if it can be used.

 Cheers,
 Mark

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Jack-audio-connection

2003-11-02 Thread Mark Knecht
On Sun, 2003-11-02 at 08:03, Brett I. Holcomb wrote:
 I'll check out the site.  Did you file a bug with bugzilla requesting 
 jackstart be added - if so I'll add my comments to it.  If not I'll file one.
 
 I can't remember of the top of my head how I did it but I got Audacity to 
 record a track from a CD and I saved it as an ogg file which does playback so 
 it works!
 

Great news on the jackstart front. Apparently my request was addressed:

http://bugs.gentoo.org/show_bug.cgi?id=27063

I haven't tried it. Please remember, it won't work unless you have the
capabilities patch in your kernel. The patch is pretty simple, but since
I'm such a newbie I hate doing this stuff myself. With you helping out
I'd be up for doing it together and then making sure we both work.

The patch an info at the end of this note comes in an email to me from
Fernando Pablo Lopez-Lezcano, the person that runs the PlanetCCRMA site:

http://ccrma-www.stanford.edu/planetccrma/software/

This is Redhat based, but is the absolute easiest and most up to date
audio site around. He runs the network for Stanford's Music Department
and Stanford allows him to go public with all the benefits. Check it out
at least to see more audio stuff available. I run Redhat on one of my
two Linux boxes.

Also check out Dave Philips wonderful site:

http://linux-sound.org/

Cheers,
Mark


The original stuff:
http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.4/capfaq-0.2.txt

The patch I'm currently using:
 CUT HERE 
--- linux/include/linux/capability.h~   Thu Nov 22 11:46:19 2001
+++ linux/include/linux/capability.hFri Mar 15 15:16:20 2002
@@ -303,8 +303,8 @@

 #define CAP_EMPTY_SET   to_cap_t(0)
 #define CAP_FULL_SETto_cap_t(~0)
-#define CAP_INIT_EFF_SETto_cap_t(~0  ~CAP_TO_MASK(CAP_SETPCAP))
-#define CAP_INIT_INH_SETto_cap_t(0)
+#define CAP_INIT_EFF_SETto_cap_t(~0)
+#define CAP_INIT_INH_SETto_cap_t(~0)

 #define CAP_TO_MASK(x) (1  (x))
 #define cap_raise(c, flag)   (cap_t(c) |=  CAP_TO_MASK(flag))
 CUT HERE 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Jack-audio-connection

2003-11-02 Thread Brett I. Holcomb
Thanks.  I'll look into it and see what it takes.

On Sunday 02 November 2003 13:16, you wrote:
 On Sun, 2003-11-02 at 08:03, Brett I. Holcomb wrote:
  I'll check out the site.  Did you file a bug with bugzilla requesting
  jackstart be added - if so I'll add my comments to it.  If not I'll file
  one.
 
  I can't remember of the top of my head how I did it but I got Audacity to
  record a track from a CD and I saved it as an ogg file which does
  playback so it works!

 Great news on the jackstart front. Apparently my request was addressed:

 http://bugs.gentoo.org/show_bug.cgi?id=27063

 I haven't tried it. Please remember, it won't work unless you have the
 capabilities patch in your kernel. The patch is pretty simple, but since
 I'm such a newbie I hate doing this stuff myself. With you helping out
 I'd be up for doing it together and then making sure we both work.

 The patch an info at the end of this note comes in an email to me from
 Fernando Pablo Lopez-Lezcano, the person that runs the PlanetCCRMA site:

 http://ccrma-www.stanford.edu/planetccrma/software/

 This is Redhat based, but is the absolute easiest and most up to date
 audio site around. He runs the network for Stanford's Music Department
 and Stanford allows him to go public with all the benefits. Check it out
 at least to see more audio stuff available. I run Redhat on one of my
 two Linux boxes.

 Also check out Dave Philips wonderful site:

 http://linux-sound.org/

 Cheers,
 Mark


 The original stuff:
 http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.4/capfaq
-0.2.txt

 The patch I'm currently using:
  CUT HERE 
 --- linux/include/linux/capability.h~   Thu Nov 22 11:46:19 2001
 +++ linux/include/linux/capability.hFri Mar 15 15:16:20 2002
 @@ -303,8 +303,8 @@

  #define CAP_EMPTY_SET   to_cap_t(0)
  #define CAP_FULL_SETto_cap_t(~0)
 -#define CAP_INIT_EFF_SETto_cap_t(~0  ~CAP_TO_MASK(CAP_SETPCAP))
 -#define CAP_INIT_INH_SETto_cap_t(0)
 +#define CAP_INIT_EFF_SETto_cap_t(~0)
 +#define CAP_INIT_INH_SETto_cap_t(~0)

  #define CAP_TO_MASK(x) (1  (x))
  #define cap_raise(c, flag)   (cap_t(c) |=  CAP_TO_MASK(flag))
  CUT HERE 

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Jack-audio-connection

2003-11-01 Thread Brett I. Holcomb
Thank you very much.  I've been on the Ardour list but haven't taken this 
question there as I figured there weren't any Gentooers there - glad to hear 
I'm wrong.  

I'll try copying creating the ~.ardourrc file although I thought it would 
default to using the /etc/ardour one if mine didn't exist.

I'll definitely visit Jan's site.  Cableone was my old provider till I moved!

On Saturday 01 November 2003 00:13, you wrote:
 On Fri, 2003-10-31 at 20:58, Brett I. Holcomb wrote:
 SNIP

  The docs on Jack also mention using a /etc/asound.rc  or ~/.asound.rc
  file to set up devices, etc.  Have you found that necessary?

 Brett,
I just snipped the rest out because if the .ardourrc file isn't set
 up right then nothing is going to work for you.

It's been so long since I've set up Ardour from scratch that I'm
 going to be doing some guessing here. I think you'll get far better
 answers subscribing to the ardour-user list. (FYI - I know that one of
 the developers - Jesse Chappel, and at least one other guy who runs a
 pro studio, are using Ardour under Gentoo, so don't give up. It will
 run.)

First, copy the ardour.rc file that's in the download directory to
 your home directory with a name change

 cp path/ardour/ardour.rc ~/.ardourrc

Second, check Jan Depner's Alsa/Jack/Ardour configuration site for
 config ideas. The address is:

 http://myweb.cableone.net/eviltwin69/Ardour.html#Configuring

 I think (hope, pray) you'll find what you need there. Jan's a great guy
 and very organized. He's built this up over the last year. I think it's
 probably quite good at this point.

I'll keep my eyes open for more info on this. Maybe I'll just build
 it myself from CVS. I haven't done that in a long time.

 Good luck,
 MArk

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Jack-audio-connection

2003-11-01 Thread Brett I. Holcomb
Okay, it works then!  I'll visit Jan and the other sites and follow your 
advice about ardourrc and see if I can get mine running.  What is qjackctl?

I'll definitely let you know - it may take awhile as I have a long list of 
things that must get done today!


On Saturday 01 November 2003 00:59, you wrote:
 On Fri, 2003-10-31 at 20:58, Brett I. Holcomb wrote:
  I did some more work on it.

 SNIP

 Brett,
I built it and it's up and running.

 ./autogen.sh
 ./configure
 make
 make install (as root)

 as user

This is a reminder, sent out once a month, about your xfce.org mailing
 cp path/ardour/ardourrc .ardourrc  (necessary?)

 Started Jack using qjackctl

 Started Ardour

 Looked in qjackctl - no evidence of ardour

 Created a new session

 Looked in qjackctl - ardour is there

 My only problem right now is that after I hook some stuff up, I want to
 record but hitting start isn't working.

 Anyway, maybe this info will help you. Write back and let me know how it
 comes out.

 Cheers,
 Mark

--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] Jack-audio-connection

2003-11-01 Thread Mark Knecht

 Okay, it works then!  I'll visit Jan and the other sites and follow your
 advice about ardourrc and see if I can get mine running.  What is
 qjackctl?

 I'll definitely let you know - it may take awhile as I have a
 long list of
 things that must get done today!

Glad you're making headway.

qjackctl is an application that allows you to set up Jack, run it, make
connections between Jack clients, all in one place. It's very handy.

http://qjackctl.sf.net

Once you start using it there's no need for anything else to get all this
stuff set up.

Cheers,
Mark




--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Jack-audio-connection

2003-11-01 Thread Brett I. Holcomb
I got jackd started and running as my user.  I didn't make any changes except 
to set ARDORRC to /etc/ardour/ardour.rc.  However, Ardour still refuses to 
start saying it can't find jack.  I'll have to work on it later.

On Saturday 01 November 2003 10:35, you wrote:
  Okay, it works then!  I'll visit Jan and the other sites and follow your
  advice about ardourrc and see if I can get mine running.  What is
  qjackctl?
 
  I'll definitely let you know - it may take awhile as I have a
  long list of
  things that must get done today!

 Glad you're making headway.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Jack-audio-connection

2003-11-01 Thread Mark Knecht
On Sat, 2003-11-01 at 09:45, Brett I. Holcomb wrote: 
 I got jackd started and running as my user.  I didn't make any changes except 
 to set ARDORRC to /etc/ardour/ardour.rc.  However, Ardour still refuses to 
 start saying it can't find jack.  I'll have to work on it later.

Yes, I do understand the frustrations, and I'm sorry your having them. I
am also today!

Did you start jack in a terminal? Since I'm using qjackctl, maybe it's
running a bit different. qjackctl's terminal says:

1:07:40 Statistics reset.
11:07:43 JACK is being forced...
11:07:43 [killall -9 jackd]
11:07:43 JACK has been forced with exit status=256.
11:07:44 JACK is starting...
11:07:44 [jackd -t 500 -d alsa -d hw:0 -r 44100 -p 64 -n 2]
11:07:44 Statistics reset.
11:07:44 JACK is started with PID=4048 (0xfd0).
JACK compiled with System V SHM support
loading driver ..
open
starting engine
 alsa_pcm: xrun of at least 3.284 msecs 

Everything to this point is pretty normal. Last evening when I built
Ardour it ran, or at least didn't crash. Today when I start it the main
screen pops up for a second, and then goes away. I'm left with the
following in my terminal:

bash-2.05b$ ardour 
Ardour/GTK 0.412.0 running with libardour 0.698.0
Loading UI configuration file /usr/local/etc/ardour/ardour_ui.rc
Loading system configuration file /usr/local/etc/ardour/ardour_system.rc
Loading user configuration file /home/mark/.ardour/ardour.rc
MIDI: MTC on port hw:0 MMC on port hw:0
Shift = Shift_L
Shift = Shift_R
Control = Control_L
Control = Control_R
Mod1 = Alt_L
Mod1 = Alt_R
ardour: [WARNING]: You have 2 keys bound to mod1
Mod2 = Num_Lock
Mod4 = Super_L
Mod4 = Super_R
ardour: [WARNING]: You have 2 keys bound to mod4
0 2 0 0 0 0
0 2 0 0 0 0
0 571 0 285 570 0
0 571 0 285 570 0
Segmentation fault
bash-2.05b$ 


It also looks to me like they've changed what Ardour is expecting for
configuration info. I have not exported anything in my .bashrc file, so
it seems to be finding /home/mark/.ardour/ardour.rc by default.

I don't know what's going on with this, but since I don't intend to run
it I think I'd better drop out. Actually, if your interest is really
having to do with CD's and such, I always thought Audacity or ReZound
would be better choices. Neither require or even use Jack, I think, so
they should be more friendly in this sense.

BTW - I don't think this is a Jack issue under Gentoo. I run Jack with
alsaplayer, freqtweak, tapiir, ZynAddSubFx and abSynth all the time and
have no problems. This is pretty clearly an Ardour issue in my mind.

Good luck, and feel free to write on or off list about this stuff.

Mark


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Jack-audio-connection

2003-11-01 Thread Brett I. Holcomb
Thanks for all the help.  I'll just have to do some more checking and then 
post some on the ardour user's list.

I don't think it's a jack issue either.  It works for you and when it works 
for me ardour won't run.Jack started, then gave me a serious of load % 
and some information every so many seconds until I killed it.

My Gentoo ebuild for cvs put every in /usr/share/ardour! 

I'll play with it some more.  Ardour is way overkill for what I want to do 
but I'd like to see it work.

Thanks again for all the help.

On Saturday 01 November 2003 14:18, you wrote:
 On Sat, 2003-11-01 at 09:45, Brett I. Holcomb wrote:
  I got jackd started and running as my user.  I didn't make any changes
  except to set ARDORRC to /etc/ardour/ardour.rc.  However, Ardour still
  refuses to start saying it can't find jack.  I'll have to work on it
  later.

 Yes, I do understand the frustrations, and I'm sorry your having them. I
 am also today!

 Did you start jack in a terminal? Since I'm using qjackctl, maybe it's
 running a bit different. qjackctl's terminal says:


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Jack-audio-connection

2003-11-01 Thread Mark Knecht
On Sat, 2003-11-01 at 12:40, Brett I. Holcomb wrote:
 Thanks for all the help.  I'll just have to do some more checking and then 
 post some on the ardour user's list.
 
 I don't think it's a jack issue either.  It works for you and when it works 
 for me ardour won't run.Jack started, then gave me a serious of load % 
 and some information every so many seconds until I killed it.
 
 My Gentoo ebuild for cvs put every in /usr/share/ardour! 
 
 I'll play with it some more.  Ardour is way overkill for what I want to do 
 but I'd like to see it work.
 
 Thanks again for all the help.

Hey, I'm really happy to help. I managed to get my Linux testing duties
for a new app out of the way pretty quickly today, so I'm back working
in Windows with an equivalent of Ardour, but far more features. (The
main one being real MIDI support...)

Anyway, I wonder if I've run into some of your problems? I was using
qjackctl version 0.0.8, so I decided to upgrade to 0.1.1a which is the
latest tarball. It built, and starts, but then gives me two strange
messages about not being able to connect to Jack. Sounds similar to your
problems.

My version of Jack installed right now is 0.80. I have a feeling that
part of the problem may be that there are updates to Jack that I'm not
running, and which may be required. Jack has been updated to have the
transport of one program (transport == start, stop, pause, rewind, time
display) control many programs, so that you can tell Ardour to record
and it will start some other app, like alsaplayer rolling so you have
audio. I know this new version of qjackctl supports it, and I think
Ardour does, but I'm pretty sure the 0.80 version f Jack doesn't, or not
correctly.

Anyway, I can no longer run qjackctl, so I want to fix this. If I find
and answer I'll post it back.

BTW - lots of people do very good quality recording with both Audacity
and ReZound, so don't think you're stepping down by using them. I use
them for simple recording jobs all the time.

Cheers,
Mark


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Jack-audio-connection

2003-11-01 Thread Brett I. Holcomb

I have jack 0.89.2 which was installed from cvs.

I'll play with Audacity and ReZound some more.  I just got stuck on Ardour!

I'll be interested to see what you find.

On Saturday 01 November 2003 16:01, you wrote:
 On Sat, 2003-11-01 at 12:40, Brett I. Holcomb wrote:
  Thanks for all the help.  I'll just have to do some more checking and
  then post some on the ardour user's list.

 My version of Jack installed right now is 0.80. I have a feeling that
 part of the problem may be that there are updates to Jack that I'm not
 running, and which may be required. Jack has been updated to have the
 transport of one program (transport == start, stop, pause, rewind, time
 display) control many programs, so that you can tell Ardour to record
 and it will start some other app, like alsaplayer rolling so you have
 audio. I know this new version of qjackctl supports it, and I think
 Ardour does, but I'm pretty sure the 0.80 version f Jack doesn't, or not
 correctly.

 Anyway, I can no longer run qjackctl, so I want to fix this. If I find
 and answer I'll post it back.

 BTW - lots of people do very good quality recording with both Audacity
 and ReZound, so don't think you're stepping down by using them. I use
 them for simple recording jobs all the time.

 Cheers,
 Mark

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Jack-audio-connection

2003-11-01 Thread Mark Knecht
On Sat, 2003-11-01 at 15:12, Brett I. Holcomb wrote:
 I have jack 0.89.2 which was installed from cvs.
 
 I'll play with Audacity and ReZound some more.  I just got stuck on Ardour!
 
 I'll be interested to see what you find.
 

BTW - Did you ever try changing the fstab entry that Jack is using?


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Jack-audio-connection

2003-11-01 Thread Brett I. Holcomb
No.  It agreed with the docs from Jan's site so I left it.

On Saturday 01 November 2003 18:32, you wrote:
 On Sat, 2003-11-01 at 15:12, Brett I. Holcomb wrote:
  I have jack 0.89.2 which was installed from cvs.
 
  I'll play with Audacity and ReZound some more.  I just got stuck on
  Ardour!
 
  I'll be interested to see what you find.

 BTW - Did you ever try changing the fstab entry that Jack is using?

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Jack-audio-connection

2003-11-01 Thread Mark Knecht
On Sat, 2003-11-01 at 15:58, Brett I. Holcomb wrote:
 No.  It agreed with the docs from Jan's site so I left it.
 
 
  BTW - Did you ever try changing the fstab entry that Jack is using?
 

Cool. I'll go back and look at that again carefully. The values I gave
you before were the ones on my PlanetCCRMA Redhat box. Those values are
probably specific to the way Fernando built those RPMs.

There is something strange going on with my system and Jack. qjackctl
(nd Jack in a terminal) ran, and then it wouldn't run. I finally did a
complete power down, rebooted, and it ran, once, and then it wouldn't
run again. It seems to be complaining about shm stuff which is why I
asked what you did.

I've just rebooted and Jack is running with qjackctl. I can stop and
restart it fine right now. Very strange. I haven't had problems like
this in a long time.

Thanks,
Mark


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Jack-audio-connection

2003-11-01 Thread Brett I. Holcomb
Jan answered my email on ardour-users mail list and had me run it in root.  
Ardour runs fine as root. I figure he was just trying to find out if it even 
runs.  I'd like to run it as user although I understand the realtime jack 
doesn't run except as root.  At this point I don't think I need that.

These problems keep us from getting too complacent G. 


On Saturday 01 November 2003 19:34, you wrote:
 On Sat, 2003-11-01 at 15:58, Brett I. Holcomb wrote:
  No.  It agreed with the docs from Jan's site so I left it.
 
   BTW - Did you ever try changing the fstab entry that Jack is using?

 Cool. I'll go back and look at that again carefully. The values I gave
 you before were the ones on my PlanetCCRMA Redhat box. Those values are
 probably specific to the way Fernando built those RPMs.

 There is something strange going on with my system and Jack. qjackctl
 (nd Jack in a terminal) ran, and then it wouldn't run. I finally did a
 complete power down, rebooted, and it ran, once, and then it wouldn't
 run again. It seems to be complaining about shm stuff which is why I
 asked what you did.

 I've just rebooted and Jack is running with qjackctl. I can stop and
 restart it fine right now. Very strange. I haven't had problems like
 this in a long time.

 Thanks,
 Mark

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Jack-audio-connection

2003-11-01 Thread Mark Knecht
On Sat, 2003-11-01 at 17:26, Brett I. Holcomb wrote:
 Jan answered my email on ardour-users mail list and had me run it in root.  
 Ardour runs fine as root. I figure he was just trying to find out if it even 
 runs.  I'd like to run it as user although I understand the realtime jack 
 doesn't run except as root.  At this point I don't think I need that.
 
 These problems keep us from getting too complacent G. 

Yep, you're right. Run Jack and Ardour as root and it's fine. I did a
quick 8 channel recording. No problems.

Thanks for the info.

Now, are you going to use it? ;-)




--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Jack-audio-connection

2003-11-01 Thread Brett I. Holcomb
Well, I think so - after all this trouble I need to do something with it.G. 
 However, I still would like to know why I have to do it as root but until 
that gets answered I'll just su - and run jack, then go to another xterm and 
run ardour.  It would be nice if jack would go to the background  The root 
requirement bothers me.

Before I do anything with it I'm going back to read the Ardour help and 
ProTools reference manual I downloaded so I can figure out how to record!  I 
tried to record but couldn't get  the connections correct so I got nothing.

Of the others I'll probably also try Audacity as it seemed to work for me 
better and I could make sense of it.  Rezound just doesn't click with me and 
sweep seems to be more an editor than letting you record.  I have to record 
into a selction but I don't have one when I'm starting new!

On Saturday 01 November 2003 21:21, you wrote:
 On Sat, 2003-11-01 at 17:26, Brett I. Holcomb wrote:
  Jan answered my email on ardour-users mail list and had me run it in
  root. Ardour runs fine as root. I figure he was just trying to find out
  if it even runs.  I'd like to run it as user although I understand the
  realtime jack doesn't run except as root.  At this point I don't think I
  need that.
 
  These problems keep us from getting too complacent G.

 Yep, you're right. Run Jack and Ardour as root and it's fine. I did a
 quick 8 channel recording. No problems.

 Thanks for the info.

 Now, are you going to use it? ;-)

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Jack-audio-connection

2003-11-01 Thread Mark Knecht
On Sat, 2003-11-01 at 18:36, Brett I. Holcomb wrote:
 Well, I think so - after all this trouble I need to do something with it.G. 
  However, I still would like to know why I have to do it as root but until 
 that gets answered I'll just su - and run jack, then go to another xterm and 
 run ardour.  It would be nice if jack would go to the background  The root 
 requirement bothers me.

Yes, it bothered me too. Paul Davis has some comments about that in the
README, and possibly on his web site.

The PlanetCCRMA kernel uses a patch called the capabilities patch which
grants certain root capabilities to a user. The Planet flow is set up to
use a program called jackstart (which we don't have on Gentoo, but I
have requested in the past) which then allows you to run as a user but
still get realtime capabilities. I'm pretty sure that on my Planet box I
can run Ardour as a user this way, but I don't really remember.

Paul's pretty lax about this sort of thing. Of course, he'll tell you
the program is beta so you shouldn't be surprised if it blows your
machine away! (Fortunately that has not happened to the best of my
knowledge!)
 
 Before I do anything with it I'm going back to read the Ardour help and 
 ProTools reference manual I downloaded so I can figure out how to record!  I 
 tried to record but couldn't get  the connections correct so I got nothing.
 
 Of the others I'll probably also try Audacity as it seemed to work for me 
 better and I could make sense of it.  Rezound just doesn't click with me and 
 sweep seems to be more an editor than letting you record.  I have to record 
 into a selction but I don't have one when I'm starting new!

Yep, they're all different, and thanks to the architecture of Alsa,
pretty much every sound card works a little differently. None the less,
at least for live audio Audacity is very easy to use. For recording a CD
I don't know how to use it, or if it can be used.

Cheers,
Mark


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Jack-audio-connection

2003-10-31 Thread brett holcomb
Yes.  I found that and built it with that.  Thanks.

On Fri, 31 Oct 2003 04:18:18 +0100
 Meka[ni] [EMAIL PROTECTED] wrote:
On Thu, 30 Oct 2003 22:24:39 -0500
Brett I. Holcomb [EMAIL PROTECTED] wrote:
3.  Any ideas on why ardour might lockup so badly.  I 
haven't been able to 
get any data since I have to use the hardware reset.

Thanks.
	Did you put jack in USE flag when you were emerging 
ardour?


Meka[ni]
--
[EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Jack-audio-connection

2003-10-31 Thread brett holcomb
Thank you for the answers.

1.  That clears that up.  I have another problem then. I 
didn't know about real time as root.  

2.  I'll check the tmpfs.  My Gentoo is setup with 
whatever is standard and I don't remember what's in tmpfs 
right now.

I used the .9x build in portage.  I was going to use CVS 
but it shows up as a .6x version.  The ebuild may fetch 
the most recent version but I haven't found out yet.

Thanks again.



On Thu, 30 Oct 2003 19:56:18 -0800
 Mark Knecht [EMAIL PROTECTED] wrote:
Brett, 
   I'm not running Ardour these days, but I have used it 
a lot. Most of
this is from memory.

Mark
1.  Shouldn't I be able to run jack as a user or can I 
start it as root and 
let it run.  Will it service any users who need it then?
Jack can run as either root or brett. All Jack 
applications must run as
the same user, either root or brett. Jack will not 
service all users.

A couple of things about Jack. It now uses tmpfs, so you 
need that
loaded in fstab I think. On my Gentoo box it seems to be 
there, but
mounted at /dev/shm. I don't know what Jack thinks of 
that, but it works
for me. On my PlanetCCRMA system it's mounted at 
/var/lib/jack/tmp,
which I'm sure is what the developers intended. Maybe you 
can make more
sense out of this than me!

A second thing about Jack is that it will only run with 
real-time
scheduling (not really required, but advantageous) if you 
run as root,
not as brett. This should not be required for testing. 
You'll just get
more xruns if you don't use it.

2.  Why is ardour not seeing jack when it's running - my 
understanding is 
that Jack runs as root and then ardour will make a 
connection to it.
If Ardour runs as root, then yet.

3.  Any ideas on why ardour might lockup so badly.  I 
haven't been able to 
get any data since I have to use the hardware reset.
Depends on which version you are running. There was a 
release early this
week that locked up, but then that was supposedly fixed.

Are you using an ebuild or building from CVS?

- Mark

--
[EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Jack-audio-connection

2003-10-31 Thread Mark Knecht
Brett,
   I lost track of what your final answer in this email was answering.
.9x for Ardour or .9x for Jack or qjackctl?

   Also, I do presume that you are running at least 0.9.6 for Alsa, 0.8
for jack, and something close to whatever the Ardour page says the
newest release is

On Fri, 2003-10-31 at 05:00, brett holcomb wrote:
 Thank you for the answers.
 
 1.  That clears that up.  I have another problem then. I 
 didn't know about real time as root.  

There is a capabilities patch in the PlanetCCRMA kernel that allows
users to get real time operation by running jackstart instead of jackd.
There is now an ebuild for the Planet kernel (emerge
planet-ccrma-sources) which includes this, but the ebuild doesn't work
for me. Tried it on two machines. Filed a bug report a few days ago, but
not too much action yet.

To run jack there are a number of options:

jackd -d alsa -d hw
jackd -r -d alsa -d hw (real-time, as root)
jackstart -r -d alsa -d hw (real-time as user) 
jackd -d alsa -r 44100 -d hw   (44.1K for CD audio)
jackd -v -d alsa -d hw (verbose messages)

Thee are more options like buffer numbers and buffer size if you need
them.

 
 2.  I'll check the tmpfs.  My Gentoo is setup with 
 whatever is standard and I don't remember what's in tmpfs 
 right now.

I think this just effects how many xruns you'll get and not whether it
works. My tmpfs settings are just Gentoo standard also, but I'm using a
sound card that costs as much as the PC it's in, so it's better behaved
than a Sound Blaster.

Good luck! I'm surprised you went with Ardour, vs. ReZound or Audacity.

 
 I used the .9x build in portage.  I was going to use CVS 
 but it shows up as a .6x version.  The ebuild may fetch 
 the most recent version but I haven't found out yet.
 
 Thanks again.
 



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Jack-audio-connection

2003-10-31 Thread brett holcomb
Answers inline.

On Fri, 31 Oct 2003 05:23:26 -0800
 Mark Knecht [EMAIL PROTECTED] wrote:
Brett,
   I lost track of what your final answer in this email 
was answering.
.9x for Ardour or .9x for Jack or qjackctl?

   Also, I do presume that you are running at least 
0.9.6 for Alsa, 0.8
for jack, and something close to whatever the Ardour page 
says the
newest release is
Sorry - too many versions G: .9x for Ardour, jack is 
.80, alsa .97 (actually whatever the latest unmasked 
ebuild which is .97 I believe.

On Fri, 2003-10-31 at 05:00, brett holcomb wrote:
Thank you for the answers.

1.  That clears that up.  I have another problem then. I 
didn't know about real time as root.  
There is a capabilities patch in the PlanetCCRMA kernel 
that allows
At this point I'm using the xfs-sources.

To run jack there are a number of options:

jackd -d alsa -d hw
jackd -r -d alsa -d hw (real-time, as root)
jackstart -r -d alsa -d hw (real-time as user) 
jackd -d alsa -r 44100 -d hw   (44.1K for CD audio)
jackd -v -d alsa -d hw (verbose messages)

I used jackd -v -d alsa -d hw:0.  Jackstart doesn't exist 
on the Gentoo install.  I thought I'd get it working, then 
try other features.

Thee are more options like buffer numbers and buffer size 
if you need
them.
Later - my head hurts now G!

2.  I'll check the tmpfs.  My Gentoo is setup with 
whatever is standard and I don't remember what's in 
tmpfs 
right now.

I think this just effects how many xruns you'll get and 
not whether it
works. My tmpfs settings are just Gentoo standard also, 
but I'm using a
sound card that costs as much as the PC it's in, so it's 
better behaved
than a Sound Blaster.
I'll cross the xruns bridge later but I'll check the 
fstab.  Right now I have CMedia built in due to the fact I 
was out of slots.  However, when I free one up I'll put in 
my Turtle Beach Santa Cruz.  I'd like to have one that 
cost more than the PC (it's a dual AMD 1.9 with SCSI RAID 
5 - 6 drives, 5 in RAID,1 hot spare) G!  I was looking 
at getting a Delta 44 or 66 but I have to forgo that for 
now.

Good luck! I'm surprised you went with Ardour, vs. 
ReZound or Audacity.
Actually I'm still testing.  I merged Audacity and Ardour, 
did some work in Audacity (recorded an Ogg file from a CD 
track) and am now playing with Ardour.  I looked at the 
ReZound site and one other you mentioned in your email 
(can't remember the name) also and will probably try them, 
too.  Ardour looks real cool - like a real system.

Thanks again.

--
[EMAIL PROTECTED] mailing list


RE: [gentoo-user] Jack-audio-connection

2003-10-31 Thread Mark Knecht

 Also, I do presume that you are running at least
 0.9.6 for Alsa, 0.8
 for jack, and something close to whatever the Ardour page
 says the
 newest release is

 Sorry - too many versions G: .9x for Ardour, jack is
 .80, alsa .97 (actually whatever the latest unmasked
 ebuild which is .97 I believe.

Just make sure it's 0.9beta8 as some of the more recent revisions have been
crashing


 At this point I'm using the xfs-sources.

And I just use gentoo-source. It's worked fine for me, but I don't need the
real-time stuff on this box.

 
 I used jackd -v -d alsa -d hw:0.  Jackstart doesn't exist
 on the Gentoo install.  I thought I'd get it working, then
 try other features.

Perfect, but you will want the -r 44100 option when you start working with
CDs (if that's what you're still planning on doing) as the default frequency
for Jack is 48K.


 Good luck! I'm surprised you went with Ardour, vs.
 ReZound or Audacity.

 Actually I'm still testing.  I merged Audacity and Ardour,
 did some work in Audacity (recorded an Ogg file from a CD
 track) and am now playing with Ardour.  I looked at the
 ReZound site and one other you mentioned in your email
 (can't remember the name) also and will probably try them,
 too.  Ardour looks real cool - like a real system.

Ardour is pretty deep in what it's trying to accomplish. It's one of the
best audio programs around in the Linux space, but it needs to mature a bit.
Folks like you can help!



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Jack-audio-connection

2003-10-31 Thread brett holcomb
On Fri, 31 Oct 2003 06:30:52 -0800
 Mark Knecht [EMAIL PROTECTED] wrote:

Sorry - too many versions G: .9x for Ardour, jack is
.80, alsa .97 (actually whatever the latest unmasked
ebuild which is .97 I believe.
Just make sure it's 0.9beta8 as some of the more recent 
revisions have been
crashing
I'll try the CVS and see what it wants to pull down.  If 
not I'll do something G.  From the looks of the ebuild 
if I just change the ebuild rev number and version it 
might work.  Also it looks like it just pulls in whatever 
is on CVS despite the fact that it's listed as a .6x 
build.



I used jackd -v -d alsa -d hw:0.  Jackstart doesn't 
exist
on the Gentoo install.  I thought I'd get it working, 
then
try other features.
Perfect, but you will want the -r 44100 option when you 
start working with
CDs (if that's what you're still planning on doing) as 
the default frequency
for Jack is 48K.
CD was a start.  It was handy to test.  I noticed Jack 
goes for 48K.  


Actually I'm still testing.  I merged Audacity and 
Ardour,
did some work in Audacity (recorded an Ogg file from a 
CD
track) and am now playing with Ardour.  I looked at the
ReZound site and one other you mentioned in your email
(can't remember the name) also and will probably try 
them,
too.  Ardour looks real cool - like a real system.
Ardour is pretty deep in what it's trying to accomplish. 
It's one of the
best audio programs around in the Linux space, but it 
needs to mature a bit.
Folks like you can help!
Just a glutton for punishment G - That felt good.  Hit 
me again G.  I thought I'd check them all out which is 
one way of learning more about the art of mixing and DAWs. 
For now I just want to bring in stuff from vinyl, tapes, 
and CDs and put them on CD or disk files so I can preserve 
them or make my own CD.  I have a lot of vinyl and tapes I 
want to preserve.  At some point I may do more.

I'll try this later tonight.

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Jack-audio-connection

2003-10-31 Thread Brett I. Holcomb
I did some more work on it.  I used ardour-cvs and it appears to have 
installed beta8 along with jack 0.89.2.  I'm logged in as my user and I run 
xfce4 as my desktop.  In one xterm window I start jack with jackd -d alsa -d 
hw:0.  In another xterm I run the command ardour and get this message.  

Ardour/GTK 0.412.0 running with libardour 0.698.0
Loading UI configuration file /etc/ardour/ardour_ui.rc
cannot connect to jack server
cannot connect to default JACK server
ardour: [ERROR]: No JACK server found.client name: ardour
Killed

I found (with -v) that jack couldn't get permission to access the device even 
though my user is part of the audio group.

I then logged out, ran as root.  This time jack starts and ardour will start 
so I assume it's a permissions problem although my user can access the sound 
devices without problems.  However, I can't add tracks or busses.  The first 
attempt to add a track gives me can't do this without a new session and 
subsequent attempts (after starting a new session) give me a blank log window 
- it's all a green color background with no text!  I quit ardour and the 
system locked up - had to use the reset button to get it going again.

At this point I suspect that Ardour has serious problems under Gentoo.  If it 
was this badly broken on all systems no one would use it!  I'll probably bug 
this to bugzilla tomorrow after I've  had time to think on it and then try 
some other app like Audacity or some of the others you mentioned.   

The docs on Jack also mention using a /etc/asound.rc  or ~/.asound.rc file to 
set up devices, etc.  Have you found that necessary?

Thanks.

On Friday 31 October 2003 09:30, you wrote:
  Also, I do presume that you are running at least
  0.9.6 for Alsa, 0.8
  for jack, and something close to whatever the Ardour page
  says the
  newest release is
 
  Sorry - too many versions G: .9x for Ardour, jack is
  .80, alsa .97 (actually whatever the latest unmasked
  ebuild which is .97 I believe.

 Just make sure it's 0.9beta8 as some of the more recent revisions have been
 crashing

  At this point I'm using the xfs-sources.

 And I just use gentoo-source. It's worked fine for me, but I don't need the
 real-time stuff on this box.

  I used jackd -v -d alsa -d hw:0.  Jackstart doesn't exist
  on the Gentoo install.  I thought I'd get it working, then
  try other features.

 Perfect, but you will want the -r 44100 option when you start working with
 CDs (if that's what you're still planning on doing) as the default
 frequency for Jack is 48K.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Jack-audio-connection

2003-10-31 Thread Mark Knecht
On Fri, 2003-10-31 at 20:58, Brett I. Holcomb wrote:
SNIP
 
 The docs on Jack also mention using a /etc/asound.rc  or ~/.asound.rc file to 
 set up devices, etc.  Have you found that necessary?

Brett,
   I just snipped the rest out because if the .ardourrc file isn't set
up right then nothing is going to work for you.

   It's been so long since I've set up Ardour from scratch that I'm
going to be doing some guessing here. I think you'll get far better
answers subscribing to the ardour-user list. (FYI - I know that one of
the developers - Jesse Chappel, and at least one other guy who runs a
pro studio, are using Ardour under Gentoo, so don't give up. It will
run.)

   First, copy the ardour.rc file that's in the download directory to
your home directory with a name change

cp path/ardour/ardour.rc ~/.ardourrc

   Second, check Jan Depner's Alsa/Jack/Ardour configuration site for
config ideas. The address is:

http://myweb.cableone.net/eviltwin69/Ardour.html#Configuring

I think (hope, pray) you'll find what you need there. Jan's a great guy
and very organized. He's built this up over the last year. I think it's
probably quite good at this point.

   I'll keep my eyes open for more info on this. Maybe I'll just build
it myself from CVS. I haven't done that in a long time.

Good luck,
MArk


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Jack-audio-connection

2003-10-31 Thread Mark Knecht
On Fri, 2003-10-31 at 20:58, Brett I. Holcomb wrote:
 I did some more work on it.  
SNIP

Brett,
   I built it and it's up and running.

./autogen.sh
./configure
make
make install (as root)

as user

cp path/ardour/ardourrc .ardourrc  (necessary?)

Started Jack using qjackctl

Started Ardour

Looked in qjackctl - no evidence of ardour

Created a new session

Looked in qjackctl - ardour is there

My only problem right now is that after I hook some stuff up, I want to
record but hitting start isn't working.

Anyway, maybe this info will help you. Write back and let me know how it
comes out.

Cheers,
Mark


--
[EMAIL PROTECTED] mailing list



[gentoo-user] Jack-audio-connection

2003-10-30 Thread Brett I. Holcomb
Is anybody using jack-audio-connection successfully with ardour?  I've just 
started trying to use jack and ardour and am not having much success and have 
some connections.

If I run jack as my user (who is a memeber of the audio group) I get a 
message to the effect I don't have permission and it quits.  If I run jack 
(jackd blah blah) as root and then start ardour under my user ardour 
complains that it cannot make a connection.

Some background - I had jack and ardour running briefly last night.  I had 
the mixer up and was able to make an input connection to record a CD track 
and could see the mixer level lights move although I never saw anything on 
the editor page.  However, during this session ardour locked up and I had to 
use the reset switch to restart it.  Today I couldn't get ardour to run and 
when it did it locked up.  I unmerged both jack and ardour and emerged them 
again - same thing.

1.  Shouldn't I be able to run jack as a user or can I start it as root and 
let it run.  Will it service any users who need it then?

2.  Why is ardour not seeing jack when it's running - my understanding is 
that Jack runs as root and then ardour will make a connection to it.

3.  Any ideas on why ardour might lockup so badly.  I haven't been able to 
get any data since I have to use the hardware reset.

Thanks.



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Jack-audio-connection

2003-10-30 Thread Meka[ni]
On Thu, 30 Oct 2003 22:24:39 -0500
Brett I. Holcomb [EMAIL PROTECTED] wrote:
 3.  Any ideas on why ardour might lockup so badly.  I haven't been able to 
 get any data since I have to use the hardware reset.
 
 Thanks.
Did you put jack in USE flag when you were emerging ardour?


Meka[ni]

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Jack-audio-connection

2003-10-30 Thread Mark Knecht
On Thu, 2003-10-30 at 19:18, Meka[ni] wrote:
 On Thu, 30 Oct 2003 22:24:39 -0500
 Brett I. Holcomb [EMAIL PROTECTED] wrote:
  3.  Any ideas on why ardour might lockup so badly.  I haven't been able to 
  get any data since I have to use the hardware reset.
  
  Thanks.
   Did you put jack in USE flag when you were emerging ardour?

Ardour will not run without Jack. For this app I do not think this is an
option.

- Mark


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Jack-audio-connection

2003-10-30 Thread Mark Knecht
On Thu, 2003-10-30 at 19:24, Brett I. Holcomb wrote:
 Is anybody using jack-audio-connection successfully with ardour?  

BTW - which version of Jack are you using? 

Use qjackctl, but don't use the emerge. Build it from the web site and
get version 0.8 or higher. 

http://qjackctl.sourceforge.net/

by hand, try starting jack using 

jackd -d alsa -d hw

and get the version number.

- Mark


--
[EMAIL PROTECTED] mailing list