View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Sep 17, 2004 10:09 am 
Offline
Joined: Fri Sep 17, 2004 9:56 am
Posts: 2
I just bought a new USB sound card (Creative Audigy 2 NX) and I'm trying to use it with MythMusic on KnoppMyth R4V4.

It turns out that the Audigy has a sample rate problem -- it wants everything in 48000 Hz, not the 44100 Hz that most of my music is stored in. After quite a bit of effort, I finally got that problem licked using ALSA. Now, when I play a WAV file using aplay, the ALSA driver automatically converts the sample rate and the music sounds fine.

However, when I try to use MythMusic, it still sounds horrible -- it's obviously suffering from the 44100/48000 problem but I can't figure out how to fix it. The only thing I know to change is the "Audio output device" setting in the "General" setup area. However, MythMusic is ignoring that setting. I can put totally bogus values in that box and MythMusic still sounds the same -- no error messages at all.

Is there a way to make MythMusic use ALSA or at least go through ALSA's OSS emulation? What does the "Audio output device" setting do? Anyone have any suggestions or should I just return my Audigy?

-- Myron


Top
 Profile  
 
 Post subject: Got it.
PostPosted: Fri Sep 24, 2004 8:56 am 
Offline
Joined: Fri Sep 17, 2004 9:56 am
Posts: 2
Thanks for the help, everyone.

I got it working, in case you're interested. There were a number of things involved. The first thing was a patch, posted to the mythtv-dev mailing list on 6/4/2003 that enables ALSA support in MythMusic 0.15.1. You can find it here:
http://www.gossamer-threads.com/lists/m ... 0112#10112

Next, libmythmusic.so had to be recompiled. Since KnoppMyth does not have the necessary packages installed by default to recompile MythTV, a lot of downloading, upgrading and cursing was required (mostly using apt-get).

After that, I discovered that downloading the latest QT development packages broke the QT MySQL libraries somehow so mythbackend wouldn't even start. Why? Dunno.

So, after saving my work and reinstalling, I had a working vanilla KnoppMyth system again. After copying my new libmythmusic.so file and my new ALSA/modules configuration files into place, I was ready to try again. (NOTE: "reinstalling" actually took a few dozen tries -- "manual install" does NOT install a working KnoppMyth system and "auto install" cannot NOT reformat your hard drive. That makes it challenging to save your music/files during a reinstall.)

Lastly, since the "Audio output device" setting doesn't change MythMusic, I found out that you have to run a SQL command to change the setting in the MySQL database. To do that, run:
$ mysql -u root mythconverg
mysql> UPDATE settings SET data='ALSA:default' WHERE value = 'AudioDevice';

So now I have a working KnoppMyth box with a Creative Audigy 2 NX USB audio card playing Ogg Vorbis files through an optical connection to my receiver. It sounds fantastic -- no hiss, no distortion. Hopefully the MythTV guys will include this patch in the next version of MythMusic so I won't have to jump through these hoops again.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 24, 2004 12:40 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
well just wanted to let you know now that you have already finished the install method you were looking for was autoupgrade. it will do a fresh install, but leave hda1 ( the myth partition where video and music files live) alone.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu