View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 12 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Feb 12, 2006 5:53 pm 
Offline
Joined: Thu Nov 10, 2005 11:11 pm
Posts: 12
Hi all,

I recently did a fresh install of 30.2 and setup optical audio out via ALSA:spdif setting in mythmusic and mythtv setup pages. While this works great for TV and video when I listen to music via mythmusic playback is too fast. Any ideas on how to correct this?

Thanks,
Chris


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 18, 2006 7:55 pm 
Offline
Joined: Thu Feb 09, 2006 11:44 am
Posts: 12
Location: Louisville / Shepherdsville KY
I'm having the same problem. I'm not using the spdif, just analog audio. I ripped a CD after I got everything up and running, but the music is playing way too fast.

I would be interested in a solution for this too. :)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 11, 2006 7:07 pm 
Offline
Joined: Sat Mar 11, 2006 3:51 pm
Posts: 2
Location: Atlanta, GA
Yeah, same issue. I have many MP3s that are <128k, and MythMusic plays them all too fast. Unfortunately, it appears that MythMusic is just a module used by the mythfrontend (/usr/lib/mythtv/plugins/libmythmusic.so), or is simply a re-invented prioprietary player with no usable configuration file. I've done a fair amount of searching, and can find no documentation on MythMusic or any way to alter its playback rate. Possibly a MySQL db somewhere that contains all these settings? I certainly hope they're not contained in the module...

_________________
"There has been an alarming increase in the things you know nothing about." --fortune


Top
 Profile  
 
 Post subject: 44khz
PostPosted: Sun Mar 12, 2006 12:21 am 
Offline
Joined: Thu Nov 10, 2005 11:11 pm
Posts: 12
I think the issue might be in ALSA playing back music that is 44hz at 48hz. I am sure that the difference in speed is a 44vs48hz mixup but I don't understand why the problem is in mythmusic alone.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 12, 2006 1:11 pm 
Offline
Joined: Thu Feb 09, 2006 11:44 am
Posts: 12
Location: Louisville / Shepherdsville KY
I have to report that my mp3's are working fine now. After a reboot, everything was fine. I don't know what the problem was, but it has never returned.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 12, 2006 3:23 pm 
Offline
Joined: Fri Feb 24, 2006 10:27 pm
Posts: 11
had the same problem, was bizarre. Music played fast in mythmusic and mythstream, but was fine in tv.

A reboot cured the problem thankfully. It hasn't returned. It definitely sounded like a 44hz played at 48hz problem.


Top
 Profile  
 
 Post subject: 44KHz vs 48KHz fix
PostPosted: Sun Mar 12, 2006 3:44 pm 
Offline
Joined: Sun May 08, 2005 2:48 am
Posts: 107
Location: New Zealand
I had this problem and I solved it.
The speedup is definately caused by 44 vs 48 K.

I'm not at home - but when I get there I'll post a copy of my fix.

In the meantime - here is an article that shows an answer which is looks very similar to mine:

http://www.gossamer-threads.com/lists/engine?do=post_view_printable;post=169884;list=mythtv
The key section is:
Quote:
The
following .asoundrc (have spent whole evening on figuring it out :-)
does exactly what I always wanted:
=========
pcm.!default {
type plug
slave {
pcm "spdif"
rate 48000
format S16_LE
}
}
=========
BTW, the "format" line might not even be necessary. The key is the "rate
48000" (converts 32 and 44 kHz to SPDIF's 48 kHz) and pcm
"spdif" (routes sound via the digital out). With this and "ALSA:default"
set up everywhere (both TV and Music) everything plays correctly via the
digital out, including real digital AC3 5.1 passthrough sound from HD
channels. I am excited!


Cheers.
Paul.


Top
 Profile  
 
 Post subject: Fix for fast sound...
PostPosted: Mon Mar 13, 2006 2:41 am 
Offline
Joined: Sun May 08, 2005 2:48 am
Posts: 107
Location: New Zealand
Here's what works for me...

