Stereo Tool
https://www.forums.stereotool.com/

Command line version for Linux!
https://www.forums.stereotool.com/viewtopic.php?t=2689
Page 2 of 3

Author:  hvz [ Tue Oct 19, 2010 9:36 pm ]
Post subject:  Re: Command line version for Linux!

Ok, I installed it in another Linux VMware machine and there it gives a segmentation fault. No idea why...

Author:  hvz [ Tue Oct 19, 2010 10:37 pm ]
Post subject:  Re: Command line version for Linux!

Hm. Linux is new to me, so I really don't know where to start searching. When I enter the error message that you got in Google I only find things about 64-bit Linux installs - is yours also 64 bits?

Could you try the following: Run
ldd stereo_tool_gui_BETA<xxx>-<xx>
And paste the output here.

Author:  darkbyte [ Wed Oct 20, 2010 9:11 am ]
Post subject:  Re: Command line version for Linux!

Sure. I'm using an Ubuntu 10.10 x64 on my laptop.

Here's the output. Looks like i'm missing many things.
Code:
darkbyte@lenovo:~/Letöltések$ ldd ./stereo_tool_gui_BETA30 
	linux-gate.so.1 =>  (0xf77d7000)
	libwx_gtk2u_richtext-2.8.so.0 => not found
	libwx_gtk2u_aui-2.8.so.0 => not found
	libwx_gtk2u_xrc-2.8.so.0 => not found
	libwx_gtk2u_qa-2.8.so.0 => not found
	libwx_gtk2u_html-2.8.so.0 => not found
	libwx_gtk2u_adv-2.8.so.0 => not found
	libwx_gtk2u_core-2.8.so.0 => not found
	libwx_baseu_xml-2.8.so.0 => not found
	libwx_baseu_net-2.8.so.0 => not found
	libwx_baseu-2.8.so.0 => not found
	libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf76c7000)
	libm.so.6 => /lib32/libm.so.6 (0xf76a0000)
	libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7684000)
	libpthread.so.0 => /lib32/libpthread.so.0 (0xf766b000)
	libc.so.6 => /lib32/libc.so.6 (0xf7511000)
	/lib/ld-linux.so.2 (0xf77d8000)
But i don't get it, because i have all of the libwx libs on my system as you can see. Maybe the executable is linked the wrong way? :shock:
Code:
darkbyte@lenovo:/usr/lib$ ls | grep libwx.*so\.0$
libwx_baseu-2.6.so.0
libwx_baseu-2.8.so.0
libwx_baseu_net-2.6.so.0
libwx_baseu_net-2.8.so.0
libwx_baseu_xml-2.6.so.0
libwx_baseu_xml-2.8.so.0
libwx_gtk2u_adv-2.6.so.0
libwx_gtk2u_adv-2.8.so.0
libwx_gtk2u_animate-2.6.so.0
libwx_gtk2u_aui-2.8.so.0
libwx_gtk2u_core-2.6.so.0
libwx_gtk2u_core-2.8.so.0
libwx_gtk2u_deprecated-2.6.so.0
libwx_gtk2u_fl-2.6.so.0
libwx_gtk2u_fl-2.8.so.0
libwx_gtk2u_gizmos-2.6.so.0
libwx_gtk2u_gizmos-2.8.so.0
libwx_gtk2u_gizmos_xrc-2.6.so.0
libwx_gtk2u_gizmos_xrc-2.8.so.0
libwx_gtk2u_gl-2.6.so.0
libwx_gtk2u_gl-2.8.so.0
libwx_gtk2u_html-2.6.so.0
libwx_gtk2u_html-2.8.so.0
libwx_gtk2u_media-2.6.so.0
libwx_gtk2u_ogl-2.6.so.0
libwx_gtk2u_ogl-2.8.so.0
libwx_gtk2u_plot-2.6.so.0
libwx_gtk2u_plot-2.8.so.0
libwx_gtk2u_qa-2.6.so.0
libwx_gtk2u_qa-2.8.so.0
libwx_gtk2u_richtext-2.8.so.0
libwx_gtk2u_stc-2.6.so.0
libwx_gtk2u_stc-2.8.so.0
libwx_gtk2u_svg-2.6.so.0
libwx_gtk2u_svg-2.8.so.0
libwx_gtk2u_xrc-2.6.so.0
libwx_gtk2u_xrc-2.8.so.0

