Skip to content

Commit

Permalink
Update syntax.yml (#146)
Browse files Browse the repository at this point in the history
* Update syntax.yml

oscillator_phase range is (any negative value) to 360 in ARIA, 0 to 1 in sfizz - putting -1 to 360 here, like it was before.

* Update oscillator_phase.md

Adding  info about what negative values do in ARIA, and that sfizz is different.
  • Loading branch information
DSmolken authored Sep 21, 2024
1 parent 7f78118 commit 84432dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/sfz/syntax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5984,8 +5984,8 @@ categories:
version: "SFZ v2"
value:
type_name: "float"
min: 0
max: 1
min: -1
max: 360

- name: "oscillator_quality"
short_description: ""
Expand Down
1 change: 1 addition & 0 deletions docs/opcodes/oscillator_phase.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
template: "sfz/opcode.j2"
opcode_name: "oscillator_phase"
---
This opcode behaves in two different ways in ARIA: non-negative values from 0 to 360 set the phase in degrees, while any negative value randomizes the phase. As implemented in sfizz as of version 1.2.3 the range is 0 to 1 which behaves the same as ARIA's 0 to 360.

0 comments on commit 84432dc

Please sign in to comment.