资料整理
看上去是好厉害的东西
- https://audiokit.io/
- https://www.hackingwithswift.com/example-code/media/how-to-record-audio-using-avaudiorecorder
- https://stackoverflow.com/questions/54206398/how-to-record-an-audio-stream-for-save-it-in-file-swift-4-2
有 Demo
-
https://stackoverflow.com/questions/35810086/swift-ios-record-video-and-audio-with-avfoundation
-
https://stackoverflow.com/questions/51245949/replaykit-recording-screen-video-with-internal-audio
-
https://iphoneappcode.blogspot.com/2019/05/how-to-recordcapture-screen-in-ios-with.html
-
https://stackoverflow.com/questions/57512552/record-screen-video-with-audio-from-microphone
-
https://stackoverflow.com/questions/51245949/replaykit-recording-screen-video-with-internal-audio
录像过程中的转换 CMSampleBuffer to AVAudioPCMBuffer
- https://developer.apple.com/forums/thread/123926
- https://www.jianshu.com/p/73ebf29ac887
- https://developer.apple.com/forums/thread/24959
- https://stackoverflow.com/questions/69908897/how-to-create-avaudiopcmbuffer-with-cmsamplebuffer
- https://stackoverflow.com/questions/57083315/convert-cmsamplebuffer-to-avaudiopcmbuffer-to-get-live-audio-frequencies
- https://gist.github.com/aibo-cora/c57d1a4125e145e586ecb61ebecff47c
- https://mlog.club/article/3728003
- https://stackoverflow.com/questions/69908897/how-to-create-avaudiopcmbuffer-with-cmsamplebuffer
- https://cache.one/read/13809479
- https://developer.apple.com/forums/thread/123926
- https://developer.apple.com/forums/thread/683067
- https://stackoverflow.com/questions/57083315/convert-cmsamplebuffer-to-avaudiopcmbuffer-to-get-live-audio-frequencies
- https://gist.github.com/aibo-cora/c57d1a4125e145e586ecb61ebecff47c
- https://mlog.club/article/3728003
文本转语音
https://azure.microsoft.com/zh-cn/services/cognitive-services/text-to-speech/#overview