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

Bar waveform? #3

Open
mostafa-norouzi opened this issue Aug 9, 2023 · 1 comment
Open

Bar waveform? #3

mostafa-norouzi opened this issue Aug 9, 2023 · 1 comment

Comments

@mostafa-norouzi
Copy link

Hi,

Is it possible to make a "bar diagram" rather than waveform?

@bluemoehre
Copy link
Owner

There is no option flag yet to get other waveform styles.

You would need to modify the code within the forEach-loop here:

foreach ($sampleSummaries as $x => $sampleMinMax) {

Simply add another point to the coord set. Depending on the bar's width you prefer, you may need to modify more (e.g. to get "chunky blocks")

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

No branches or pull requests

2 participants