diff --git a/MemorialHouse/MHPresentation/MHPresentation/Source/Audio/Audio/View/CreateAudioViewController.swift b/MemorialHouse/MHPresentation/MHPresentation/Source/Audio/Audio/View/CreateAudioViewController.swift index 6ff5c4c..77a9974 100644 --- a/MemorialHouse/MHPresentation/MHPresentation/Source/Audio/Audio/View/CreateAudioViewController.swift +++ b/MemorialHouse/MHPresentation/MHPresentation/Source/Audio/Audio/View/CreateAudioViewController.swift @@ -25,8 +25,8 @@ final class CreateAudioViewController: UIViewController { private let audioRecordersettings: [String: Any] = [ AVFormatIDKey: Int(kAudioFormatMPEG4AAC), AVSampleRateKey: 44100, - AVNumberOfChannelsKey: 2, - AVEncoderAudioQualityKey: AVAudioQuality.high.rawValue + AVNumberOfChannelsKey: 1, + AVEncoderAudioQualityKey: AVAudioQuality.medium.rawValue ] // MARK: - UI Component @@ -161,6 +161,27 @@ final class CreateAudioViewController: UIViewController { } } + private func setupBarsDefault() { + let width = 300 / numberOfBars - 5 + let barSpacing = 5 + + for index in 0..