Skip to content

Commit

Permalink
vfp: add device model
Browse files Browse the repository at this point in the history
  • Loading branch information
SoulMelody committed Jan 5, 2025
1 parent 6346db5 commit 3fe4eae
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion experimental/vfp/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,14 @@ class VOXFactoryAudioViewProperty(BaseModel):
bins_per_octave: int = Field(alias="binsPerOctave")


class VOXFactoryDevice(BaseModel):
type: str
track_type: str = Field(alias="trackType")
name: str
data: dict[str, Any]
on: bool


class VOXFactoryTrack(BaseModel):
type: str
name: str
Expand All @@ -74,7 +82,7 @@ class VOXFactoryTrack(BaseModel):
arm: bool
clip_bank: dict[str, VOXFactoryClip] = Field(alias="clipBank")
clip_order: list[str] = Field(alias="clipOrder")
device_bank: dict[str, Any] = Field(alias="deviceBank")
device_bank: dict[str, VOXFactoryDevice] = Field(alias="deviceBank")
device_order: list[str] = Field(alias="deviceOrder")
audio_view_property: VOXFactoryAudioViewProperty = Field(alias="audioViewProperty")

Expand Down

0 comments on commit 3fe4eae

Please sign in to comment.