Skip to content

Commit 408579d

Browse files
Update InstrumentSFZ.swift
1 parent 3eda70f commit 408579d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Cookbook/CookbookCommon/Sources/CookbookCommon/Recipes/MiniApps/InstrumentSFZ.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ class InstrumentSFZConductor: ObservableObject, HasAudioEngine {
2323
init() {
2424
DispatchQueue.main.async {
2525
// Load SFZ file with Dunne Sampler.
26-
// This needs to be loaded after a delay the first time to get the correct Settings.sampleRate if it is 48_000.
26+
// This needs to be loaded after a delay the first time
27+
// to get the correct Settings.sampleRate if it is 48_000.
2728
if let fileURL = Bundle.main.url(forResource: "Sounds/sqr", withExtension: "SFZ") {
2829
self.instrument.loadSFZ(url: fileURL)
2930
} else {

0 commit comments

Comments
 (0)