Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spectrum is not smooth #7

Open
from2001 opened this issue Mar 10, 2024 · 2 comments
Open

Spectrum is not smooth #7

from2001 opened this issue Mar 10, 2024 · 2 comments

Comments

@from2001
Copy link
Owner

No description provided.

@from2001
Copy link
Owner Author

In the STYLY custom action for Playmaker, bar type can be set to Mean Level which makes spectrum smooth.

https://styly.cc/tips/audiovisualizer_discont_playmaker/

@from2001
Copy link
Owner Author

switch (barType)
{
    case BarType.Realtime:
        level = spectrum.Levels[index];
        break;
    case BarType.PeakLevel:
        level = spectrum.PeakLevels[index];
        break;
    case BarType.MeanLevel:
        level = spectrum.MeanLevels[index];
        break;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant