A Siri like wave effect
Copy the Waver folder to your project
waver.set { [weak self]() -> Float in
guard let self = self, let recorder = self.recorder else { return 0 }
recorder.updateMeters()
return pow(10, recorder.averagePower(forChannel: 0) / 40)
}
waver.start()
If you have the need for a specific feature that you want implemented or if you experienced a bug, please open an issue. If you extended the functionality of Spring yourself and want others to use it too, please submit a pull request.
Spring is under MIT license. See the LICENSE file for more info.