LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-15-2012, 10:41 AM   #1
briandc
Member
 
Registered: Sep 2011
Location: Italy
Distribution: KXStudio, Bodhi Linux, AntiX, Mint
Posts: 91

Rep: Reputation: Disabled
Controlling JACK audio (QjackCtl)


Hi everyone,
I have JACK running as default client, but I can't hear anything, and all clients requiring Jack don't open.

What am I missing?

Much thanks.

brian
 
Old 04-15-2012, 11:41 AM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,686
Blog Entries: 23

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Hi Brian!

Okay, well, I use Jack to connect musical instruments together. However, if it's just sound, ALSA should do fine.
Try to open the front end and look into the connections tab. At the left are the "providers" and at the right the "consumers" (as I call them, dont quote me here ) - expand a provider and a consumer and drag a line from the left to the right to connect them...
There should be sound.
By the way, was ALSA unmuted? It happens that the thing is muted...check with the alsamixer first...it's part of the alsautils if you still need to install it...

Good luck

Thor
 
Old 04-15-2012, 01:56 PM   #3
briandc
Member
 
Registered: Sep 2011
Location: Italy
Distribution: KXStudio, Bodhi Linux, AntiX, Mint
Posts: 91

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Thor_2.0 View Post
Hi Brian!

Okay, well, I use Jack to connect musical instruments together. However, if it's just sound, ALSA should do fine.
Try to open the front end and look into the connections tab. At the left are the "providers" and at the right the "consumers" (as I call them, dont quote me here ) - expand a provider and a consumer and drag a line from the left to the right to connect them...
There should be sound.
By the way, was ALSA unmuted? It happens that the thing is muted...check with the alsamixer first...it's part of the alsautils if you still need to install it...

Good luck

Thor
Hi Thor,

funny, I am trying to make Jack control my Yamaha synth as a MIDI controller, and control virtual synths on my PC. But I get error messages when I open QJackCtl.

Any thoughts?

Brian
 
Old 04-15-2012, 03:15 PM   #4
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,686
Blog Entries: 23

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
funny, I am trying to make Jack control my Yamaha synth as a MIDI controller, and control virtual synths on my PC. But I get error messages when I open QJackCtl.

Any thoughts?
Yes I have! In fact, this is just like my setup here, except I use a Siel DK80...

Okay, here's the drill.
If you use the PC to record your music, you possibly use Ardour. If so, that starts Jack up by itself.
At any rate, you can start it up yourself. Here's my drill (mileage may vary):

I have two PC's a synth and a recorder. The synth gets controlled by the keys over a USB MIDI cable. Slight snag: it could be MIDI IN and OUT are swapped. Happened to me. What is "in" and from what perspective is it in...
Once booted, I start Jack up. Then, I start the application up that needs MIDI control, in my case: AmSynth.
Once fired up, I return to Jack and look into the ALSA tab. At the left as well as the right, you should see the MIDI cable and your synth, AmSynth in my case. I'd expand both until I see the MIDI section, I drag a line from that to the section in the AmSynth section. Then, when I play the synth, AmSynth receives signals from the MIDI cable, as connected.
The output goes to a mixing panel, from that the mixed stuff goes to the input of the recording PC. Straight into Ardour.
A MIDI sequencer takes the same drill: connect the cable IN to the controller to record MIDI, or...connect the sequencer to the MIDI OUT cable (in the tab) to allow the sequencer to control the instrument.
Be aware of the channels, on my synth channel 1 is labeled 0 in my sequencer...

Let's see where the music is, shall we?

Thor
 
Old 04-15-2012, 05:22 PM   #5
briandc
Member
 
Registered: Sep 2011
Location: Italy
Distribution: KXStudio, Bodhi Linux, AntiX, Mint
Posts: 91

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Thor_2.0 View Post
Yes I have! In fact, this is just like my setup here, except I use a Siel DK80...

Okay, here's the drill.
If you use the PC to record your music, you possibly use Ardour. If so, that starts Jack up by itself.
At any rate, you can start it up yourself. Here's my drill (mileage may vary):

I have two PC's a synth and a recorder. The synth gets controlled by the keys over a USB MIDI cable. Slight snag: it could be MIDI IN and OUT are swapped. Happened to me. What is "in" and from what perspective is it in...
Once booted, I start Jack up. Then, I start the application up that needs MIDI control, in my case: AmSynth.
Once fired up, I return to Jack and look into the ALSA tab. At the left as well as the right, you should see the MIDI cable and your synth, AmSynth in my case. I'd expand both until I see the MIDI section, I drag a line from that to the section in the AmSynth section. Then, when I play the synth, AmSynth receives signals from the MIDI cable, as connected.
The output goes to a mixing panel, from that the mixed stuff goes to the input of the recording PC. Straight into Ardour.
A MIDI sequencer takes the same drill: connect the cable IN to the controller to record MIDI, or...connect the sequencer to the MIDI OUT cable (in the tab) to allow the sequencer to control the instrument.
Be aware of the channels, on my synth channel 1 is labeled 0 in my sequencer...

