bastienFalcou / SoundWave

Illustrate your sound waves on the fly 🚀
MIT License
596 stars 93 forks source link

Played range color #44

Open qstpnv opened 4 years ago

qstpnv commented 4 years ago

Hey, I want to know how can I change the color of range that is already played?

explain

bastienFalcou commented 4 years ago

This is currently not possible, we can only set the following two colors general to the whole view:

self.audioVisualizationView.gradientStartColor = .white
self.audioVisualizationView.gradientEndColor = .black

That would be a great idea of improvement however!

qstpnv commented 4 years ago

@bastienFalcou if it's not hard for you, can you, please, implement this feature till the end of this month? I have a project with deadline and it would be nice to have this update in time.

qstpnv commented 4 years ago

Also, I can't understand why I don't have this feature meteringLevelBarSingleStick in 0.1.4 version, maybe I should upgrade?

bastienFalcou commented 4 years ago

Thank you @qstpnv for your message! To answer your questions:

1/ I have not deployed a new Pod version that includes meteringLevelBarSingleStick in the 0.1.4 version yet.

It's a good point, I will deploy that as soon as possible 👍 In the meantime, you can force your Podfile to point to the latest "unreleased" version as such:

pod 'SoundWave', :git => 'https://github.com/bastienFalcou/SoundWave.git'

2/ I have quite the tight schedule until the end of this month, I can't promise I will be able to update it within the next week but I am going to try.

It's not a super trivial change, which would need to happen around here.

qstpnv commented 4 years ago

@bastienFalcou thanks! 😀

qstpnv commented 4 years ago

@bastienFalcou Hey, any updates?

bastienFalcou commented 4 years ago

@qstpnv I am currently traveling for work and I did not get a chance to make the update unfortunately. Did you attempt to make a change on your side?

qstpnv commented 4 years ago

@bastienFalcou hey, maybe this month you will be able to release an update? :)