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

add bar height parameter #1020

Merged
merged 9 commits into from
Mar 5, 2017
Merged

Conversation

entonbiba
Copy link
Contributor

@entonbiba entonbiba commented Mar 2, 2017

add barHeight paramter, I'll update the docs once this gets merged.
#915 #944

example: http://codepen.io/entonbiba/pen/VpedWZ

@mspae
Copy link
Contributor

mspae commented Mar 4, 2017

Awesome!

Currently a higher value produces a larger waveform and a lower value a smaller one. Maybe we could change the name of the parameter, otherwise it will be confusing. (Something like shrinkage 😀)

@entonbiba
Copy link
Contributor Author

entonbiba commented Mar 4, 2017

@mspae ok I made it accept high values :P for example 100 makes it huge, while 0.5 smaller.

@entonbiba entonbiba merged commit 029af95 into master Mar 5, 2017
@entonbiba entonbiba deleted the entonbiba-patch-barHeightParameter branch March 5, 2017 14:05
mspae pushed a commit to mspae/wavesurfer.js that referenced this pull request Aug 19, 2017
* add barHeight parameter

* Update drawer.multicanvas.js

* Update drawer.canvas.js
mspae pushed a commit that referenced this pull request Aug 20, 2017
* add barHeight parameter

* Update drawer.multicanvas.js

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

Successfully merging this pull request may close these issues.

None yet

3 participants