p-x9 / swift-system-sound

🎶 A Swift Library that makes SystemSound playback easy.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SystemSound

A Swift Library that makes swift-system-sound playback easy.

Github issues Github forks Github stars Github top language

The system sound in AudioToolBox must be specified numerically, but it is not clear what that numerical value should sound like. Therefore, I have made it possible to play sounds by specifying the sound name. It was obtained by analyzing the system file.

The following table shows the correspondence between SystemSoundID and sound names. Table of SytemSoundID and Sound Name

Usage

import

import SystemSound

PlaySounds

AudioServicesPlaySystemSound(.sentMessage)

License

SystemSound is released under the MIT License. See LICENSE

About

🎶 A Swift Library that makes SystemSound playback easy.

License:MIT License


Languages

Language:Swift 100.0%