Log in

View Full Version : mixing two waves


laura_glow
30th March 2004, 16:39
i have two mono waves, right and left channels, and i want to convert them to a single audio file in stereo, a command line tool for a quick batch job would be the best...

thanks
Laura

Soulhunter
30th March 2004, 22:15
Simply use BeSweet (http://dspguru.doom9.org/)... ;)


Create a *.mux file including this...

C:\LeftChannel.wav
C:\RightChannel.wav

Now feed it to BeSweet...

-core( -input *.mux ... )

And dont forget to read the FAQ's in the Audio forum (http://forum.doom9.org/forumdisplay.php?s=&forumid=11)... ;)


Bye

laura_glow
30th March 2004, 22:36
im having trouble with besweet

C:\besweet>besweet -core( -input lista.mux -output algo.wav)
Error 59: Failed to sync to payload's start position : "lista.mux"BeSweet v1.4 b
y DSPguru.
--------------------------
Using hip.dll v1.13 by Myers Carpenter <myers@users.sf.net>
Using lame_enc.dll v1.28 (4/6/2002), Engine 3.92 <http://www.mp3dev.org/>.

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : lista.mux
[00:00:00:000] | Output: algo.wav)
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +-------- LAME -------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP3 bitrate : 128
[00:00:00:000] | Channels Mode : Joint Stereo
[00:00:00:000] | Error Protection: No
[00:00:00:000] +---------------------
Error 32: No input-data was found (wrong substream?)
Quiting...


lista.mux :

C:\besweet\REF3048.A1.wav
C:\besweet\REF3048.A2.wav


---------------------------------------------------------------

or with the following command line:

besweet -core( -input "C:\besweet\lista.mux" -output "C:\besweet\lista - New - [30.03.2004] - [18.32.35].wav" -2ch -logfilea "C:\besweet\BeSweet.log" )
BeSweet v1.4 by DSPguru.
--------------------------

[00:00:00:000] Conversion Completed !

log:

Error 59: Failed to sync to payload's start position : "C:\besweet\lista.mux"BeSweet v1.4 by DSPguru.
--------------------------
Using hip.dll v1.13 by Myers Carpenter <myers@users.sf.net>

Logging start : 03/30/04 , 18:35:16.

besweet -core( -input C:\besweet\lista.mux -output C:\besweet\lista - New - [30.03.2004] - [18.32.35].wav -2ch -logfilea C:\besweet\BeSweet.log )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : C:\besweet\lista.mux
[00:00:00:000] | Output: C:\besweet\lista - New - [30.03.2004] - [18.32.35].wav
[00:00:00:000] | Floating-Point Process: No
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +---------------------
[ 32] Conversion Completed !
[00:00:00:000] <-- Transcoding Duration
Logging ends : 03/30/04 , 18:35:16.

:scared:

Soulhunter
30th March 2004, 22:45
Cant give you a quick fix... :(

But if you cant wait, you could try Audacity (http://audacity.sourceforge.net/) to do thus stuff !!!

Its no command line tool, but its feature-rich and also free... ;)


Bye

KpeX
30th March 2004, 23:23
Yes, Audacity would be a good choice...

AFAIK besweet's mux feature only works for six channels.