Skip to content

Need help with a feature #1

@faulty-teen

Description

@faulty-teen

I was looking through the code and noticed a "fade" sort of function, it seems to fade between songs?

its located in audio.py at lines 68-75. Is this implimented? I'd like to use it but can't find any setting or anything for it in the app itself.

Here is the function I found in the script:

def fade_inout(indata, fadein=20, fadeout=20): if fadein != 0: winfadein = numpy.hamming(fadein * 2)[:fadein] indata[:fadein] = indata[:fadein] * winfadein if fadeout != 0: winfadeout = numpy.hamming(fadeout * 2)[fadeout:] indata[-fadeout:] = indata[-fadeout:] * winfadeout return indata

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions