fix readme
swift-music is a swift package that provides an easy-to-use API for music related developments.
Currently available module:
import MusicTheory
Note.D - Note.E // Interval.m7
// Create with notes contained. let Esus4 = Chord(.E, notes: [.E, .A, .B]) // Create with root and quality. let Abm = Chord(.A_flat, .minorTriad)
Scale(.B, .major).triad(degree: 6) // G#m
File - Add Packages - https://github.com/sh3l6orrr/swift-music.git
Inside Package.swift, add the followings:
dependencies: [ .package(url: "https://github.com/sh3l6orrr/swift-music.git", .upToNextMajor(from: "1.0.0")) ]
targets: [ .target( name: "YourTarget", dependencies: [.product(name: "MusicTheory", package: "swift-music")] ) ]
Click on the badge in the front of this README, or build in Xcode:
Product - Build Documentation
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
🎼 swift-music
Introduction
swift-music is a swift package that provides an easy-to-use API for music related developments.
Currently available module:
MusicTheory
Interval Arithmetic
Create a Chord
Get triad in a scale
Other API
Installation
Xcode Project
File - Add Packages - https://github.com/sh3l6orrr/swift-music.git
Swift Package Manager
Inside Package.swift, add the followings:
Documentation
Click on the badge in the front of this README, or build in Xcode:
Product - Build Documentation