[FFmpeg-user] aevalsrc question
Muhammad Faiz
mfcc64 at gmail.com
Tue Dec 20 09:58:38 EET 2016
On 12/20/16, Adam Puckett <signalsender103 at gmail.com> wrote:
> On 12/19/16, Nicolas George <george at nsup.org> wrote:
>> Oh, good catch. I should have remembered this task needed a primitive
>> function, not just a multiplication.
>>
>> Regards,
>>
>> --
>> Nicolas George
>>
> What do I need to do to make the formula right?
Just do the reverse.
Given freq(t) = 262 * 2^(t/10)
w(t) = 2*PI * 262 * 2^(t/10)
ph(t) = integral of w(t) dt
= 2*PI * 262 * 10/log(2) * 2^(t/10) + arbitrary constant
Thx.
More information about the ffmpeg-user
mailing list