LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 02-18-2007, 08:56 AM   #1
ubuntuuser1
LQ Newbie
 
Registered: Feb 2007
Location: Texas
Distribution: Ubuntu 6.10
Posts: 7

Rep: Reputation: 0
"System timer resolution is set too low..."any help out there? Thanks


That's the error message I get from Rosegarden explaining why I have no sound when playing a midi file. It goes on to say my timing rate is 250 and probably needs to be 1000 or something like that. Audio works fine in other programs but I have no midi in any of the other programs. I'm using a sb live snd card with Ubuntu 6xxx (i can look up the xxx if needed) with gnome. Any help would be appreciated. thanks
 
Old 02-18-2007, 06:25 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,805

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
This might answer your question:

http://help.lockergnome.com/linux/Ro...ict392767.html
 
Old 02-19-2007, 03:03 PM   #3
ubuntuuser1
LQ Newbie
 
Registered: Feb 2007
Location: Texas
Distribution: Ubuntu 6.10
Posts: 7

Original Poster
Rep: Reputation: 0
system timer

Thanks, bigrigdriver. That addresses the problem.
 
Old 02-19-2007, 07:27 PM   #4
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
you load midi fonts into sblive with the utility
sfxload
the command would look like
sfxload -D 0 /path/to/soundfonts/somesoundfont.sf2

you can find some simple soundfont files on the sblive windows install disk

to unload soundfonts
sfxload -i
 
Old 03-01-2007, 05:19 PM   #5
ubuntuuser1
LQ Newbie
 
Registered: Feb 2007
Location: Texas
Distribution: Ubuntu 6.10
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks Studioj. Help me out: sfxload is for oss...right? asfx is for alsa...right? Which one is the best to use? What is the practical difference? I have loaded Timidity and Qsynth and loaded sndfonts with them and that worked ok. But, I'm sure that uses more system resources than the synth that is on my SB Live sound card...right? thanks
 
Old 03-02-2007, 04:06 AM   #6
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
Quote:
Originally Posted by ubuntuuser1
Thanks Studioj. Help me out: sfxload is for oss...right? asfx is for alsa...right? Which one is the best to use? What is the practical difference? I have loaded Timidity and Qsynth and loaded sndfonts with them and that worked ok. But, I'm sure that uses more system resources than the synth that is on my SB Live sound card...right? thanks
yea you are right asfxoad uses native alsa where sfxload uses alsa oss emulation.

i swear sfxload sounds way better here so just check them out yourself and use the one you like best.

in terms of system resources i think using hardware synth is better but i'm not sure. once again i always think hardware synth sounds better. plus i always have soft synths running too, the more synths the better ;-) i can use huge soundfont files here with my sb live on an amd64 cpu and it works great using oss emulation.

so many different versions of sblive out there before they stopped selling them so you just have to see what work best. i personally love having a fast hardware synth.

theoretically soft synths might have more latency problems but they are not slow enough to cause any problems here. i guess like all things music you just have to check it out and see what blows best.

i have mine load the soundfonts at boot and unload at shutdown
 
Old 03-03-2007, 04:11 AM   #7
ubuntuuser1
LQ Newbie
 
Registered: Feb 2007
Location: Texas
Distribution: Ubuntu 6.10
Posts: 7

Original Poster
Rep: Reputation: 0
midi

Thanks, again. If you don't mind, I would love to know how to load at startup like you do.
 
Old 03-03-2007, 01:27 PM   #8
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
you just stick the commands in the alsa startup/shutdown script.
for debian etch i put it in /etc/init.d/alsa-utils
i assume you have debian like ubuntu so i will post a little section from the script so you can see what i mean
Code:
case "$1" in
  start)
	EXITSTATUS=0
	TARGET_CARD="$2"
	case "$TARGET_CARD" in
	  ""|all) TARGET_CARD=all ; log_action_begin_msg "Setting up ALSA" ;;
	  *) log_action_begin_msg "Setting up ALSA card ${TARGET_CARD}" ;;
	esac
	card_OK "$TARGET_CARD" || log_action_end_msg_and_exit "$( [ ! "$2" ] ; echo $? ; )" "none loaded"
	preinit_levels "$TARGET_CARD" || EXITSTATUS=1
	if ! restore_levels "$TARGET_CARD" ; then
		sanify_levels "$TARGET_CARD" || EXITSTATUS=1
		restore_levels "$TARGET_CARD" >/dev/null 2>&1 || :
	fi
        echo "loading midi fonts.."
        /usr/bin/sfxload -D 0 /usr/local/soundfonts/PC51f.sf2
	log_action_end_msg_and_exit "$EXITSTATUS"
	;;
  stop)
	EXITSTATUS=0
	TARGET_CARD="$2"
	case "$TARGET_CARD" in
	  ""|all) TARGET_CARD=all ; log_action_begin_msg "Shutting down ALSA" ;;
	  *) log_action_begin_msg "Shutting down ALSA card ${TARGET_CARD}" ;;
	esac
	card_OK "$TARGET_CARD" || log_action_end_msg_and_exit "$( [ ! "$2" ] ; echo $? ; )" "none loaded"
	store_levels "$TARGET_CARD" || EXITSTATUS=1
	mute_and_zero_levels "$TARGET_CARD" || EXITSTATUS=1
        echo "unloading midi fonts.."
        /usr/bin/sfxload -i
	log_action_end_msg_and_exit "$EXITSTATUS"
	;;
 
Old 03-03-2007, 06:16 PM   #9
ubuntuuser1
LQ Newbie
 
Registered: Feb 2007
Location: Texas
Distribution: Ubuntu 6.10
Posts: 7

Original Poster
Rep: Reputation: 0
midi problems

Thanks again, Studioj. I really appricate you taking the time to help me with this stuff. I didn't know what file to alter. I'll try this. Keep making music.
 
  


Reply

Tags
midi, sound


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
Fedora Core 2: Screen Resolution can not change from "800X600" to "1024X 768" suhaimi_sj Fedora - Installation 18 12-17-2009 04:29 AM
How to set the size of icons for "Starterbar" in "Gdekslets" Blue Jacket Linux - Software 4 11-23-2005 03:42 AM
"window system doesnot support openGL" caused by changing resolution caicaicherry Fedora 1 04-10-2005 12:29 AM
"X-MS" cant open because "x-Multimedia System" cant access files at "smb&qu ponchy5 Linux - Networking 0 03-30-2004 12:18 AM


All times are GMT -5. The time now is 08:09 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration