[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sox-devel
Subject:    [SoX-devel] Question about effects and reading data to the buffer
From:       Lakomkin Egor <egor.lakomkin () gmail ! com>
Date:       2018-08-19 14:03:53
Message-ID: CAHKQwwX6uLa-5=qF62vGZQ+ieU4aFmRr3hO9+HKKjxwWzsdKuw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Apologies for potential multiple messages, firstly I sent the message to
the sox-users, but then realized that my question is maybe more appropriate
for sox-devel.

Hello,

I am trying to programmatically load an audio file, apply tempo effect and
read the output to the buffer for the further processing. I uploaded the
gist of the example here:
https://gist.github.com/EgorLakomkin/124a4b86dd8869d5536e2edceec0cc84
If I use tempo values < 1 I get the correct number of samples from the
output, but if I change it for example to 1.2 I suddenly get a very small
number of sample and 0 if I use the value of 1.0. I am wondering if there
is a bug in my chain configuration or data reading from the output? It is
my first experience with libsox and I tried to follow examples, but I got
stuck here.

Thank you in advance for the help!

Regards, Egor

[Attachment #5 (text/html)]

<div dir="ltr">Apologies for potential multiple messages, firstly I sent the message \
to the sox-users, but then realized that my question is maybe more appropriate for \
sox-devel.<div><br></div><div><div>Hello,</div><div><br></div><div>I am trying to \
programmatically load an audio file, apply tempo effect and read the output to the \
buffer for the further processing. I uploaded the gist of the example here: <a \
href="https://gist.github.com/EgorLakomkin/124a4b86dd8869d5536e2edceec0cc84">https://gist.github.com/EgorLakomkin/124a4b86dd8869d5536e2edceec0cc84</a></div><div>If \
I use tempo values &lt; 1 I get the correct number of samples from the output, but if \
I change it for example to 1.2 I suddenly get a very small number of sample and 0 if \
I use the value of 1.0. I am wondering if there is a bug in my chain configuration or \
data reading from the output? It is my first experience with libsox and I tried to \
follow examples, but I got stuck here.</div><div><br></div><div>Thank you in advance \
for the help!</div><div><br></div><div>Regards, Egor  </div></div></div>



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
SoX-devel mailing list
SoX-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic