SystemSound

0.5.0

🎶 A Swift Library that makes SystemSound playback easy.
p-x9/swift-system-sound

What's New

v0.5.0

2024-01-31T16:05:14Z

What's Changed

  • add a sound introduced from iOS17 by @p-x9 in #5

All sounds present by iOS 17.2 have been checked.

Full Changelog: 0.4.0...0.5.0

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

Description

  • Swift Tools 5.8.0
View More Packages from this Author

Dependencies

  • None
Last updated: Fri Apr 12 2024 16:38:49 GMT-0900 (Hawaii-Aleutian Daylight Time)