文件名称:Android代码-能显示声波的简单录音机
文件大小:1.84MB
文件格式:ZIP
更新时间:2022-08-26 01:22:11
Android代码
VoiceRipple About []() Voice Record Button that has ripple effect with users voice. Calculation of decibels from max amplitude by using the following: power_db = 20 * log10(amp / amp_ref) Main method consists the following: if (THRESHOLD >= 0) { if (rippleRadius - THRESHOLD >= powerDb MIN_RADIUS || powerDb MIN_RADIUS >= rippleRadius THRESHOLD) { rippleRadius = powerDb MIN_RADIUS; backgroundRadius = (int) (rippleRadius * backgroundRippleRatio); } else { // if decreasing
【文件预览】:
VoiceRipple-master
----gradlew.bat(2KB)
----gradlew(5KB)
----gradle.properties(730B)
----ripplelibrary()
--------proguard-rules.pro(938B)
--------src()
--------.gitignore(7B)
--------build.gradle(1KB)
----media()
--------voiceRippleView.gif(138KB)
--------settingChange.gif(758KB)
--------colorChange.gif(853KB)
----LICENSE(11KB)
----app()
--------proguard-rules.pro(938B)
--------src()
--------.gitignore(7B)
--------build.gradle(1KB)
----gradle()
--------wrapper()
----CONTRIBUTING.md(618B)
----.idea()
--------markdown-navigator()
--------gradle.xml(685B)
--------runConfigurations.xml(564B)
--------misc.xml(3KB)
--------vcs.xml(180B)
--------copyright()
--------modules.xml(496B)
--------encodings.xml(159B)
--------compiler.xml(686B)
--------markdown-navigator.xml(4KB)
----uploadBintray.sh(1KB)
----.gitignore(759B)
----CODE_OF_CONDUCT.md(3KB)
----README.md(3KB)
----settings.gradle(33B)
----build.gradle(498B)