|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Dec 2004
Messaggi: 3573
|
Alsa,dmix,upmixing and resampling@SRC_SINC_BEST_QUALITY algorithm from libsamplerate
.asoundrc:
Codice:
defaults.pcm.rate_converter "samplerate_best"
pcm.snd_card {
type hw
card 0 # change to your cards number or name
}
# 6 channel dmix:
pcm.dmix6 {
type dmix
ipc_key 1024
ipc_key_add_uid false # let multiple users share
ipc_perm 0660 # IPC permissions (octal, default 0600)
slave {
pcm snd_card # see below
rate 48000
channels 6
period_time 0
period_size 1024 # try 2048 against skipping
buffer_time 0
buffer_size 5120 # in case of problems reduce this
# in case of skipping, try increasing
}
}
# upmixing:
pcm.ch51dup {
type route
slave.pcm dmix6
#slave.pcm nodmix # soluzione temporanea che ho adottato finchè non riesco a far funzionare l'upmixing con dmix
slave.channels 6
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
ttable.0.4 0.5
ttable.1.4 0.5
ttable.0.5 0.5
ttable.1.5 0.5
}
pcm.duplex {
type asym
playback.pcm "ch51dup" # upmix first
# playback.pcm "dmix6" # just pass to 6 channel dmix
# capture.pcm "dsnoop:0" # doesn't work for me
capture.pcm "snd_card"
}
# change default device:
pcm.!default {
type plug
slave.pcm "duplex"
}
# for aoss
pcm.dsp "duplex"
pcm.dsp1 "duplex"
# no dmix
pcm.!nodmix {
type plug
slave {
pcm surround51
rate 48000
channels 6
}
}
Se utilizzo l'upmixing e dmix mi da il seguente errore, e non riesco a capire perchè... Googlando ho trovato solo questo. Sapete aiutarmi? errore: Codice:
niko@debian:~/Desktop$ aplay -f cd -D default test.wav Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo ALSA lib pcm_params.c:2152:(snd_pcm_hw_refine_slave) Slave PCM not usable aplay: set_params:882: Broken configuration for this PCM: no configurations available
__________________
Debian amd64 | Gentoo amd64 | AMD Athlon64 3800+ X2@2701Mhz vcore 1.49V | Placing an unpatched Windows computer directly onto the Internet in the hope that it downloads the patches faster than it gets exploited are odds that you wouldn't bet on in Vegas | e-mail+jabber: darkbasic|a.t|linuxsystems|d.o.t|it | www.linuxsystems.it Ultima modifica di darkbasic : 19-03-2007 alle 15:15. |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Dec 2004
Messaggi: 3573
|
up
__________________
Debian amd64 | Gentoo amd64 | AMD Athlon64 3800+ X2@2701Mhz vcore 1.49V | Placing an unpatched Windows computer directly onto the Internet in the hope that it downloads the patches faster than it gets exploited are odds that you wouldn't bet on in Vegas | e-mail+jabber: darkbasic|a.t|linuxsystems|d.o.t|it | www.linuxsystems.it |
|
|
|
|
|
#3 |
|
Senior Member
Iscritto dal: Dec 2004
Messaggi: 3573
|
up
__________________
Debian amd64 | Gentoo amd64 | AMD Athlon64 3800+ X2@2701Mhz vcore 1.49V | Placing an unpatched Windows computer directly onto the Internet in the hope that it downloads the patches faster than it gets exploited are odds that you wouldn't bet on in Vegas | e-mail+jabber: darkbasic|a.t|linuxsystems|d.o.t|it | www.linuxsystems.it |
|
|
|
|
|
#5 |
|
Senior Member
Iscritto dal: Dec 2004
Messaggi: 3573
|
Appena esce alsa-1.0.14 vedo se il problema si ripresenta, anche se probabilmente nel frattempo avrò un'audiophile 192
P.S. In experimental sono ancora fermi alla 1.0.14rc1...
__________________
Debian amd64 | Gentoo amd64 | AMD Athlon64 3800+ X2@2701Mhz vcore 1.49V | Placing an unpatched Windows computer directly onto the Internet in the hope that it downloads the patches faster than it gets exploited are odds that you wouldn't bet on in Vegas | e-mail+jabber: darkbasic|a.t|linuxsystems|d.o.t|it | www.linuxsystems.it |
|
|
|
|
|
#6 | ||
|
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
Quote:
Quote:
Consiglio un pò di a entrambi Ok ora che hai letto bene il messaggio Stai eseguendo user64/kernel64? Avresti modo di provare user32/kernel32?
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
||
|
|
|
|
|
#7 | |||||
|
Senior Member
Iscritto dal: Dec 2004
Messaggi: 3573
|
Quote:
![]() Quote:
Quote:
Quote:
Forse con una knoppix, però...
__________________
Debian amd64 | Gentoo amd64 | AMD Athlon64 3800+ X2@2701Mhz vcore 1.49V | Placing an unpatched Windows computer directly onto the Internet in the hope that it downloads the patches faster than it gets exploited are odds that you wouldn't bet on in Vegas | e-mail+jabber: darkbasic|a.t|linuxsystems|d.o.t|it | www.linuxsystems.it |
|||||
|
|
|
|
|
#8 |
|
Member
Iscritto dal: Sep 2006
Città: Roma
Messaggi: 178
|
__________________
|
|
|
|
|
|
#9 |
|
Senior Member
Iscritto dal: Dec 2004
Messaggi: 3573
|
Niente tranquillo... abbiamo soltanto fatto ridere un pò ilsensine
![]() Ad ogni modo, ho provato il mio .asoundrc sulla debby i386 di un mio amico che ha la stessa scheda audio e restituisce lo stesso errore. Temo che non potrò incolpare i 64 bit questa volta... P.S. Appena ho un pò di tempo faccio un'altra ricerchina e poi scrivo nella ml alsa.
__________________
Debian amd64 | Gentoo amd64 | AMD Athlon64 3800+ X2@2701Mhz vcore 1.49V | Placing an unpatched Windows computer directly onto the Internet in the hope that it downloads the patches faster than it gets exploited are odds that you wouldn't bet on in Vegas | e-mail+jabber: darkbasic|a.t|linuxsystems|d.o.t|it | www.linuxsystems.it |
|
|
|
|
|
#10 |
|
Member
Iscritto dal: Jan 2006
Messaggi: 291
|
Salve a tutti, ho anch'io lo stesso problema con UBUNTU 9.04 e ALSA. Ci sono novità per caso?
Sono un novizio di Linux, quindi mi scuso in anticipo se ho fatto errori banali, in ogni caso ho seguito questa guida e quando avvio aplay ho il seguente errore: Playing raw data 'test.mp3' : Unsigned 8 bit, Rate 8000 Hz, Mono aplay: set_params:939: Broken configuration for this PCM: no configurations available Grazie mille! P. S.: ho una SB Audigy 2 NX USB, in ogni caso il test degli altoparlanti funziona, anche se a volume molto più basso per i laterali e posteriori |
|
|
|
|
|
#11 |
|
Senior Member
Iscritto dal: Dec 2004
Messaggi: 3573
|
Cerca nel forum, ho scritto altri post sull'argomento, alcuni dei quali per la M-Audio Revolution 7.1 e altre config con filtri passa basso e passa alto per il sub-woofer e per i tweeter.
__________________
Debian amd64 | Gentoo amd64 | AMD Athlon64 3800+ X2@2701Mhz vcore 1.49V | Placing an unpatched Windows computer directly onto the Internet in the hope that it downloads the patches faster than it gets exploited are odds that you wouldn't bet on in Vegas | e-mail+jabber: darkbasic|a.t|linuxsystems|d.o.t|it | www.linuxsystems.it |
|
|
|
|
|
#12 | |
|
Member
Iscritto dal: Jan 2006
Messaggi: 291
|
Quote:
Ho cercato, ho letto molti tuoi thread sull'argomento, molto approfonditi tra l'altro, ma purtroppo anche copiando i tuoi esempi non funziona! Sono abbastanza nuovo di linux quindi magari mi perdo qualcosa, ho sottoposto il problema anche ad amici un pochino piu esperti ma nulla da fare Michele |
|
|
|
|
|
|
#13 |
|
Member
Iscritto dal: Jan 2006
Messaggi: 291
|
Soluzione di backup
Buongiorno a tutti,
posto la soluzione che ho trovato (non è esattamente quello che provavo a fare inizialmente, ma è forse è anche meglio). Utilizzando MPlayer, c'è la possibilità di fare dei mix e delle copie di canali; lanciando questo comando: mplayer -ao alsa:device=hw=NX.0 test.mp3 -af pan=6:1:0:0.5:0.5:1:0:0:1:0.5:0.5:0:1 effettuo l'upmix di un file a due canali a 5.1. Con il comando: ./aplay -L potete vedere il nome dei vostri dispositivi, sostituite NX con il nome che compare in questa lista (CARD=NX nel mio caso). Per rendere il tutto un default, aggiungete le seguenti linee al file di configurazione di MPlayer (sudo gedit ~/.mplayer/config) ao=alsa:device=hw=NX.0 af=pan=6:1:0:0.5:0.5:1:0:0:1:0.5:0.5:0:1 Infine ho dovuto installare Gnome MPlayer come interfaccia grafica (GUI) di MPlayer, quella che avevo non leggeva il file di default... Per informazioni sul comando PAN, vedere qui. Spero di essere stato chiaro, ci ho perso molto tempo quindi spero che possa essere utile a qualcuno! |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 04:56.












a entrambi 








