sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: Jan Stary <hans@stare.cz>
To: sox-users@lists.sourceforge.net
Subject: Re: Trim WAV file Meta Data
Date: Sat, 10 Feb 2018 21:30:13 +0100	[thread overview]
Message-ID: <20180210203013.GB40965@www.stare.cz> (raw)
In-Reply-To: <2e768c3a2bc7f4022318d5b16faad19f@wingsandbeaks.org.uk> <CAFgr-jSkG2cqBq29LGPw=829ypvfiUYrh8Y-LQTuG61rK-Wh5A@mail.gmail.com>

On Dec 06 12:54:59, david@drj.io wrote:
> Hello all, love sox and am so glad it's out there.  I'm using SOX to
> verify, convert and "normalfy" audio files coming in from untrusted sources
> (web).  Basically I'm converting source audio to WAV PCM.  Audio files that
> come from sources like Adobe Audition often contain meta data, which just
> renders as ~100ms of noise at the end of the track. I'm wondering if that
> could be trimmed off somehow.

What audio files come from sources like Adobe Audition?

SoX 14.4.2 reports the following supported formats:

 AUDIO FILE FORMATS: 8svx aif aifc aiff aiffc al amb amr-nb amr-wb anb au
 avr awb caf cdda cdr cvs cvsd cvu dat dvms f32 f4 f64 f8 fap flac fssd
 gsm gsrt hcom htk ima ircam la lpc lpc10 lu mat mat4 mat5 maud mp2 mp3
 nist ogg opus paf prc pvf raw s1 s16 s2 s24 s3 s32 s4 s8 sb sd2 sds sf
 sl sln smp snd sndfile sndr sndt sou sox sph sw txw u1 u16 u2 u24 u3 u32
 u4 u8 ub ul uw vms voc vorbis vox w64 wav wavpcm wv wve xa xi

Is one of them the Adobe Audition format?
Can you show us an example input file?

> I've tried a variety of things.  The command I'm using currently:
> sox --ignore-length [infile] -t wavpcm [outfile]

Why are you ignoring the input length?

> Is there a way to do the conversion and ignore extra meta data?
> I can provide sample audio if necessary. It seems like Cubase and other
> audio editing software has similar features.

Are those WAV files? Are they BWF files?
http://tech.ebu.ch/docs/tech/tech3306-2009.pdf

> I tried to attach some files, but they got flagged for moderation 6 days
> ago, so I'm resubmitting this.  Thanks for everything!

Better post them to some public download site.


	Jan



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

      parent reply	other threads:[~2018-02-10 20:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-06 19:54 Trim WAV file Meta Data david
2017-12-06 20:52 ` Jeremy Nicoll - ml sox users
2018-02-10 20:30 ` Jan Stary [this message]

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-list from there: mbox

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

  List information: https://lists.sourceforge.net/lists/listinfo/sox-users

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

  git send-email \
    --in-reply-to=20180210203013.GB40965@www.stare.cz \
    --to=sox-users@lists.sourceforge.net \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

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).