Skip to content

UnityMusicPlayerVisualizer is a Unity plugin that accesses the iOS music library, plays a song and gets the sound level.

License

Notifications You must be signed in to change notification settings

kkkkoyo/UnityMusicPlayerVisualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnityMusicPlayerVisualizer

img

UnityMusicPlayerVisualizer is a Unity plugin that accesses the iOS music library, plays a song and gets the sound level. This plugin is inspired by asus4/UnityMusicPlayerPlugin.

Requirements

  • Unity2020.1.13f1
  • Xcode12.2

Features

Get the song with MPMediaPickerController, play the sound with AVAudioPlayer, and get its sound level with averagePowerForChannel.

  • Accessing music library
  • Play/Stop the song
  • Acquisition of song information

※ Streaming music such as Apple Music is not supported.

Documentation

[Unity][iOS] iOSのミュージックライブラリの楽曲を再生し、オーディオビジュアライズする

Installation

Download one of the unitypackage files from the Releases page and import it to a project.

License

MIT

About

UnityMusicPlayerVisualizer is a Unity plugin that accesses the iOS music library, plays a song and gets the sound level.

Resources

License

Stars

Watchers

Forks

Packages

No packages published