Skip to content

Commit 1d57e05

Browse files
authored
Update README.md
1 parent 8dac4cf commit 1d57e05

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@ You can use Swift Package Manager to install SwiftTuner in your project. Follow
3232
3. Start the tuner: `tuner.start()`
3333
4. Use the tuning information provided by the `TunerConductor` instance to adjust your instrument.
3434

35+
## Just Tuner Example
36+
37+
```swift
38+
import SwiftTuner
39+
40+
let tuner = TunerConductor()
41+
tuner.start()
42+
// Use tuner.data.pitch, tuner.data.noteName, tuner.data.octaveNumber, tuner.data.deviation as needed
43+
```
44+
3545
## Tuner View Example
3646

3747
``` swift
@@ -56,16 +66,6 @@ struct SpatialTunerApp: App {
5666
</kbd>
5767
</p>
5868

59-
## Just Tuner Example
60-
61-
```swift
62-
import SwiftTuner
63-
64-
let tuner = TunerConductor()
65-
tuner.start()
66-
// Use tuner.data.pitch, tuner.data.noteName, tuner.data.octaveNumber, tuner.data.deviation as needed
67-
```
68-
6969
## Credits
7070

7171
SwiftTuner is developed and maintained by Matt Pfeiffer and owes much thanks to the AudioKit community.

0 commit comments

Comments
 (0)