Let's see where the music is, shall we?

Thor
Hi Thor,

My set-up is quite close to yours. I have an external yamaha synth that I connected to my PC by USB. I installed some virtual synths, such as amsynth, mx44, Bristol, Hexter and Phasex. I also installed Jack. And I installed Patchage, which is perfect for seeing the whole thing work.
And it worked well on Lubuntu.
But on both UbuntuStudio and AVLinux, although Jack is "default," when I power on the external synth, and open a virtual one, it crashes. Even Patchage, which "sees" Jack, won't connect to it. Ironically, only amsynth works, but latency is an issue.

I guess I had "beginner's luck" on Lubuntu; but there are always conflicts between Jack and Alsa.

I'll check back tomorrow..

brian
 
Old 04-17-2012, 02:30 PM   #6
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,686
Blog Entries: 23

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
I guess I had "beginner's luck" on Lubuntu; but there are always conflicts between Jack and Alsa.
Nono, you were spot on!
Let's go one step at a time, here. I use Debian - the "mom" of the 'buntu girls - and it works pretty well. Latency is not much of an issue, the tuning into the rest of the instruments is where I hit the wall...hearing them togehter sounds like cats playing the synths, but well...

Okay, if you start nothing up except the jackCtl, what happens? Can you access the patchbay? If so...would Patchage kill the thing? I'd try to run a session without Patchage and see what happens...

CVheking back!

Thor
 
Old 04-17-2012, 02:37 PM   #7
briandc
Member
 
Registered: Sep 2011
Location: Italy
Distribution: KXStudio, Bodhi Linux, AntiX, Mint
Posts: 91

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Thor_2.0 View Post
Nono, you were spot on!
Let's go one step at a time, here. I use Debian - the "mom" of the 'buntu girls - and it works pretty well. Latency is not much of an issue, the tuning into the rest of the instruments is where I hit the wall...hearing them togehter sounds like cats playing the synths, but well...

Okay, if you start nothing up except the jackCtl, what happens? Can you access the patchbay? If so...would Patchage kill the thing? I'd try to run a session without Patchage and see what happens...

CVheking back!

Thor
Thanks Thor. Here's the latest: I am now using BodhiLinux (again) which I like because it's really light, build-it-up-yourself. With much help from the forum there, I learned that I needed to run a command (sudo modprobe snd-seq) And this command appears to "activate" jack.
Then, I open QJackCtl and click "start." It's on.

