I'm not sure if this is the right place to send this. If there's a better place where I can get help, please tell me.
I made a rosegarden project and exported it to a MIDI file. When I play this file with Timidity it sounds wrong- too much sustain on every single note. The original file still sounds fine on Rosegarden though. I wanted to check whether the problem is in the exporting or in the playing (in Rosegarden or in Timidity) by importing the MIDI file to Rosegarden, but now when I open QJackCtl it stops immediately after I press "start", so I can't play anything with Rosegarden.
Another issue I had (when QJackCtl worked properly) was that Rosegarden constantly crashed every now and then.
Can anyone help me?
Here's the output from QJackCtl, in case it's relevant:
23:46:36.389 Patchbay deactivated.
23:46:36.390 Statistics reset.
23:46:36.392 ALSA connection change.
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
23:46:36.399 ALSA connection graph change.
(qjackctl:1955): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion `GTK_IS_WIDGET (widget)' failed
(qjackctl:1955): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion `GTK_IS_WIDGET (widget)' failed
23:46:42.259 ALSA connection graph change.
23:46:42.416 ALSA connection change.
23:47:45.756 JACK is starting...
23:47:45.757 /usr/bin/jackd -dalsa -dhw:0 -r48000 -p1024 -n2
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
(qjackctl:1955): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion `GTK_IS_WIDGET (widget)' failed
(qjackctl:1955): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion `GTK_IS_WIDGET (widget)' failed
23:47:45.781 JACK was started with PID=1994.
Cannot create thread 1 Operation not permitted
Cannot create thread 1 Operation not permitted
Cannot create thread 1 Operation not permitted
jackdmp 1.9.8
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2011 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 60
Cannot lock down 107302426 byte memory area (Cannot allocate memory)
control device hw:0
control device hw:0
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:0
ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Cannot initialize driver
JackServer::Open() failed with -1
Failed to open server
23:47:46.131 JACK was stopped with exit status=255.
PS: note that I don't know much about Linux or Fedora or these programs.
On 13 December 2012 21:52, A. A. aa1696@gmail.com wrote:
I'm not sure if this is the right place to send this. If there's a better place where I can get help, please tell me.
This is a good place to start at least.
I made a rosegarden project and exported it to a MIDI file. When I play this file with Timidity it sounds wrong- too much sustain on every single note.
Afraid I can't help with Timidity.
The original file still sounds fine on Rosegarden though. I wanted to check whether the problem is in the exporting or in the playing (in Rosegarden or in Timidity) by importing the MIDI file to Rosegarden, but now when I open QJackCtl it stops immediately after I press "start", so I can't play anything with Rosegarden.
It sounds like something else, probably pulseaudio, is using the soundcard (the output you posted also seems to show that). Can you try adding this to 'Execute script on startup' in the QJackCtl setup menu, options tab: pulseaudio -k
Another issue I had (when QJackCtl worked properly) was that Rosegarden constantly crashed every now and then.
What version of Fedora are you using? Also versions of Rosegarden, QJackCtl and Jack would be useful, you can get these at the command line: rpm -q jack-audio-connection-kit qjackctl rosegarden4
It might be that not being in realtime mode is causing crashes, see https://fedoraproject.org/wiki/JACK_Audio_Connection_Kit#Running_Jack_in_Rea... or it might just be a bug in your version of Rosegarden.
Here's the output from QJackCtl, in case it's relevant:
Yes, this bit shows it trying to get control of the sound card (hw0) and failing.
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:0
ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
Cannot initialize driver
JackServer::Open() failed with -1
Sanity check, do you have only one sound device connected? In QJackCtl settings if you click the '>' button next to settings does it show different audio devices?
On 12/13/2012 10:52 PM, A. A. wrote:
I'm not sure if this is the right place to send this. If there's a better place where I can get help, please tell me.
I made a rosegarden project and exported it to a MIDI file. When I play this file with Timidity it sounds wrong- too much sustain on every single note. The original file still sounds fine on Rosegarden though. I wanted to check whether the problem is in the exporting or in the playing (in Rosegarden or in Timidity) by importing the MIDI file to Rosegarden, but now when I open QJackCtl it stops immediately after I press "start", so I can't play anything with Rosegarden.
Are you using at the same soundfont in Rosegarden and Timidity?
There is soundfount ramping in timidity which you can configure. Default is none.
man timidity