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

사용자 훈련 음성 녹음 및 재생 #96

Open
Hwater00 opened this issue Oct 2, 2022 · 1 comment
Open

사용자 훈련 음성 녹음 및 재생 #96

Hwater00 opened this issue Oct 2, 2022 · 1 comment

Comments

@Hwater00
Copy link
Contributor

Hwater00 commented Oct 2, 2022

1.관련 파일
CountUpView.kt , SimVoiceActivity.kt , RecordButton.kt , SoundVisualizerView.kt , State.kt

2.퍼미션

3.SoundVisualizerView.kt 음성 그래프 생성
Amplitude를 가져오고, Draw를 요청,오른 쪽부터 순차적으로 그리기, invalidate() // 드로잉 처리

4.음성 캐시 저장
private val recordingFilePath: String by lazy {
"${externalCacheDir?.absolutePath}/recording.3gp"
}

Hwater00 added a commit that referenced this issue Oct 2, 2022
@Hwater00
Copy link
Contributor Author

Hwater00 commented Oct 2, 2022

Hwater00 added a commit that referenced this issue Oct 2, 2022
Hwater00 added a commit that referenced this issue Oct 3, 2022
 #96 .wav파일 형식으로 다운로드 폴더 내 저장
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant