Skip to content

Commit

Permalink
acep: update model fields
Browse files Browse the repository at this point in the history
  • Loading branch information
SoulMelody committed Jul 19, 2024
1 parent d4ea646 commit d57047b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libresvip/plugins/acep/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ class AcepNote(BaseModel):
syllable: Optional[str] = ""
br_len: int = Field(0, alias="brLen")
vibrato: Optional[AcepVibrato] = None
extra_info: dict[str, Any] = Field(default_factory=dict, alias="extraInfo")


class AcepPattern(BaseModel):
Expand All @@ -232,6 +233,7 @@ class AcepPattern(BaseModel):
clip_pos: int = Field(0, alias="clipPos")
clip_dur: int = Field(0, alias="clipDur")
enabled: Optional[bool] = True
color: Optional[str] = "#91bcdc"
extra_info: dict[str, Any] = Field(default_factory=dict, alias="extraInfo")


Expand Down Expand Up @@ -299,6 +301,7 @@ class AcepCustomSinger(BaseModel):
singer_id: Optional[int] = Field(DEFAULT_SINGER_ID, alias="id")
head: Optional[int] = -1
router: Optional[int] = 1
group: Optional[str] = ""


class AcepVocalTrack(AcepTrackProperties, BaseModel):
Expand Down

0 comments on commit d57047b

Please sign in to comment.