PasTim wrote: > Something is not quite right with C-3PO, 24 bits, pcm/wav and Squeezebox > Touch acting as a digital (USB) interface to my player. > > 1. Without C-3PO installed, with LMS FILE TYPES only allowing flc to > pcm, all my flacs play well up to 24/192000 tracks. > > 2. With C-3PO installed but not enabled for Touch, all is still OK. > C-3PO reports the command (for a 24/192000 track) as: > > > Code: -------------------- > > > flc-pcm-*-00:04:20:22:70:65 > Command: > [flac] -dcs --force-raw-format --endian=little --sign=signed $START$ $END$ -- $FILE$ > > Tokenized command: > "/usr/share/squeezeboxserver/Bin/x86_64-linux/flac" -dcs --force-raw-format --endian=little --sign=signed -- "/storage/music/flac/Classical/B/Bach, JS/Well Tempered Clavier/Book I/Butt/1-01 - The Well-Tempered Clavier Book I - Prelude and Fugue No.21 in Bâ* BWV.866 - 1. Prelude.flac" & | > -------------------- > > > > 4. Resetting the LMS FILE TYPES to standard, with C-3PO installed and > activated for Touch, output wav only, with 3 byte 24 bit, I get white > noise (music still there) on all tracks. This is a CD quaility one. > > > Code: -------------------- > > > Command: > [C-3PO] -c $CLIENTID$ -p "/var/lib/squeezeboxserver/prefs/plugin/C3PO.prefs" -l "/var/log/squeezeboxserver/" -x "/usr/sbin" -i flc -o wav $START$ $END$ $RESAMPLE$ $FILE$ --nodebuglog --noinfolog > > Tokenized command: > "/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Bin/C-3PO" -c 00-04-20-22-70-65 -p "/var/lib/squeezeboxserver/prefs/plugin/C3PO.prefs" -l "/var/log/squeezeboxserver/" -x "/usr/sbin" -i flc -o wav "/storage/music/flac/Classical/B/Bruckner/Symphonies/7 (Nowak)/Klemperer/3-01 - Symphony No.7 in E (Nowak) - 1. Allegro moderato.flac" --nodebuglog --noinfolog & | > > Trasformed by C-3PO in: > "/usr/share/squeezeboxserver/Bin/x86_64-linux/sox" -q -t flac "/storage/music/flac/Classical/B/Bruckner/Symphonies/7 (Nowak)/Klemperer/3-01 - Symphony No.7 in E (Nowak) - 1. Allegro moderato.flac" -t wav -b 24 --buffer 65536 --multi-threaded - gain -h > -------------------- > > > > 5. With C-3PO installed and activated for Touch, wav only, 16 bit, CD > quality plays OK, 24/192000 tracks get white noise (some music still > there) > > > Code: -------------------- > > > Command: > [C-3PO] -c $CLIENTID$ -p "/var/lib/squeezeboxserver/prefs/plugin/C3PO.prefs" -l "/var/log/squeezeboxserver/" -x "/usr/sbin" -i flc -o wav $START$ $END$ $RESAMPLE$ $FILE$ --nodebuglog --noinfolog > > Tokenized command: > "/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Bin/C-3PO" -c 00-04-20-22-70-65 -p "/var/lib/squeezeboxserver/prefs/plugin/C3PO.prefs" -l "/var/log/squeezeboxserver/" -x "/usr/sbin" -i flc -o wav "/storage/music/flac/Classical/B/Bach, JS/Well Tempered Clavier/Book I/Butt/1-01 - The Well-Tempered Clavier Book I - Prelude and Fugue No.21 in Bâ* BWV.866 - 1. Prelude.flac" --nodebuglog --noinfolog & | > > Trasformed by C-3PO in: > "/usr/share/squeezeboxserver/Bin/x86_64-linux/sox" -q -t flac "/storage/music/flac/Classical/B/Bach, JS/Well Tempered Clavier/Book I/Butt/1-01 - The Well-Tempered Clavier Book I - Prelude and Fugue No.21 in Bâ* BWV.866 - 1. Prelude.flac" -t wav -b 16 --buffer 65536 --multi-threaded - gain -h > -------------------- > > > > 6. So I believe that C-3PO is missing options to match different > versions of 3 byte 24 bit packing. Ive had this problem with other > plugins transcoding. I think the sox options are -L, -B , -x, -N and > -X, but can't say I fully understand all the combinations of input and > output format. > > 7. Using C-3PO to output uncompressed flac works fine, so this isn't a > problem for me, but it could be for others.
Not sure to completely understand the problem, from what I could see sox with -b 16 works, -b 24 does not. If so, problem could be that your device is 24_3 not 24, meaning in reality is a 32 bit depth but only the most significant 24 is used. In that case yu should output 32 bit form SOX. Please tell me if I isunderstood something pleaase. ________________________________________________________________________ Author of C-3PO plugin, Squeezelite-R2, Falcon Web interface - See www.marcoc1712.it ------------------------------------------------------------------------ marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=105309
_______________________________________________ Squeezecenter mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/squeezecenter
