No sound with KX Studio

What other apps and distros do you use to round out your studio?

Moderators: MattKingUSA, khz

Pablo
Established Member
Posts: 1274
Joined: Thu Apr 17, 2008 9:57 pm
Been thanked: 3 times

Re: No sound with KX Studio

Post by Pablo »

"speaker-test -c2" generates no sound neither
The output looks OK but now I realize that speaker-test defaults to the onboard card.
So you have to specify the device, which I gave to you incorrectly in a previous post. What is the output of

aplay -L

?

I suggested mplayer for being command line based so in theory easier to copy/paste messages rather than taking screenshots,
but maybe it was not a good idea...
Another jack-aware media player is audacious with the jack output selected via audacious: Sound --> Preferences.

Jack ports and connections seem OK, with the pulseaudio jack sink front-left and right connected to system playbacks 1 and 2
(system playbacks 1 and 2 should be m-audio oouts 1 and 2). So, this is correct:
PulseAudio JACK Sink:front-left
system:playback_1
PulseAudio JACK Sink:front-right
system:playback_2
The rest of the channels are not used, but pulseaudio should know about this. I remember having changed some
pulseaudio configuration file when I had a M2496 years ago. I wonder, nowadays it should just work but you never know.

I don't know what else you can try, there is something wrong but unfortunately I can't reproduce your situation
in my laptop.

EDIT: I am reading the last posts of the other thread "No MIDI sound with Rosegarden". Just a note about Catia screenshots:
You can drag the black boxes to fit them in the screen.
User avatar
Mister Mint
Established Member
Posts: 152
Joined: Wed Nov 11, 2015 10:17 am
Has thanked: 5 times
Been thanked: 1 time

Re: No sound with KX Studio

Post by Mister Mint »

Pablo wrote:What is the output of

aplay -L

?
tl@tl-P5Q-SE ~ $ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
aloopPlayback
aloopCapture
aloopDuplex
default
Playback/recording through the PulseAudio sound server
cloop
ploop
sysdefault:CARD=Intel
HDA Intel, ALC1200 Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
HDA Intel, ALC1200 Digital
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
Direct sample mixing device
dmix:CARD=Intel,DEV=1
HDA Intel, ALC1200 Digital
Direct sample mixing device
dsnoop:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
Direct sample snooping device
dsnoop:CARD=Intel,DEV=1
HDA Intel, ALC1200 Digital
Direct sample snooping device
hw:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
Direct hardware device without any conversions
hw:CARD=Intel,DEV=1
HDA Intel, ALC1200 Digital
Direct hardware device without any conversions
plughw:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
Hardware device with all software conversions
plughw:CARD=Intel,DEV=1
HDA Intel, ALC1200 Digital
Hardware device with all software conversions
sysdefault:CARD=Loopback
Loopback, Loopback PCM
Default Audio Device
dmix:CARD=Loopback,DEV=0
Loopback, Loopback PCM
Direct sample mixing device
dmix:CARD=Loopback,DEV=1
Loopback, Loopback PCM
Direct sample mixing device
dsnoop:CARD=Loopback,DEV=0
Loopback, Loopback PCM
Direct sample snooping device
dsnoop:CARD=Loopback,DEV=1
Loopback, Loopback PCM
Direct sample snooping device
hw:CARD=Loopback,DEV=0
Loopback, Loopback PCM
Direct hardware device without any conversions
hw:CARD=Loopback,DEV=1
Loopback, Loopback PCM
Direct hardware device without any conversions
plughw:CARD=Loopback,DEV=0
Loopback, Loopback PCM
Hardware device with all software conversions
plughw:CARD=Loopback,DEV=1
Loopback, Loopback PCM
Hardware device with all software conversions
sysdefault:CARD=M2496
M Audio Audiophile 24/96, ICE1712 multi
Default Audio Device
front:CARD=M2496,DEV=0
M Audio Audiophile 24/96, ICE1712 multi
Front speakers
surround40:CARD=M2496,DEV=0
M Audio Audiophile 24/96, ICE1712 multi
4.0 Surround output to Front and Rear speakers
surround41:CARD=M2496,DEV=0
M Audio Audiophile 24/96, ICE1712 multi
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=M2496,DEV=0
M Audio Audiophile 24/96, ICE1712 multi
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=M2496,DEV=0
M Audio Audiophile 24/96, ICE1712 multi
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
iec958:CARD=M2496,DEV=0
M Audio Audiophile 24/96, ICE1712 multi
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=M2496,DEV=0
M Audio Audiophile 24/96, ICE1712 multi
Direct sample mixing device
dsnoop:CARD=M2496,DEV=0
M Audio Audiophile 24/96, ICE1712 multi
Direct sample snooping device
hw:CARD=M2496,DEV=0
M Audio Audiophile 24/96, ICE1712 multi
Direct hardware device without any conversions
plughw:CARD=M2496,DEV=0
M Audio Audiophile 24/96, ICE1712 multi
Hardware device with all software conversions