Then I open kaconnect (not patchage, although it doesn't crash anymore).

Then I open the synth that I want to use, and I can see both the external keyboard and the synth in kaconnect. Select them, click "connect" and voilą! I'm running fine, and (I think) in realtime, since there seems to be very very low latency.

Whatd'ya think?


Brian
 
Old 04-17-2012, 02:56 PM   #8
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,686
Blog Entries: 23

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
Whatd'ya think?
What I think? I think I hear music!
So, where are you publishing? Soundcloud? Any other? You own site? I'd like to hear some stuff!

Happy there was music in the end.

I looked into MX44 - wow, what a setup. I'll try that here too! Thanks for mentioning this!

Glad the wrinkles got ironed out!

Thor
 
Old 04-17-2012, 03:15 PM   #9
briandc
Member
 
Registered: Sep 2011
Location: Italy
Distribution: KXStudio, Bodhi Linux, AntiX, Mint
Posts: 91

Original Poster
Rep: Reputation: Disabled
Well, I don't put stuff on a site--- at least not yet!
But I like to hear good sounds. mx44 is pretty powerful; some sounds are pretty deep. If you like the Yamaha DX7 sound, try "Hexter." I don't know if there's a way to modify the sounds, but there are some very convincing (and pleasant!) ones to try.

Phasex is also good. I hope to have it running again soon. Lots of virtual knobs to work with!

Brian
 
Old 04-17-2012, 03:38 PM   #10
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,686
Blog Entries: 23

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Well, I always wanted to get my (virtual) fingers on something Moog like. AmSynth comes close, very close.

What do you use to record with? I use Ardour mostly...outgrew Audacity. It's good but Ardour has more possibilities, though I never tried to program Audacity with Nylex yet...

Thor
 
Old 04-17-2012, 05:58 PM   #11
briandc
Member
 
Registered: Sep 2011
Location: Italy
Distribution: KXStudio, Bodhi Linux, AntiX, Mint
Posts: 91

Original Poster
Rep: Reputation: Disabled
At the moment, I just use Audacity. My synth has a sequencer built-in, and I still use that if I want to make things that are "complicated" a bit more quickly. Then record it via audio lines into Audacity.

Having said that, I also see that Audacity (and probably Audour, which I am not yet very acquainted with) can layer audio tracks. Doing things this way would mean saving polyphony, which can be advantageous.

Here's a link to a bunch of other audio sound platforms, most which I haven't tried. http://wiki.linuxaudio.org/apps/start

Go down to where it says: Audio application list and click on Sound Synthesis. Fun!

I've discovered that Lubuntu had Phasex in the repositories; Bodhi doesn't. But with Bodhi I've had success with another virtual synth called ZynAddSubFX (in the link). This synth is really nice. Click on the voice button in the middle of the app, and you can select a bank of sounds. Some are really good.

Then there are others like the Alsa Modular Synth, where you select parts (oscillator, filter, amp, etc) and plug them together with "cables" on the screen, and get sound. I'm not good with it, but if you have experience with old synths that required audio cables plugged in, this is similar.

Brian
 
Old 04-17-2012, 10:48 PM   #12
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,686
Blog Entries: 23

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
Having said that, I also see that Audacity (and probably Audour, which I am not yet very acquainted with) can layer audio tracks. Doing things this way would mean saving polyphony, which can be advantageous.
Yes, this is the main advantage of programss like Audacity. Consider this:

- open Audacity
- crank up the volume of the speakers
- hit the record button
- play a track
- hit stop and rewind
- save (if needed)
- hit the record (again)
- play the next track
- keep this up until all tracks are played
- set the individual tracks in the left/right spectrum (stereo)
- add some effects if required
- save one last time
- export as MP3 or Flac
- publish

This is what Audacity stands for...Ardour too, by the way...but that one is a bit more complex.
I've got a mixing panel (Soundcraft EPM6) between the intruments and the record PC...but that may well be optional.

Thor

Last edited by ButterflyMelissa; 04-17-2012 at 10:53 PM.
 
Old 04-18-2012, 08:10 AM   #13
briandc
Member
 
Registered: Sep 2011
Location: Italy
Distribution: KXStudio, Bodhi Linux, AntiX, Mint
Posts: 91

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Thor_2.0 View Post
Yes, this is the main advantage of programss like Audacity. Consider this:

- open Audacity
- crank up the volume of the speakers
- hit the record button
- play a track
- hit stop and rewind
- save (if needed)
- hit the record (again)
- play the next track
- keep this up until all tracks are played
- set the individual tracks in the left/right spectrum (stereo)
- add some effects if required
- save one last time
- export as MP3 or Flac
- publish

This is what Audacity stands for...Ardour too, by the way...but that one is a bit more complex.
I've got a mixing panel (Soundcraft EPM6) between the intruments and the record PC...but that may well be optional.

Thor
What I've found though, is that each record must not be too high. If the first record is at full volume (without clicking, of course), any additional records will make things to "full." So it's probably better to start with lower volume, so that other records (tracks) don't make things too much.

A mixing panel is always nice; especially if you need to add voice or other external instruments. Like a bagpipe.


brian
 
Old 04-18-2012, 12:17 PM   #14
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,686
Blog Entries: 23

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
A mixing panel is always nice; especially if you need to add voice or other external instruments. Like a bagpipe
...or if you have more than one instrument...

Well, at any rate, you'll be able to reach me if you do publish something...because I'd like to hear your stuff one day!

Wellness to you

Thor
 
Old 04-18-2012, 12:33 PM   #15
briandc
Member
 
Registered: Sep 2011
Location: Italy
Distribution: KXStudio, Bodhi Linux, AntiX, Mint
Posts: 91

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Thor_2.0 View Post
...or if you have more than one instrument...

Well, at any rate, you'll be able to reach me if you do publish something...because I'd like to hear your stuff one day!

Wellness to you

Thor
It's been nice to chat. (And thanks for the help, too!)
Feel free to email me. write me from my small website on my profile here.

(I did post some small music "ideas" on the motifator.com forum a while back.)

brian

Last edited by briandc; 04-18-2012 at 12:36 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set up realtime audio, Mandriva 2009.0, Ardour, qjackctl, UA-25EX edirole. GlennsPref Mandriva 2 01-27-2009 12:32 AM
problem with audio in jack Ma Peche Linux - Software 1 03-15-2008 07:02 AM
qjackctl - "Could not connect to JACK server as client" oskar Linux - Software 2 07-09-2007 10:51 PM
Rosegarden, jack, qjackctl error: "can't connect to server as client" deep_inda_jungl Mandriva 3 02-21-2007 12:45 AM
Linux Audio: Connecting Rosegarden to Ardour via qjackctl? mikejedw Linux - Software 0 08-19-2004 03:01 AM


All times are GMT -5. The time now is 10:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration