Need help setting up audio in Linux
Hi. As a composer/arranger, I've used Sibelius under Windows for years, and would like to try MuseScore under Linux. I've installed MuseScore 1.2 in my Linux Mint 14 64-bit partition, and it looks great, but there's no audio at all. Audio works for other applications (YouTube, mp3s, wavs, oggs, etc.) but nothing from MuseScore. I need to hear notes as I input them, and need to play draft scores.
I haven't changed the factory settings, but here is a screenshot of my MuseScore I/O preferences:
Here are the errors I see when I open MuseScore from a terminal:
$ mscore
PulseAudio found, but no need to suspend. Starting mscore.real...
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
registerPlugin: add action idx 1
Load plugin: no menu property
preferences.checkUpdateStartup: 168
lastupdate: 01.01.2013 18:20:12.000
Any tips would be welcome!
Attachment | Size |
---|---|
MuseScore-Prefences-IO-20130102.png | 53.73 KB |
Comments
The first thing I would check is whether the Soundfont is being recognised.
Open the Synthesiser page and check that there is a Soundfont listed in the Soundfont box.
If not, install a suitable soundfont by clicking on the square button to the immediate right.
If that is not the problem come back here.
I have had MuseScore running properly under Linux, but ISTR I had to initially fiddle with the sound settings to get it to go.
Unfortunately my Linux partition won't boot at the moment due to a complete reinstall of Windows XP which overwrote the GRUB bootloader.
In reply to The first thing I would check by ChurchOrganist
@ChurchOrganist,
Thanks. I should have mentioned in my original post that I had checked that. It recognizes this soundfont:
/usr/share/sounds/sf2/TimGM6mb.sf2
If you have a live CD or DVD of your Linux distro, you can reinstall grub by following the procedure at this link:
https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows
Hey! Attaching my settings that work fine on my computer.
In reply to Audio settings by Magnus Johansson
@Magnus,
Thanks, but when I tried that my playback didn't work at all any more. I reset MuseScore back to factory settings and playback worked again, but alas, no sound.
In reply to Didn't work for me by kwatson703
care to explain what a working playback without sound is?
In reply to care to explain what a by Jojo-Schmitz
I think K Watson is referring to working playback in other applications than MuseScore.
In reply to Didn't work for me by kwatson703
You're welcome. So you get no sound from other applications when using my settings in MuseScore, is that so?
In reply to No success by Magnus Johansson
@Jojo-Schmitz,
Sorry if I was unclear. What I meant by playback working was that I could see the line traveling across the score. But there was still no sound. When I had set things up acording to Magnus's recommendation, playback was grayed out and nothing happened at all.
In reply to Movement, but no sound by kwatson703
Ah, thanks.
In reply to Movement, but no sound by kwatson703
Did you manually compile musescore or get with apt?
Manual compilation requires you have portaudio-dev and alsa headers.
If you have JACK audio installed, you can use qjackctl to connect musescore in the ALSA tab.
In reply to My guess by eynstyne
No, I installed it from the repos using Synaptic. That way I could ensure all dependencies were met. I do not have JACK installed - should I?
In reply to From the repos by kwatson703
For applications like Ardour, OpenOctaveMidi, Muse and expecially Musescore but virtually any linux application that has audio, you can use JACK to route the audio input output to another application (effects processor/recorder).
JACK is similar to ASIO but with more output ports. qjackctl or patchage are the best graphical apps to view & make connections. If there still isn't any output, in JACK settings, you can use a different driver e.g: ALSA, OSS, PulseAudio etc. and maybe one of those will give you luck, but ALSA is the default. Otherwise, you'll have to dig deeper.
In reply to More possibilities by eynstyne
@eynstyne,
Thanks! I installed qjackctl via synaptic, and that fixed the problem. No further tweaking required!
In reply to Audio settings by Magnus Johansson
How did you check the ALSA Audio line? Mine is solid gray.
In reply to How did you check the ALSA by kentfx
Well, actually, I didn't check the ALSA audio line. After installing qjackctl, everything "just worked," so I didn't dig any deeper.
I did notice that I had to have my digital piano turned on and connected to the computer before starting MuseScore, so that it would be recognized as an input device.