-
Hi there, Love the libary by the way. I'm using What its doing when height is set to auto: Screen.Recording.2024-05-08.at.11.46.08.movWhat I want it to do: ( i acheived this by hard coding the heights and divide by 2 if its dual channel) Screen.Recording.2024-05-08.at.11.50.30.movDo you have any suggestions for what i could do? Obvs i could hard code the height instead of using auto. But I'd really rather define the height in a parent component so I don't have to go into wavesurfer config object to adjust it. I've isolated it down to the getHeight() function Would it be feasable to also take in audioData.numberOfChannels into the calculation. I was thinking a bit of logic:
Let me know your thoughts |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey, good catch! Dividing by |
Beta Was this translation helpful? Give feedback.
Created PR: #3705