Simonef wrote: 
> Sorry for errors or misunderstandings but English is not my native
> language.
> 
> I've already compiled sox executables only for specific operative
> systems, so if you are using FreeBSD, not customized linux distros,
> windows or MacOS you can just download the binary file of sox and
> replace the original one with the new one; then you should rename it in
> "sox" and check the file permissions.
> 
> If you are not using these o.ss. or you are using customized linux
> distro like the one of your NAS you will need to compile by yourself the
> software on the target operative system, on the "How to compilae SoX"
> guide you'll find, under the FreeBSD paragraph, the list of website
> where you can download the source code of the libraries that sox uses,
> those are the software you need to compile (to know how just read under
> the "compiling" paragraph) BEFORE sox. After that you can compile sox
> and move the executable and replace the one provinded with Logitech
> Media Server.
> 
> Hope this helps,
> Simone

Hello Simone, 

don't worry about the language, everything is totally understandable,
the bigger problem is that my knowledge in Linux development is very
limited.

Nevertheless, finally, after I downloaded the sources for libmad library
and compiled it, I could successfully compile sox itself, on my ARMv7
NAS (Synology DS2016play), as you suggested. :)

My self-compiled sox is working fine now for playing FLAC or MP3, but
yet it doesn't transcode any of my DSD files. I'm using C-3PO to control
the playback. I've had results varying with settings, but all I get is
seeing the play time progressing or hearing only noise.

This is what ldd says:


Code:
--------------------
    root@DiskStation:/opt/bin# ldd sox
  libsox.so.3 => /opt/lib/libsox.so.3 (0x76ddb000)
  libpng16.so.16 => /opt/lib/libpng16.so.16 (0x76da3000)
  libz.so.1 => /opt/lib/libz.so.1 (0x76d81000)
  libFLAC.so.8 => /opt/lib/libFLAC.so.8 (0x76d1a000)
  libmad.so.0 => /opt/lib/libmad.so.0 (0x76cf5000)
  libmp3lame.so.0 => /opt/lib/libmp3lame.so.0 (0x76c77000)
  libm.so.6 => /opt/lib/libm.so.6 (0x76bc3000)
  libssp.so.0 => /opt/lib/libssp.so.0 (0x76bb1000)
  libgcc_s.so.1 => /opt/lib/libgcc_s.so.1 (0x76b96000)
  libc.so.6 => /opt/lib/libc.so.6 (0x76a5a000)
  /opt/lib/ld-linux.so.3 (0x76ed9000)
--------------------


This is what C-3PO tells me for a .dsf file to be transferred to FLAC:
Trasformed by C-3PO in:

"/opt/bin/sox" -q -t dsf
"/volume1/music/HOME/DSD/CHANNELCLASSICS/11/stereo/19503/04_19503_2ch.dsf"
-t flac -C 5 -b 24 --buffer 8192 - lowpass -1 22000 gain -h rate -m -I
-b 90.7 -f 44100

When I execute sox with these parameters in SSH, I only get weird
characters instead of meaningful error message. 
I will head over to Audiodigitale.eu and try to find out more on the
configuration. 

Do you haven an idea what could be the cause? How could I activate the
Log file? :confused:


------------------------------------------------------------------------
Ge Ba's Profile: http://forums.slimdevices.com/member.php?userid=66816
View this thread: http://forums.slimdevices.com/showthread.php?t=101641

_______________________________________________
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to