Skip to content

Commit

Permalink
Reading of SFZ improved so it follows more the standard: loop_mode=no…
Browse files Browse the repository at this point in the history
…_loop will no longer loop the sample
  • Loading branch information
mahal committed Dec 28, 2023
1 parent fe8ac01 commit ca4a5fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/DunneAudioKit/Sampler+SFZ.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ extension SamplerData {
maximumNoteNumber: Int32(highNoteNumber),
minimumVelocity: Int32(lowVelocity),
maximumVelocity: Int32(highVelocity),
isLooping: loopMode != "",
isLooping: loopMode != "no_loop",
loopStartPoint: loopStartPoint,
loopEndPoint: loopEndPoint,
startPoint: 0.0,
Expand Down

0 comments on commit ca4a5fb

Please # to comment.