[FFmpeg-devel] [PATCH v3]libavfilter/asrc_atone.c : generate algorithmic music

Thilo Borgmann thilo.borgmann at mail.de
Mon Aug 17 14:44:08 EEST 2020


Am 17.08.20 um 12:47 schrieb Ashutosh Pradhan:
> On Mon, Aug 17, 2020 at 3:05 PM Paul B Mahol <onemda at gmail.com> wrote:
> 
>> On 8/17/20, Ashutosh Pradhan <ashutoshp012345 at gmail.com> wrote:
>>> Generate algorithmic music using riffs, lindenmayer systems, cellular
>>> automaton and rhythm algorithms.
>>>
>>
>> Do you allow to change seed of lfg generator or seed is always same?
>> Idea is to always have same output for same seed parameter.
>> And also to be able to use different seed when initializing lfg.
>>
> I have initialized the lfg generator with a random seed.
> Should I take seed as an option?

Yes an option sounds good (not forget to mentioned the expected format in the doc).

However, the default initializer value can be a 'random' one (that sounds good?) but should be the same at every instanciation for reproducability.

And the segfault Nicolas mentioned is vital to fix.

-Thilo


More information about the ffmpeg-devel mailing list