Collection

AVFAudio sample architecture

Source-backed, high-level architecture notes for Apple sample-code pages grouped in the AVFAudio folder.

  • Catalog module label: AVFAudio
  • Coverage: 9 / 9 sample pages documented
  • Source policy: archive hashes and extracted-tree references are verified locally before analysis

Samples

Sample Platforms High-level architecture Documented patterns
Adding synthesized speech to calls iOS, iPadOS, Mac Catalyst A Swift sample with the source-visible chain AddSynthesizedSpeechToCallsAppContentViewAVFAudio APIs. Actor isolation
Building a signal generator iOS, iPadOS, Mac Catalyst, macOS A C/Objective-C header, Objective-C++, Swift sample with the source-visible chain SignalGeneratorAppContentViewAudioManagerSignalGeneratorAVFoundation / SwiftUI APIs. Binding-based state propagation
Building an audio sequencer to arrange and play clips macOS A Swift sample with the source-visible chain ClipLauncherAppContentViewClipLauncherViewModelClipEngineSwiftUI / AVFoundation APIs. Model-View-ViewModel, View-controller organization, Actor isolation
Capturing stereo audio from built-In microphones iOS, iPadOS, Mac Catalyst A Swift sample with the source-visible chain AppDelegateAudioControllerStereoLevelsProviderUIKit / AVFoundation APIs. View-controller organization, Protocol-oriented abstraction, Delegate or data-source callbacks
Creating a custom speech synthesizer iOS, iPadOS, Mac Catalyst, macOS A Swift sample with the source-visible chain CustomSpeechSynthesizerExampleAppContentViewAVFoundation / SwiftUI APIs. Factory
Creating custom audio effects iOS, iPadOS, Mac Catalyst, macOS A C/Objective-C header, Objective-C++, Swift sample bundle with entry-bearing project variants iOS, macOS, each leading to AUv3FilterFramework / CoreAudioKit APIs. View-controller organization, Protocol-oriented abstraction, Delegate or data-source callbacks, Adapter
Performing offline audio processing A Swift sample centered on Contents, with direct use of AVFoundation, Cocoa, PlaygroundSupport.
Playing custom audio with your own player iOS, iPadOS, Mac Catalyst A Swift sample with the source-visible chain SampleBufferPlayerAppContentViewRemoteCommandHandlerAVFoundation / MediaPlayer APIs. Protocol-oriented abstraction
Using voice processing iOS, iPadOS, Mac Catalyst A Swift sample with the source-visible chain AppDelegateViewControllerAudioLevelProviderAVFoundation / UIKit APIs. View-controller organization, Protocol-oriented abstraction, Delegate or data-source callbacks

Cross-sample signals

Recurring documented patterns

Pattern label Sample documents
View-controller organization 4
Protocol-oriented abstraction 4
Delegate or data-source callbacks 3
Actor isolation 2

Type-role naming evidence

Counts below are declaration-name suffixes, not inferred patterns.

Role suffix Distinct declarations across samples
View 13
Delegate 7
Controller 6
App 5
Engine 3
Manager 2
Provider 2
Player 2
Generator 1
Loader 1
Scene 1
ViewModel 1
Factory 1
Adapter 1
Command 1
Handler 1

Swift access-control evidence

These are declaration occurrences in scanned Swift source, including implicit internal declarations.

Access level Occurrences
implicit internal 1111
private 264
public 68
private(set) 15
fileprivate 5

References

Generated from the verified local catalog and completed Markdown documents.