You have a choice of using a ~/.asoundrc or /etc/asound.conf.
I used the latter.

Code:
mythtv@mythtv:~$ cat /etc/asound.conf

pcm_slave.test
{
  pcm "spdif"
  rate 48000
}

pcm.rate_convert
{
  type rate
  slave test
}


Then all mention of sound device (I think its called) in myth was changed to:
Code:
ALSA:rate_convert


And thats it!


Top
 Profile  
 
PostPosted: Thu Mar 16, 2006 3:00 pm 
Offline
Joined: Sat Mar 11, 2006 3:51 pm
Posts: 2
Location: Atlanta, GA
tuatara wrote:
Here's what works for me...

You have a choice of using a ~/.asoundrc or /etc/asound.conf.
I used the latter.

Code:
mythtv@mythtv:~$ cat /etc/asound.conf

pcm_slave.test
{
  pcm "spdif"
  rate 48000
}

pcm.rate_convert
{
  type rate
  slave test
}


Then all mention of sound device (I think its called) in myth was changed to:
Code:
ALSA:rate_convert


And thats it!


Okay, this is almost there. The question is, what do I edit? There's no option under 'Music Settings' to specify 'ALSA:<plugin>' anywhere...where are you editing this?

_________________
"There has been an alarming increase in the things you know nothing about." --fortune


Top
 Profile  
 
PostPosted: Thu Mar 16, 2006 4:41 pm 
Offline
Joined: Sun May 08, 2005 2:48 am
Posts: 107
Location: New Zealand
I'll check when I get home tonite (NZT).
Its not something you select from a drop down box - it
needs to be typed in.
Cheers.

breetie wrote:
tuatara wrote:
Here's what works for me...

You have a choice of using a ~/.asoundrc or /etc/asound.conf.
I used the latter.

Code:
mythtv@mythtv:~$ cat /etc/asound.conf

pcm_slave.test
{
  pcm "spdif"
  rate 48000
}

pcm.rate_convert
{
  type rate
  slave test
}


Then all mention of sound device (I think its called) in myth was changed to:
Code:
ALSA:rate_convert


And thats it!


Okay, this is almost there. The question is, what do I edit? There's no option under 'Music Settings' to specify 'ALSA:<plugin>' anywhere...where are you editing this?


Top
 Profile  
 
PostPosted: Sat Mar 18, 2006 12:58 am 
Offline
Joined: Sun May 08, 2005 2:48 am
Posts: 107
Location: New Zealand
OK: Go to:
Setup
Media Settings
Music Settings
General Settings
Audio Device: ALSA:rate_convert
You have to type this in - its not a combo.

The other place you can configure an audio device is:
Setup
General
Audio page
Audio Output Device:
Mine is set to: ALSA:spdif.
I guess it doesn't matter since music is the only place that there are 44.1KHz feeds.

Cheers.

tuatara wrote:
I'll check when I get home tonite (NZT).
Its not something you select from a drop down box - it
needs to be typed in.
Cheers.

breetie wrote:
tuatara wrote:
Here's what works for me...

You have a choice of using a ~/.asoundrc or /etc/asound.conf.
I used the latter.

Code:
mythtv@mythtv:~$ cat /etc/asound.conf

pcm_slave.test
{
  pcm "spdif"
  rate 48000
}

pcm.rate_convert
{
  type rate
  slave test
}


Then all mention of sound device (I think its called) in myth was changed to:
Code:
ALSA:rate_convert


And thats it!


Okay, this is almost there. The question is, what do I edit? There's no option under 'Music Settings' to specify 'ALSA:<plugin>' anywhere...where are you editing this?


Top
 Profile  
 
 Post subject: Thanks!
PostPosted: Sat Mar 18, 2006 12:08 pm 
Offline
Joined: Thu Nov 10, 2005 11:11 pm
Posts: 12
Thanks for all your help! Both solutions fixed the problem in mythmusic.


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 9 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:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu