Grazie.
Ho quindi trovato una risposta in rete:
"Especially with the pipes on both sides of sox, there is no way
to precompute the length of the wav file and so it has to seek()
to update the length. In this case, it puts a maximum length
allowed value in header.
For most programs, including sox, its only a warning if the size
of the file doesn't match the header; just a warning. Maybe
the program can be updated to gracefully detect EOF and not treat
it as a failure... Especially in the case when the header
says its MAX_SIZE wav file. "
SOX potrebbe indicare una MAX_SIZE maggiore, ma fino a che non lo fa, deve essere gestito a valle o a monte. Vedo se posso fare qualcosa in squeezelite, ma mi piace poco, il workaround è 'spezzare' i files, magari usando un cue sheet.
Ciao, Marco.
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
— E. F. Schumacher (mis-attributed to A. Einstein)
________________________________________________________________________________
Autore della patch R2 per Squeezelite e del plugin C-3PO. note libere
Logitech media Server 7.9 > miniPc + squeezelite-R2 / SB+ > "Lu Scalmentu" NOS R2R DAC by TubeOne/ AudioResearch DAC 1-20 >
Klimo Merlino Gold TPS > DIS Interconnect > Kent Gold > Reference > Monitor Audio Studio 20 SE
La modifica di squeezelite per gestire 'correttamente' la cosa sarebbe abbastanza invasiva, dovrei in pratica riscrivere il decoder pcm, mentre potrei forzare la dimensione dell'audio ad un valore arbitrario altissimo nell'header, con probabili controindicazoni in altri casi, per cui dovrei almeno condizionarlo ad un parametro di lancio e rimarrebbe una porcata, dato che il problema andrebbe risolto alla radice.
Dato che il workaround di (usare un cue sheet per) 'spezzare' il file in segmenti contigui (così da mantenre il gapless) più corti di 10 minuti funziona senza problemi anche a 384 Khz (se si vuole usare 768 Khz bisogna probabilmente accorciarli ulteriormente) , credo preferbile usare quello fintanto che SOX non correrà ai ripari (magari inserendo un valore di MAX HEADER più elevato...).
Fatemi sapere se mi sfugge qualcosa e permangono problemi.
Ciao, Marco.
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
— E. F. Schumacher (mis-attributed to A. Einstein)
________________________________________________________________________________
Autore della patch R2 per Squeezelite e del plugin C-3PO. note libere
Logitech media Server 7.9 > miniPc + squeezelite-R2 / SB+ > "Lu Scalmentu" NOS R2R DAC by TubeOne/ AudioResearch DAC 1-20 >
Klimo Merlino Gold TPS > DIS Interconnect > Kent Gold > Reference > Monitor Audio Studio 20 SE
Ciao, Paolo.
«Se tu hai una mela, e io ho una mela, e ce le scambiamo, allora tu ed io abbiamo sempre una mela per uno. Ma se tu hai un'idea, ed io ho un'idea, e ce le scambiamo, allora abbiamo entrambi due idee.»
Ciao, Marco.
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
— E. F. Schumacher (mis-attributed to A. Einstein)
________________________________________________________________________________
Autore della patch R2 per Squeezelite e del plugin C-3PO. note libere
Logitech media Server 7.9 > miniPc + squeezelite-R2 / SB+ > "Lu Scalmentu" NOS R2R DAC by TubeOne/ AudioResearch DAC 1-20 >
Klimo Merlino Gold TPS > DIS Interconnect > Kent Gold > Reference > Monitor Audio Studio 20 SE
Qualcuno riesce aprovare con file che certamente vanno in crisi normalmente?
https://drive.google.com/folderview?...28&usp=sharing
Mi aspetto arrivi in fondo senza problemi e senza più emettere quei messaggi di errore che riempivano il log, ma vorrei sapere se termina correttamente e va in pause al termine, liberando la scheda se si usa il -C.
Grazie.
Ultima modifica di marcoc1712 : 26-07-2016 a 13:13
Ciao, Marco.
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
— E. F. Schumacher (mis-attributed to A. Einstein)
________________________________________________________________________________
Autore della patch R2 per Squeezelite e del plugin C-3PO. note libere
Logitech media Server 7.9 > miniPc + squeezelite-R2 / SB+ > "Lu Scalmentu" NOS R2R DAC by TubeOne/ AudioResearch DAC 1-20 >
Klimo Merlino Gold TPS > DIS Interconnect > Kent Gold > Reference > Monitor Audio Studio 20 SE
player1:thin client+voyage - player2:futros450+Debian > Usb Transport: I2soverUSB + DAC (6x1704+I/V a tubi) - Attenuatore passivo Lightspeed
Ampli finale: OTL 6C33 - MyRef Fremen Ed. - Diff.: Diapason Adamantes II - Guida LMS+Squeezelite - B
Ciao, Marco.
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
— E. F. Schumacher (mis-attributed to A. Einstein)
________________________________________________________________________________
Autore della patch R2 per Squeezelite e del plugin C-3PO. note libere
Logitech media Server 7.9 > miniPc + squeezelite-R2 / SB+ > "Lu Scalmentu" NOS R2R DAC by TubeOne/ AudioResearch DAC 1-20 >
Klimo Merlino Gold TPS > DIS Interconnect > Kent Gold > Reference > Monitor Audio Studio 20 SE
Ci sono attualmente 1 utenti che stanno visualizzando questa discussione. (0 utenti e 1 ospiti)