View in English

  • Apple Developer
    • 시작하기

    시작하기 탐색

    • 개요
    • 알아보기
    • Apple Developer Program

    알림 받기

    • 최신 뉴스
    • Hello Developer
    • 플랫폼

    플랫폼 탐색

    • Apple 플랫폼
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    • App Store

    피처링

    • 디자인
    • 배포
    • 게임
    • 액세서리
    • 웹
    • 홈
    • CarPlay
    • 기술

    기술 탐색

    • 개요
    • Xcode
    • Swift
    • SwiftUI

    피처링

    • 손쉬운 사용
    • 앱 인텐트
    • Apple Intelligence
    • 게임
    • 머신 러닝 및 AI
    • 보안
    • Xcode Cloud
    • 커뮤니티

    커뮤니티 탐색

    • 개요
    • Apple과의 만남 이벤트
    • 커뮤니티 주도 이벤트
    • 개발자 포럼
    • 오픈 소스

    피처링

    • WWDC
    • Swift Student Challenge
    • 개발자 이야기
    • App Store 어워드
    • Apple 디자인 어워드
    • 문서

    문서 탐색

    • 문서 라이브러리
    • 기술 개요
    • 샘플 코드
    • 휴먼 인터페이스 가이드라인
    • 비디오

    릴리즈 노트

    • 피처링 업데이트
    • iOS
    • iPadOS
    • macOS
    • watchOS
    • visionOS
    • tvOS
    • Xcode
    • 다운로드

    다운로드 탐색

    • 모든 다운로드
    • 운영 체제
    • 애플리케이션
    • 디자인 리소스

    피처링

    • Xcode
    • TestFlight
    • 서체
    • SF Symbols
    • Icon Composer
    • 지원

    지원 탐색

    • 개요
    • 도움말
    • 개발자 포럼
    • 피드백 지원
    • 문의하기

    피처링

    • 계정 도움말
    • 앱 심사 지침
    • App Store Connect 도움말
    • 새로 추가될 요구 사항
    • 계약 및 지침
    • 시스템 상태
  • 빠른 링크

    • 이벤트
    • 뉴스
    • 포럼
    • 샘플 코드
    • 비디오
 

비디오

메뉴 열기 메뉴 닫기
  • 컬렉션
  • 전체 비디오
  • 소개

