Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xiangyu-sun/XSMetronome
Rewrite of Apple's Hello Metronome
https://github.com/xiangyu-sun/XSMetronome
applewatch ios metronome swift4 tvos watchos
Last synced: 3 months ago
JSON representation
Rewrite of Apple's Hello Metronome
- Host: GitHub
- URL: https://github.com/xiangyu-sun/XSMetronome
- Owner: xiangyu-sun
- License: mit
- Created: 2018-09-10T16:18:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-10-06T02:30:10.000Z (over 2 years ago)
- Last Synced: 2023-09-05T00:33:41.192Z (over 1 year ago)
- Topics: applewatch, ios, metronome, swift4, tvos, watchos
- Language: Swift
- Homepage:
- Size: 87.9 KB
- Stars: 13
- Watchers: 2
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# XSMetronome
[![iOS Build Status](https://travis-ci.org/xiangyu-sun/XSMetronome.svg?branch=master)](https://travis-ci.org/xiangyu-sun/XSMetronome)
[![tvOS Build Status](https://travis-ci.org/xiangyu-sun/XSMetronome.svg?branch=tvos)](https://travis-ci.org/xiangyu-sun/XSMetronome)Simple demonstration of a metronome using AVAudioEngine and AVAudioPlayerNode to schedule buffers for timing accurate playback using scheduleBuffer:atTime:options:completionHandler:. The implementation also provides for a delegate object to call with the method (metronomeTicking:bar:beat:) which can be used for timing or to provide UI.
## Main Files
Metronome.swift
- Source file for metronome implementation in all the targets.TWGenerator.swift
- Generic TriangleWaveGenerator swift class used by all targets.## Version History
1.0 Initial release.
## Requirements
### Build
Xcode 8.2.1 or later, macOS 10.12, iOS 10.2, watchOS 3.1 SDKs
### Runtime
macOS 10.9 or greater
iOS 11.0 or greater
watchOS 4 or greater