Questions tagged [libsox]

LibSoX is an audio file-format and effects library.

LibSoX is a library of sound sample file format readers/writers and sound effects processors. It is mainly developed for use by SoX (Sound exChange) but is useful for any sound application.

Resources

See Also

35 questions
0
votes
0 answers

Mix samples using SoX library

I have some data for mixer like: [ { "sample": "sample1.mp3", "time": 0 }, { "sample": "sample2.mp3", "time": 0.3342 }, { "sample": "sample3.mp3", "time": 0.3342, // stop after means interrupt play…
0
votes
1 answer

Access Violation when resampling using soxr

I'm having trouble getting the following code to work: soxr_error_t err; soxr_datatype_t itype = SOXR_INT16_I; soxr_datatype_t otype = SOXR_INT16_I; soxr_io_spec_t iospec = soxr_io_spec(itype, otype); size_t idone = 0; size_t odone = 0; size_t const…
Dries
  • 995
  • 2
  • 16
  • 45
0
votes
0 answers

How to convert stereo wav to two mono wav files with libsox/go-sox

I have go-sox successfully splitting a stereo wav file into two files. But there are two issues: Even though the files have the same sampling rate the resulting files are sped up tremendously The resulting two files are still stereo and not…
jsgoecke
  • 249
  • 3
  • 11
0
votes
1 answer

Issue with sox resample library apis

group, Objective: I am trying to use sox-resample library, to downsample from input rate(44.1Khz, 2 channel, 16 bit), to output rate(16Khz, 1 channel, 16 bit). Is it possible to use sox-resample library for this process. Sox Resample library sources…
user3622275
  • 21
  • 1
  • 6
0
votes
0 answers

Why sox trim and split operations (based on silence) are too slow in Windows

I am trying to implement sox into a speech recognition program. However it tooks nearly 10 seconds for sox to trim words in very simple sentence with 5-7 words (file size is also between 200-400kb) it is unacceptaable. What can I do, or which other…
user3575659
  • 51
  • 1
  • 3
1 2
3