I installed audacious and set its output channel for Jack, and then wrote audacious instead of mplayer, but get this:

tl@tl-P5Q-SE ~ $ audacious -ao jack jnd.mp3
audacious: Unknown option -ao
Try `audacious --help' for more information.
Pablo wrote: EDIT: I am reading the last posts of the other thread "No MIDI sound with Rosegarden". Just a note about Catia screenshots:
You can drag the black boxes to fit them in the screen.
Thanks! :D
Pablo
Established Member
Posts: 1274
Joined: Thu Apr 17, 2008 9:57 pm
Been thanked: 3 times

Re: No sound with KX Studio

Post by Pablo »

I installed audacious and set its output channel for Jack, and then wrote audacious instead of mplayer, but get this:
Just use the audacious GUI. But first do the speaker test, see below.

So, now if you don't mind, another command line speaker-test, after closing Cadence, and kill the jackd processes

killall -9 jackd jackdbus

(twice as always, if jackdbus doesn't die, make sure you quit Cadence, and try again until both processes are not found)
An then (first CHECK THAT SPEAKERS ARE AT LOW VOLUME) and:

speaker-test -Dfront:M2496 -c2

I hope now it's working. Is it producing pink noise?
User avatar
Mister Mint
Established Member
Posts: 152
Joined: Wed Nov 11, 2015 10:17 am
Has thanked: 5 times
Been thanked: 1 time

Re: No sound with KX Studio

Post by Mister Mint »

Some weird things happened.. After the "killall -9 jackd jackdbus" command I did the speaker-rest command but forgot the language command "export LANG=C". Then I copied "export LANG=C" but at the moment I pasted it into the terminal, a lot of other stuff appeared, incl. lines from your post, before "tl@tl-P5Q-SE ~ $ export LANG=C". Strange :shock: Anyways, then I did the speaker-test command (which didn't produce any sound). Here's the full story:

tl@tl-P5Q-SE ~ $ killall -9 jackd jackdbus
jackd: ingen proces fundet
tl@tl-P5Q-SE ~ $ killall -9 jackd jackdbus
jackd: ingen proces fundet
jackdbus: ingen proces fundet
tl@tl-P5Q-SE ~ $ speaker-test -Dfront:M2496 -c2

speaker-test 1.0.27.2

Afspilningsenhed er front:M2496
Strømparametre er 48000Hz, S16_LE, 2 kanaler
Bruger 16 oktaver af lyserød larm
Lydprøveformat ikke tilgængeligt for afspilning: Ugyldigt argument
Kunne ikke angive hwparams: Ugyldigt argument
tl@tl-P5Q-SE ~ $
tl@tl-P5Q-SE ~ $
tl@tl-P5Q-SE ~ $ Re: No sound with KX Studio
Re:: kommando ikke fundet
tl@tl-P5Q-SE ~ $
tl@tl-P5Q-SE ~ $ Postby Pablo » Wed Dec 30, 2015 4:29 pm
Postby: kommando ikke fundet
tl@tl-P5Q-SE ~ $
tl@tl-P5Q-SE ~ $ Playback unit is hw:2
Playback: kommando ikke fundet
tl@tl-P5Q-SE ~ $ Current parameters are 48000Hz, S16_LE, 2 channels
Current: kommando ikke fundet
tl@tl-P5Q-SE ~ $ WAV-files
WAV-files: kommando ikke fundet
tl@tl-P5Q-SE ~ $ Sound test format not accessible for playback: Invalid argument
Ingen kommando ved navn "Sound" blev fundet. Mente du istedet:
Kommandoen "pound" fra pakken "pound" (universe)
Sound: kommando ikke fundet
tl@tl-P5Q-SE ~ $ Could not set hwparams: Invalid argument
Could: kommando ikke fundet
tl@tl-P5Q-SE ~ $
tl@tl-P5Q-SE ~ $
tl@tl-P5Q-SE ~ $
tl@tl-P5Q-SE ~ $ Oops, it works in my box but try without "-twav". It should produce pink noise.
Oops,: kommando ikke fundet
tl@tl-P5Q-SE ~ $ By the way, you can tell the terminal to print in English, this is:
By: kommando ikke fundet
tl@tl-P5Q-SE ~ $
tl@tl-P5Q-SE ~ $ export LANG=C
tl@tl-P5Q-SE ~ $ speaker-test -Dfront:M2496 -c2

speaker-test 1.0.27.2

Playback device is front:M2496
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Sample format not available for playback: Invalid argument
Setting of hwparams failed: Invalid argument

("Kommando ikke fundet" means "command not found")

Another strange/funny thing: As always, it's only the player in Kid3 that produces sound, but now it plays very slowly, and also the pitch is low! :shock:

As for Mplayer, my software manager says it's installed but I don't see it anywhere.. There's a video player installed called 'Videoer' (meaning videos), but when I start/open it my PC freezes, and I have to turn off the power directly :x Here's a screenshot of it:
Skærmbillede-Videoer.png
Skærmbillede-Videoer.png (60.16 KiB) Viewed 839 times
Last edited by Mister Mint on Tue Jan 05, 2016 2:57 am, edited 1 time in total.
Pablo
Established Member
Posts: 1274
Joined: Thu Apr 17, 2008 9:57 pm
Been thanked: 3 times

Re: No sound with KX Studio

Post by Pablo »

Another strange/funny thing: As always, it's only the player in Kid3 that produces sound, but now it plays very slowly, and also the pitch is low! :shock:
Weird.

Also, speaker-test doesn't work as I would expect.

There is something wrong with your system,
As for Mplayer, my software manager says it's installed but I don't see it anywhere
mplayer is a command-line program. There are GUIs for mplayer.

Could you post some screenshots of mudita24?
User avatar
Mister Mint
Established Member
Posts: 152
Joined: Wed Nov 11, 2015 10:17 am
Has thanked: 5 times
Been thanked: 1 time

Re: No sound with KX Studio

Post by Mister Mint »

Here you are:
Skærmbillede-Envy24 Control Utility 1.0.4 (M Audio Audiophile 24-96 at 0xec00, irq 16).png
Skærmbillede-Envy24 Control Utility 1.0.4 (M Audio Audiophile 24-96 at 0xec00, irq 16).png (72.6 KiB) Viewed 831 times
Skærmbillede-Envy24 Control Utility 1.0.4 (M Audio Audiophile 24-96 at 0xec00, irq 16)-2.png
Skærmbillede-Envy24 Control Utility 1.0.4 (M Audio Audiophile 24-96 at 0xec00, irq 16)-2.png (39.78 KiB) Viewed 831 times
Skærmbillede-Envy24 Control Utility 1.0.4 (M Audio Audiophile 24-96 at 0xec00, irq 16)-1.png
Skærmbillede-Envy24 Control Utility 1.0.4 (M Audio Audiophile 24-96 at 0xec00, irq 16)-1.png (39.72 KiB) Viewed 831 times
The Monitor Inputs were already down, but the Monitor PCMs were up, so I've turned them down now. And Analog Volume is up.

In the meantime some sound preference settings have changed by itself, see here:

viewtopic.php?f=1&t=14931&p=67666&e=67666

Also, the cooling fan now changes speed all the time, but I guess that has nothing to do with it.
Pablo
Established Member
Posts: 1274
Joined: Thu Apr 17, 2008 9:57 pm
Been thanked: 3 times

Re: No sound with KX Studio

Post by Pablo »

I really don't know what happens.

I second glowrak guy's opinion that you should try AVLinux, from a Live DVD.
AVLinux doesn't install pulseaudio. It is simpler. You will be using qjacktl (I don't think AVLinux features Cadence),
but that is irrelevant. Use mudita24 and then qjackctl making sure you select the M2496

Or try installing KXstudio from scratch (I think that you have added the repos to Linux Mint,
which is not exactly the same).
User avatar
Mister Mint
Established Member
Posts: 152
Joined: Wed Nov 11, 2015 10:17 am
Has thanked: 5 times
Been thanked: 1 time

Re: No sound with KX Studio

Post by Mister Mint »

Yes, I will try AVLinux (and should probably have done from the start, but always easy to be wise in hindsight! :roll:) Good to hear it's simpler, this splitting in Jack and Pulse must have confused quite a few other than me. But in any case I have got some new knowledge from all this, and you have all been a great help, I really appreciate it. Thanks a lot!

And perhaps we meet again when I've installed AVLinux - and run into a new headache :oops: :lol:
User avatar
Mister Mint
Established Member
Posts: 152
Joined: Wed Nov 11, 2015 10:17 am
Has thanked: 5 times
Been thanked: 1 time

Re: No sound with KX Studio

Post by Mister Mint »

Hi again, now it work! :D Don't ask me why cause I made no changes the last time the computer was turned on. But both the players and Ardour make sound now, and the tempo /pitch is also normal again. That's really weird, and I hope it will last, but both players and sequencer working simultaneously is new, and a promising sign, so I cross my fingers... Anyway, without your help I would still hear absolutely nothing, so thanks again :)
Pablo
Established Member
Posts: 1274
Joined: Thu Apr 17, 2008 9:57 pm
Been thanked: 3 times

Re: No sound with KX Studio

Post by Pablo »

Cool :)

Let's hope this will last
Post Reply