Skip to content

A simple Swift abstraction layer of Tonic package to play with Scales, notes and chords.

License

Notifications You must be signed in to change notification settings

juansanzone/MusicLogic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎼 🎶 MusicLogic 🎹 🎸

A simple Swift abstraction layer of AudioKit Tonic package to play with Scales, notes and chords.

🙋 Why?

Basically to easy answer the following questions:

  • What are the notes belonging to a scale and tone?

  • What are the chords belonging to a scale and tone?

  • What are the notes belonging to a chord?

  • Simple list of all possible scales

  • Simple list of all one-octave notes

🙉 How to use?

Get all Notes included in a specific note and scale

/// In this example we get all Notes for C major scale.
MusicLogic.getScaleNotes(note: .C, inScale: .major)

Get all Chords included in a specific note and scale

/// In this example we get all Chords for C major scale.
MusicLogic.getScaleChords(note: .C, inScale: .major)

Get notes for specific Chord

/// In this example we get all notes for Amaj9 Chord
MusicLogic.getChordNotes(chord: Chord(.A, type: .majorAddNine))

Access to all music scales

MusicLogic.scales

Access to all music generic notes

MusicLogic.notes

🗄 Dependencies & Thanks

AudioKit Tonic: https://github.com/AudioKit/Tonic.git

About

A simple Swift abstraction layer of Tonic package to play with Scales, notes and chords.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages