public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
From: "Kerry Hoath" <kerry@gotss.net>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Subject: Re: Audio processing
Date: Sun, 15 Jun 2008 20:41:01 +0800	[thread overview]
Message-ID: <000301c8cee5$1182da40$2518a8c0@bouncy> (raw)
In-Reply-To: <4854E4B6.9020804@baechler.net>

You are not understanding sox's syntax from the manpage.

here is the quick and dirty which should hopefully make sense:
sox <in options> <input file> <out options> <output file> affect

so you want:
sox file1.wav -c2 file2.wav

This says read file1.wav with info in the header. the output options say I 
want 2 channels out; then write file2.wav with the same sample rate etc.
To make this verbose
sox -V file1.wav -c2 file2.wav

reversing a file (just to show an affect)
sox file1.wav file2.wav reverse

add an echo to a file but at the same time change channels from 1 to 2:
sox -V file1.wav -c2 file2.wav echo .5 .5

show stats on a file:
sox file1.wav -e stat

-e shows that the second file name is empty and just use the stat affect.

change the volume of a file after seeing the maximum from stat:

sox -V file1.wav -v 1.214 file2.wav


resample a file at 22050hz to 44100:
sox file1.wav -r 44100 file2.wav

Hope this helps a little.
ecasound is command-line driven and takes practice have not looked it yet.
Regards, Kerry.

----- Original Message ----- 
From: "Tony Baechler" <tony@baechler.net>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Sent: Sunday, June 15, 2008 5:45 PM
Subject: Audio processing


luke wrote:
> I do much audio processing with my system, and this is going to kill me
> (well, it won't--I'll revert to an old version of speakup, running on
> 2.6.18, but then I lose my USB sound card, and have to live with the on
> board one).
>



Hi,

What audio processing tools are out for Linux and are accessible?  I'm
aware of sox, the various encoding tools (transcode, ffmpeg, et) and
ecasound, but none of those replace the power of Sound Forge under
Windows, at least that I've seen, although I could be missing
something.  I have tried to figure out ecasound but didn't get anywhere
with it.  I have files in mono that I want to convert to stereo for CD
burning but I couldn't figure out how with sox, even after searching
through the man page and reading the help.  I ended up doing it with my
old Sound Forge but I would like to move more of my audio work to Linux
if possible.  Here's the command line I used for sox after reading the
man page:

sox -c 2 file1.wav file2.wav

I thought maybe I need to "mix" the audio, but I want both channels to
be identical to the one mono channel in file1.wav.  I would like some
general pointers to audio tools in Linux and tips on using them.  I'm
running Debian and have added debian-multimedia to my sources.list.
I've searched for various keywords but feel like I'm missing something.
Any tips on getting started with ecasound would be appreciated as so far
I haven't got it to do anything including loading or playing a file.  I
would prefer text mode and curses programs now as I don't have enough
memory to run X.

Thanks all for any help, ideas and pointers.
_______________________________________________
Speakup mailing list
Speakup@braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup


  reply	other threads:[~ UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
 Premption issue? luke
 ` Audio processing Tony Baechler
   ` Kerry Hoath [this message]
     ` speakup ex_num Tom Fowle
     ` Audio processing Adam Myrow
     ` luke
   ` luke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000301c8cee5$1182da40$2518a8c0@bouncy' \
    --to=kerry@gotss.net \
    --cc=speakup@braille.uwo.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).