Author:  darkbyte [ Wed Oct 20, 2010 12:49 pm ]
Post subject:  Re: Command line version for Linux!

Okay, i think i've found out whats the problem:
Code:
darkbyte@lenovo:~/Letöltések$ export LD_LIBRARY_PATH=/usr/lib32/; ./stereo_tool_gui_BETA30 
./stereo_tool_gui_BETA30: error while loading shared libraries: libwx_gtk2u_richtext-2.8.so.0: cannot open shared object file: No such file or directory
darkbyte@lenovo:~/Letöltések$ export LD_LIBRARY_PATH=/usr/lib64/; ./stereo_tool_gui_BETA30 
./stereo_tool_gui_BETA30: error while loading shared libraries: libwx_gtk2u_richtext-2.8.so.0: wrong ELF class: ELFCLASS64
Because i'm running a 64bit OS i don't have the x86 verisons of the libwx libraries. If i force it to use the x64 libs i get an error because your executable is linked for x86 architecture.

I think there are two options:
- Compile an x64 version of Stereo Tool
- Find a way to install the 32bit libs on my system (i'll give it a go)

Mod: okay i've managed to get the missing libraries. I had to install getlibs: http://ubuntuforums.org/showthread.php?t=474790 then i executed
Code:
sudo getlibs stereo_tool_gui_BETA30
which downloaded the missing libs.

Now i get the segmentation fault as you do. :roll:

Author:  hvz [ Tue Nov 16, 2010 4:42 am ]
Post subject:  Re: Command line version for Linux!

Here are the Linux versions for the latest BETA - and this time the GUI version should work without segmentation fault!

Linux command line version: http://www.stereotool.com/download/ster ... BETA510-47
Linux GUI version: http://www.stereotool.com/download/ster ... BETA510-47

Author:  darkbyte [ Sun Dec 19, 2010 12:39 pm ]
Post subject:  Re: Command line version for Linux!

Quote:
Here are the Linux versions for the latest BETA - and this time the GUI version should work without segmentation fault!

Linux command line version: http://www.stereotool.com/download/ster ... BETA510-47
Linux GUI version: http://www.stereotool.com/download/ster ... BETA510-47
Yes, it works like a charm! :o Thank you for your effort!

Image

I'm using lame for decoding an mp3, piping it to Stereo Tool then play it with aplay :)

Author:  hvz [ Sun Dec 19, 2010 1:07 pm ]
Post subject:  Re: Command line version for Linux!

Great! As you may have seen it's already released.

Author:  tarasian666 [ Tue Mar 01, 2011 6:50 pm ]
Post subject:  Re: Command line version for Linux!

Can i use it with jack ?
Not work with /dev/audio (/dev/dsp)

Author:  hvz [ Fri Mar 04, 2011 2:08 am ]
Post subject:  Re: Command line version for Linux!

Not directly. I haven't implemented any Linux audio interfaces yet, Stereo Tool currently only processes stdin and sends it to stdout...

I think the following should work:
- Create a command line with a reader and player application
- Then connect Jack to those applications

So something like this:
arecord | stereo_tool | aplay

Or, if you just want to send audio to /dev/audio, just use aplay without Jack.

See the help text (stereo_tool -h) for some more examples.

Author:  tarasian666 [ Fri Mar 04, 2011 10:51 am ]
Post subject:  Re: Command line version for Linux!

i tried like this

arecord -r 192000 -f S16 -c2 -D jackplug | ./stereo_tool_gui - - -s settings.sts | aplay -D jackplug

works, but horrible, mine linux drivers suports only 512 sample per channel, (others application wors fine with this option, in windows 1024 and 4096 works fine) half second sounds normally, others sounds like "beeeeeeeeeeeeeeeeeeeep"

but i think it's only half way ))

Page 2 of 3 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/