더 많은 비디오

  • 소개
  • 요약
  • 코드
  • Music Understanding 프레임워크 만나 보기

    앱이 기기에서 키, 리듬, 구조, 페이스, 악기 활동, 음량 등 여섯 가지 특성에 걸쳐 오디오를 분석할 수 있도록 해 주는 새로운 프레임워크인 Music Understanding을 살펴보세요. 또한 Music Understanding Lab 샘플 앱을 사용하여 각 결과를 시각화하세요.

    챕터

    • 0:00 - Introduction
    • 1:39 - Musical features
    • 3:19 - Framework integration
    • 3:55 - Music Understanding Lab

    리소스

    • Creating visuals with Music Understanding analysis results
    • MusicUnderstanding
      • HD 비디오
      • SD 비디오
  • 비디오 검색…
    • 4:47 - Initialize the session

      import MusicUnderstanding
      
      .fileImporter(isPresented: $isPresented, allowedContentTypes: [.audio]) { result in
          switch result {
          case .success(let url):
              let asset = AVURLAsset(url: url, 
                                     options: [AVURLAssetPreferPreciseDurationAndTimingKey : true])
              let session = try await MusicUnderstandingSession(asset: asset)
              let results = try await session.analyze()
          }
      }
    • 5:24 - Inside SessionResult

      import MusicUnderstanding
      
      public struct SessionResult: Codable, Sendable {
          public let instrumentActivity: InstrumentActivityResult?
          public let key: KeyResult?
          public let loudness: LoudnessResult?
          public let pace: PaceResult?
          public let rhythm: RhythmResult?
          public let structure: StructureResult?
      }
    • 5:53 - TimedValue

      import MusicUnderstanding
      
      public struct TimedValue<Value>: Codable, Equatable, Sendable
      where Value: Codable & Equatable & Sendable {
          public let time: CMTime
          public let value: Value
      }
    • 5:58 - RangedValue

      import MusicUnderstanding
      
      public struct RangedValue<Value>: Codable, Equatable, Sendable
      where Value: Codable & Equatable & Sendable {
          public let range: CMTimeRange
          public let value: Value
      }
    • 6:27 - Key analysis

      public struct KeyResult: Codable, Sendable {
          public let ranges: [MusicUnderstandingSession.RangedValue<KeySignature]
      }
    • 6:43 - KeySignature

      public struct KeySignature: Codable, Hashable, Sendable {
          public let tonic: Tonic
          public let mode: Mode
      }
    • 6:48 - Using tonic

      @frozen public enum Tonic: String, Codable, Hashable, Sendable {
          case aFlat, aSharp, a, bFlat, b, c, cSharp, d, dFlat, dSharp, eFlat, e, f, fSharp, g, gFlat, gSharp
      }
    • 6:59 - Using mode

      public enum Mode: String, Codable, Hashable, Sendable {
          case major, minor
      }
    • 7:16 - Rhythm analysis

      import MusicUnderstanding
      
      public struct RhythmResult: Codable, Sendable {
          public let beats: [CMTime]
          public let bars: [CMTime]
          public let beatsPerMinute: Float?
      }
    • 8:42 - StructureResult

      import MusicUnderstanding
      
      public struct StructureResult: Codable, Sendable {
          public let sections: [CMTimeRange]
          public let segments: [CMTimeRange]
          public let phrases: [CMTimeRange]
      }
    • 9:26 - Analyzing pace

      import MusicUnderstanding
      
      public struct PaceResult: Codable, Sendable {
          public let ranges: [MusicUnderstandingSession.RangedValue<Double>]
      }
    • 10:13 - InstrumentActivityResult

      import MusicUnderstanding
      
      public struct InstrumentActivityResult: Codable, Sendable {
          public let ranges: [Instrument: [CMTimeRange]]
          public let activity: [Instrument: [MusicUnderstandingSession.TimedValue<Float>]]
      }
    • 11:45 - LoudnessResult

      import MusicUnderstanding
      
      public struct LoudnessResult: Codable, Sendable {
          public let integrated: MusicUnderstandingSession.TimedValue<Float>
          public let momentary: [MusicUnderstandingSession.TimedValue<Float>]
          public let shortTerm: [MusicUnderstandingSession.TimedValue<Float>]
          public let peak: MusicUnderstandingSession.TimedValue<Float>
      }
    • 12:48 - Streaming API for loudness

      import MusicUnderstanding
      
      public var loudnessResults: some AsyncSequence<LoudnessResult, any Error> & Sendable
    • 12:55 - Streaming API for loudness

      import MusicUnderstanding
      
      let audioProvider = AudioProvider()
      let session = MusicUnderstandingSession(audioProvider: audioProvider)
      await withThrowingTaskGroup(of: Void.self) { taskGroup in
          group.addTask {
              for try await result in await session.loudnessResults {
                  updateAudioLevel(result.momentary.value)
              }
          }
      
          group.addTask {
              try await session.analyze(for: [.loudness])
          }
      }
    • 13:19 - Audio Provider

      import MusicUnderstanding
      
      struct AudioProvider: AsyncSequence, AsyncIteratorProtocol {
         func makeAsyncIterator() -> Self {
              return self
          }
      
         mutating func next() async -> AVReadOnlyAudioPCMBuffer? {
              // Return the next audio buffer, or nil to signal completion
          }
      }
    • 13:55 - Encode to JSON

      import MusicUnderstanding
      
      let session = try await MusicUnderstandingSession(asset: asset)
      let results = try await session.analyze()
      
      let encoder = JSONEncoder()
      try encoder.encode(results)
    • 14:47 - Suggestion for using pace

      let timePerClip = 60 / paceValue
    • 0:00 - Introduction
    • Discover how the Music Understanding framework brings on-device offline audio analysis to all Apple platforms.

    • 1:39 - Musical features
    • Explore the six areas of the framework's music analysis: key, rhythm, structure, pace, instrument activity, and loudness.

    • 3:19 - Framework integration
    • Learn how to initialize a MusicUnderstandingSession and begin analysis with an AVAsset or custom audio provider.

    • 3:55 - Music Understanding Lab
    • Walk through a sample app that visualizes all analysis types from the framework.

Developer Footer

  • 비디오
  • WWDC26
  • Music Understanding 프레임워크 만나 보기
  • 메뉴 열기 메뉴 닫기
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    메뉴 열기 메뉴 닫기
    • Swift
    • SwiftUI
    • Swift Playground
    • TestFlight
    • Xcode
    • Xcode Cloud
    • SF Symbols
    메뉴 열기 메뉴 닫기
    • 손쉬운 사용
    • 액세서리
    • Apple Intelligence
    • 앱 확장 프로그램
    • App Store
    • 오디오 및 비디오(영문)
    • 증강 현실
    • 디자인
    • 배포
    • 교육
    • 서체(영문)
    • 게임
    • 건강 및 피트니스
    • 앱 내 구입
    • 현지화
    • 지도 및 위치
    • 머신 러닝 및 AI
    • 오픈 소스(영문)
    • 보안
    • Safari 및 웹(영문)
    메뉴 열기 메뉴 닫기
    • 문서(영문)
    • 튜토리얼
    • 다운로드
    • 포럼(영문)
    • 비디오
    메뉴 열기 메뉴 닫기
    • 지원 문서
    • 문의하기
    • 버그 보고
    • 시스템 상태(영문)
    메뉴 열기 메뉴 닫기
    • Apple Developer
    • App Store Connect
    • 인증서, 식별자 및 프로파일(영문)
    • 피드백 지원
    메뉴 열기 메뉴 닫기
    • Apple Developer Program
    • Apple Developer Enterprise Program
    • App Store Small Business Program
    • MFi Program(영문)
    • Mini Apps Partner Program
    • News Partner Program(영문)
    • Video Partner Program(영문)
    • Security Bounty Program(영문)
    • Security Research Device Program(영문)
    메뉴 열기 메뉴 닫기
    • Apple과의 만남
    • Apple Developer Center
    • App Store 어워드(영문)
    • Apple 디자인 어워드
    • Apple Developer Academy(영문)
    • WWDC
    최신 뉴스 읽기.
    Apple Developer 앱 받기.
    Copyright © 2026 Apple Inc. 모든 권리 보유.
    약관 개인정보 처리방침 계약 및 지침