mirror of
https://github.com/onyx-and-iris/vmr-http.git
synced 2026-04-06 18:09:11 +00:00
fix the eq router. now it works for both strip and bus.
it uses a factory function to create an eq router for each kind. add models.eq.EQParams. Use it to define on and ab properties. minor bump
This commit is contained in:
@@ -5,6 +5,13 @@ from typing import Optional
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class EQParams(BaseModel):
|
||||
"""Parameters for an equalizer."""
|
||||
|
||||
on: Optional[bool] = None
|
||||
ab: Optional[bool] = None
|
||||
|
||||
|
||||
class EQChannelCellParams(BaseModel):
|
||||
"""Parameters for an equalizer channel."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user