Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problems with wavefiles in amarok/xmms/audacious
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
fenk
n00b
n00b


Joined: 26 Jan 2007
Posts: 28

PostPosted: Wed Jan 31, 2007 4:03 pm    Post subject: problems with wavefiles in amarok/xmms/audacious Reply with quote

hi!

i would really like to be able to play wavefiles without problems... but:

amarok crashes when reading waves created by cubase sx
xmms does load waves correctly in the playlist, but skips them instead of playing
audacious plays waves, but it takes an eternity until the playlist is loaded, and when fastforwarding/backwarding it crashes sometimes.

is there something wrong with libsndfile??? or what is it? these wavefiles were no problem in windows...
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Wed Jan 31, 2007 5:43 pm    Post subject: Re: problems with wavefiles in amarok/xmms/audacious Reply with quote

fenk wrote:
hi!

i would really like to be able to play wavefiles without problems... but:

amarok crashes when reading waves created by cubase sx
xmms does load waves correctly in the playlist, but skips them instead of playing
audacious plays waves, but it takes an eternity until the playlist is loaded, and when fastforwarding/backwarding it crashes sometimes.

is there something wrong with libsndfile??? or what is it? these wavefiles were no problem in windows...


Well, you might be aware that cubase (I think since sx) can work with high resolution tracks (24 bits and above). That is fine, but usually is not supported by many programs, which stick to 44khz / 16bits audio cd quality. In fact, 24 bits and higher are only usefull on the mixing stage, when you are working with tracks. Once you have the mixdown, you must convert it to 16 bits, which is the standard for high quality (audio cd) wave files. Our ear cannot hear any deeper and, anyway, when you dump it into an audio cd, it will be 16 bits.

I suspect that that might be your problem, if not, then just ignore the explanation above ;)
Back to top
View user's profile Send private message
fenk
n00b
n00b


Joined: 26 Jan 2007
Posts: 28

PostPosted: Wed Jan 31, 2007 7:14 pm    Post subject: Reply with quote

sorry i have to disappoint you: all the wavefiles i want to play are carefully mixed in 16bit44khz to be playable with standard apps. i indeed use higher resolutions while recording and mixing (which i for the near future still intend to do in cubase... to learn not too much new software at a time). the files we're talking about were also used live on stage, so they had to be waterproof. ;)
Back to top
View user's profile Send private message
fenk
n00b
n00b


Joined: 26 Jan 2007
Posts: 28

PostPosted: Wed Jan 31, 2007 7:41 pm    Post subject: Reply with quote

p.s.

aplay works without problems, but aplay is not very useful for me...
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Wed Jan 31, 2007 8:15 pm    Post subject: Reply with quote

Well, then that is not the problem :P I had to ask it hehe, since I have seen that happen many times.

So we can start looking into other things. Even wav files can be encoded on many different ways, you could try to change the mix down options to another encoding scheme. I don't know what version of cubase you are using, and even if I knew I really don't remember the exact output formats that each version can handle. There are many, and I don't know what you are using, so I can't tell any more details.

You said that aplay works, then maybe we can dig a bit more about the thing with the output of aplay -v [file], not that I am an expert in sound formats hehe, but it is just an idea.

I assume the file size is not insane either.
Back to top
View user's profile Send private message
fenk
n00b
n00b


Joined: 26 Jan 2007
Posts: 28

PostPosted: Wed Jan 31, 2007 8:45 pm    Post subject: Reply with quote

well, i wouldn't like to change all the wavefiles... the only way of changing the problem is to open them with a soundeditor and just save them, without any changes. but for a total of several hours wavefiles this is not the best solution.
aplay -v says strange things (what is it now?! 44khz as it should, or 48khz?)

Playing WAVE '/mnt/e/ultrabert4-2/ultrabert4-22-darkness.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Plug PCM: Rate conversion PCM (48000, sformat=S16_LE)
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 15052
period_size : 940
period_time : 21333
tick_time : 0
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 940
xfer_align : 940
start_threshold : 15040
stop_threshold : 15052
silence_threshold: 0
silence_size : 0
boundary : 986447872
Slave: Soft volume PCM
Control: PCM Playback Volume
min_dB: -51
resolution: 256
Its setup is:
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 16
buffer_size : 16384
period_size : 1024
period_time : 21333
tick_time : 0
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 1024
xfer_align : 1024
start_threshold : 16384
stop_threshold : 16384
silence_threshold: 0
silence_size : 0
boundary : 1073741824
Slave: Direct Stream Mixing PCM
Its setup is:
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 16
buffer_size : 16384
period_size : 1024
period_time : 21333
tick_time : 0
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 1024
xfer_align : 1024
start_threshold : 16384
stop_threshold : 16384
silence_threshold: 0
silence_size : 0
boundary : 1073741824
Hardware PCM card 0 'Intel 82801DB-ICH4' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 16
buffer_size : 16384
period_size : 1024
period_time : 21333
tick_time : 1000
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 1024
xfer_align : 1024
start_threshold : 1
stop_threshold : 1073741824
silence_threshold: 0
silence_size : 1073741824
boundary : 1073741824
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Wed Jan 31, 2007 10:58 pm    Post subject: Reply with quote

The wave format seems ok. I dont really know what the problem can be.

My old VIA sound chip worked also with a sampling rate of 48 khz, but that never was an obstacle to play any sound file that I can remember. The message seems a bit scary though. I wonder why aplay can play that ok while the others do not. If audacity fails, well, then there is no mistery, it is known to be a bit unstable still. But amarok should be ok.

I don't know why certain chips tune themselves to this sampling rate, I know that in via it caused problems like noise on all the programs. But yours seems to be another problem, since aplay can handle it ok, so I doubt the problem is at driver or hardware level. I am out of ideas for now, sorry. If I think of something more I will let you know.

Just one thing, are all the apps you tried using the same output plugin? Xine for example?

If so, you could try mplayer or something like that, if that works, kaffeine can use mplayer as backend, and that could be a solution.
Back to top
View user's profile Send private message
fenk
n00b
n00b


Joined: 26 Jan 2007
Posts: 28

PostPosted: Thu Feb 01, 2007 12:00 pm    Post subject: Reply with quote

i'm not at home right now, but i remember, that amarok uses xine. in audacious i can not select anything but alsa and arts, i chose alsa. same with xmms. maybe there might be the way to a solution... didn't check, what mplayer says. thanks so far, i hope that maybe also others will contribute ideas about this.

edit:
no change about the problem, but i found out that audacious ignores the "pause" button, at least when playing waves... quite annoying feature.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum