[FFmpeg-devel] [PATCH v5]libavfilter/asrc_fluidsynthmusic.c : generate algorithmic music

Ashutosh Pradhan ashutoshp012345 at gmail.com
Fri Sep 4 16:31:13 EEST 2020


On Fri, Sep 4, 2020 at 6:08 PM Paul B Mahol <onemda at gmail.com> wrote:

> On 8/25/20, Ashutosh Pradhan <ashutoshp012345 at gmail.com> wrote:
> > Generate algorithmic music using riffs, lindenmayer systems, cellular
> > automaton and rhythm algorithms.
> >
> >  Changelog                          |    1 +
> >  configure                          |    4 +
> >  doc/filters.texi                   |  146 ++++
> >  libavfilter/Makefile               |    1 +
> >  libavfilter/allfilters.c           |    1 +
> >  libavfilter/asrc_fluidsynthmusic.c | 1344
> > ++++++++++++++++++++++++++++++++++++
> >  libavfilter/notedef.h              |  269 ++++++++
> >  libavfilter/version.h              |    2 +-
> >  8 files changed, 1767 insertions(+), 1 deletion(-)
> >
> > diff --git a/Changelog b/Changelog
> > index 0108f8f1a8..fb60ea098f 100644
> > --- a/Changelog
> > +++ b/Changelog
> > @@ -89,6 +89,7 @@ version 4.3:
> >  - PFM decoder
> >  - dblur video filter
> >  - Real War KVAG muxer
> > +- fluidsynthmusic filter
> >
>
> This crashes for high gen option set.
>
For the L system, the strings nextgen and prevgen are computed for every
generation until the final generation is reached. For very high values of
gen(number of generations), it takes significant time to compute the
nextgen.
But as given in the reference, higher generations say beyond 10 repeats the
sequence. I think I should set the maximum limit of gen to a more practical
value of around 10 to 20.


More information about the ffmpeg-devel mailing list