All times are UTC+02:00




Post new topic  Reply to topic  [ 30 posts ]  Go to page 1 2 3 Next
Author Message
PostPosted: Sun Sep 12, 2010 2:25 am 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 11425
Well I finally did it! I've managed to build the command line version of Stereo Tool in Linux!

I have also improved the command line interface a bit (more is to follow soon - it would be nice to be able to override values and select presets from the command line interface, and to support different sample rates - among others to be able to generate MPX info from the command line).

Anyway, here's the first version. It's based on the latest beta version, not the latest stable version, so some features might disappear before it gets actually released.


Link to the Linux 32-bit binary (Pentium 4 or better CPU required):
http://www.stereotool.com/download/stereo_tool

1. Download the file, and place it in your path (or call it using the full path name)
2. You'll need to chmod it to 755, so run: chmod 755 stereo_tool
3. Now run stereo_tool -h or stereo_tool --help to read the help text.

Currently you'll still need a Windows system (or Wine) to create .sts files. You can also download quite a few from this forum, see the 'share your Stereo Tool settings' forum here: viewforum.php?f=10 - and then manually edit them to fit your needs.


Here's a nice line to immediately listen to your MP3 tracks using Stereo Tool:
lame --decode song.mp3 - | ./stereo_tool --quiet --sts settings.sts - - | aplay --quiet
(Replace song.mp3 and settings.sts by a real mp3 and sts file name. Remove '--sts settings.sts' to use the default processing.)


Top
   
PostPosted: Mon Sep 27, 2010 2:34 am 

Joined: Sun Apr 18, 2010 5:03 pm
Posts: 2
Great work!
I was wondering if it is possible to process in real time the line input from the sound card?


Top
   
PostPosted: Mon Sep 27, 2010 8:59 am 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 11425
Should be possible if you use a command line application that reads sound card input and sends it to stdout. Similar to (in the help text) the output is played using aplay.

Say you have a program arecord (no idea if it exists, this is just an example):

arecord | ./stereo_tool - - | aplay


Top
   
PostPosted: Mon Sep 27, 2010 6:36 pm 

Joined: Sun Apr 18, 2010 5:03 pm
Posts: 2
Great! I will try it.


Top
   
PostPosted: Wed Oct 13, 2010 8:10 am 
User avatar

Joined: Sat Jan 16, 2010 2:18 pm
Posts: 18
It's amazing that you did the Linux CLI build. The next should be a GStreamer plugin :) Most of the multimedia applications on Linux uses this media framework so if you make a plugin it'll be nearly painless to attach Stereo Tool to them. Even you can wire settings to GStreamer element properties, because you're using an ini like settings file, it might be easier than i'm currently thinking. Even you can provide the visualization data on special sink pads, at least as i know, so maybe others can write an alternative settings window for you.


Top
   
PostPosted: Thu Oct 14, 2010 1:04 am 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 11425
Quote:
It's amazing that you did the Linux CLI build. The next should be a GStreamer plugin :) Most of the multimedia applications on Linux uses this media framework so if you make a plugin it'll be nearly painless to attach Stereo Tool to them.
Good to know, thanks! (I'm not really into Linux, used to use a lot of Unix at work a few years ago and it's not that much different, but I don't know stuff like this).
Quote:
Even you can wire settings to GStreamer element properties, because you're using an ini like settings file, it might be easier than i'm currently thinking. Even you can provide the visualization data on special sink pads, at least as i know, so maybe others can write an alternative settings window for you.
Dunno about this stuff. But I can tell you that a Linux GUI version is on its way! :shock: :D

For now it will be based on the command line version - that is, you start it with stereo_tool infile outfile, but you get the main window and most (all?) of the other windows.

It's not yet ready to be posted here - it looks extremely crappy and you cannot do anything yet, and ALL the windows are open all the time. But at least almost all the interface elements are already visible, and a lot are already displaying the correct data.


Edit: First few sliders are now actually functioning! (Including changing them!)


Top
   
PostPosted: Thu Oct 14, 2010 7:54 am 
User avatar

Joined: Sat Jan 16, 2010 2:18 pm
Posts: 18
Quote:
But I can tell you that a Linux GUI version is on its way! :shock: :D
Wow, are we so close? :o That's great!
Quote:
For now it will be based on the command line version - that is, you start it with stereo_tool infile outfile, but you get the main window and most (all?) of the other windows.
I hope you'll still keep the CLI only version because i need a version which isn't depends on X. :)
Quote:
It's not yet ready to be posted here - it looks extremely crappy and you cannot do anything yet, and ALL the windows are open all the time. But at least almost all the interface elements are already visible, and a lot are already displaying the correct data.
I'm looking forward to seeing it. Keep us updated :)


Top
   
PostPosted: Fri Oct 15, 2010 1:19 am 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 11425
I will probably keep both versions. (I don't know if it would be possible to add a --no-gui option and then run it without having an X environment, but keeping both isn't an issue anyway because I need the non-gui version for Windows as well. Although... Maybe I could also give a popup with settings there in the command line version... Hm....)

In the mean time, most of the main window is functioning now...


Top
   
PostPosted: Sat Oct 16, 2010 12:59 am 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 11425
First look:
http://www.stereotool.com/download/ster ... gui_BETA30

Not yet finished:
- Screen gets garbled when choosing a preset ■ SOLVED
- Load and Save buttons don't work ■ SOLVED
- Some invisible sliders (disabled in the Windows build) are visible now ■ SOLVED
- Radio buttons are not yet visible ■ SOLVED
- Close doesn't work ■ SOLVED
- Wrong preset is loaded on startup ■ SOLVED
- Probably a lot more

Usage: Same as command line version, so probably stereo_tool_gui_BETA30 - -


Note: Re-download to get all the fixes marked as ■ SOLVED!


The Linux command line version now by default loads its settings from ~/.stereo_tool.rc , the GUI version both reads and writes this file.


Top
   
PostPosted: Tue Oct 19, 2010 11:50 am 
User avatar

Joined: Sat Jan 16, 2010 2:18 pm
Posts: 18
Amazing!
I'll give it a try later. It would be awesome, if i could put it somewhere on the system mixer so every audio output get the audio processing :) Maybe PulseAudio allows me to do this somehow.

Mod: i have some problems launching it. I get:
Code:
./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
although it's on my system:
Code:
darkbyte@lenovo:/usr/lib$ ls | grep libwx_gtk2u_richtext-2.8.so.0
libwx_gtk2u_richtext-2.8.so.0
libwx_gtk2u_richtext-2.8.so.0.7.0
I've installed it with the libwxgtk2.8-dev package. Strange. :?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 30 posts ]  Go to page 1 2 3 Next

All times are UTC+02:00


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited