Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #12228
| From | JohnF <john@please.see.sig.for.email.com> |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: White Noise Software For Linux |
| Date | 2014-10-08 03:18 +0000 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <m12ae2$5u6$1@reader1.panix.com> (permalink) |
| References | <0eb566bb-5d54-47fd-b24a-53b85abda9ed@googlegroups.com> <lvm7ac$fv6$1@speranza.aioe.org> <lvmh1m$7uv$1@dont-email.me> <m0konm$ipq$1@reader1.panix.com> <m0mcd2$jhm$1@dont-email.me> |
William Unruh <unruh@invalid.ca> wrote:
> JohnF <john@please.see.sig.for.email.com> wrote:
>> <<snip>> suppose I want to generate, say, a 1GB file containing
>> something functionally like the second line below...
>> play -q -c 2 -n synth brownnoise band -n 1600 1500 tremolo .1 30 \
>> --size 1GB --format mp3 -o brownnoise.mp3
>> How would I correctly do that? Thanks again,
>
> man sox. Look up the synth option. Note the len argument to synth.
> Guessing what the syntax is is a fools game. You will never get it
> right.
Thanks, William, len seems to be the most straightforward solution,
as far as I can tell. From line 2868 of the (Feb 1, 2013) sox man page
len is the length of audio to synthesise expressed as a
time or as a number of samples; 0=inputlength, default=0.
Re "getting it right", yeah, sox's (Feb 1, 2013) man page
has 3264 lines on my box, many of which remain a bit cryptic to me.
And Loki Harfagr also followed-up...
> Loki Harfagr <l0k1@thedarkdesign.free.fr.invalid>
> regarding your "^C Vs length" problem ;-)
> in Sox to fix a length I'd use 'trim', e-g for a 1 min 12 secs of your exp:
> $ sox -q -c 1 -n white.wav synth noise band -n 24 800 echo .1 5 1 .99
> trim 0 01:12
Thanks, Loki. That seems just about equally straightforward, i.e.,
from line 3024 of the (Feb 1, 2013) sox man page
For example,
sox infile outfile trim 0 10
will copy the first ten seconds, while
--
John Forkosh ( mailto: j@f.com where j=john and f=forkosh )
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Find similar | Unroll thread
White Noise Software For Linux beforewisdom@gmail.com - 2014-09-19 16:41 -0700
Re: White Noise Software For Linux William Unruh <unruh@invalid.ca> - 2014-09-20 06:39 +0000
Re: White Noise Software For Linux The Natural Philosopher <tnp@invalid.invalid> - 2014-09-20 09:32 +0100
Re: White Noise Software For Linux floyd@apaflo.com (Floyd L. Davidson) - 2014-09-20 02:44 -0800
Re: White Noise Software For Linux The Natural Philosopher <tnp@invalid.invalid> - 2014-09-20 11:53 +0100
Re: White Noise Software For Linux floyd@apaflo.com (Floyd L. Davidson) - 2014-09-20 04:25 -0800
Re: White Noise Software For Linux Michael Black <et472@ncf.ca> - 2014-09-20 11:52 -0400
Re: White Noise Software For Linux William Unruh <unruh@invalid.ca> - 2014-09-22 18:31 +0000
Re: White Noise Software For Linux floyd@apaflo.com (Floyd L. Davidson) - 2014-09-22 18:59 -0800
Re: White Noise Software For Linux Michael Black <et472@ncf.ca> - 2014-09-22 23:30 -0400
Re: White Noise Software For Linux floyd@apaflo.com (Floyd L. Davidson) - 2014-09-23 02:51 -0800
Re: White Noise Software For Linux William Unruh <unruh@invalid.ca> - 2014-09-23 23:49 +0000
Re: White Noise Software For Linux asdf <asdf@nospam.com> - 2014-09-21 09:55 +0000
Re: White Noise Software For Linux Rich <rich@example.invalid> - 2014-09-21 12:41 +0000
Re: White Noise Software For Linux JohnF <john@please.see.sig.for.email.com> - 2014-10-02 23:56 +0000
Re: White Noise Software For Linux Rich <rich@example.invalid> - 2014-10-03 01:41 +0000
Re: White Noise Software For Linux JohnF <john@please.see.sig.for.email.com> - 2014-10-03 02:13 +0000
Re: White Noise Software For Linux Rich <rich@example.invalid> - 2014-10-03 02:55 +0000
Re: White Noise Software For Linux JohnF <john@please.see.sig.for.email.com> - 2014-10-03 05:38 +0000
Re: White Noise Software For Linux JohnF <john@please.see.sig.for.email.com> - 2014-10-03 11:50 +0000
Re: White Noise Software For Linux Loki Harfagr <l0k1@thedarkdesign.free.fr.INVALID> - 2014-10-07 13:04 +0000
Re: White Noise Software For Linux William Unruh <unruh@invalid.ca> - 2014-10-03 14:38 +0000
Re: White Noise Software For Linux JohnF <john@please.see.sig.for.email.com> - 2014-10-08 03:18 +0000
csiph-web