update docs

- pester tests for safety pass for all kinds
- all manual tests pass
This commit is contained in:
pblivingston 2025-12-01 21:34:26 -05:00
parent 9b1b78100c
commit bef4e64c9e
2 changed files with 20 additions and 11 deletions

View File

@ -9,6 +9,12 @@ Before any major/minor/patch is released all test units will be run to verify th
## [Unreleased] These changes have not been added to PSGallery yet ## [Unreleased] These changes have not been added to PSGallery yet
### Breaking Changes
AddActionMembers now adds ScriptMethods instead of ScriptProperties:
- See Command section of README for details on using special commands
- See Recorder section of README for details on using playback/record actions
### Added ### Added
- IRemote base class - IRemote base class
@ -35,6 +41,8 @@ Before any major/minor/patch is released all test units will be run to verify th
- cast vban getters to types for consistency - cast vban getters to types for consistency
- Bus.Mono -> [int] for stereo reverse - Bus.Mono -> [int] for stereo reverse
- Bus.Levels.Convert return type [float] -> [single] for naming consistency, no functional change - Bus.Levels.Convert return type [float] -> [single] for naming consistency, no functional change
- Meta: AddBoolMembers, AddIntMembers $arg types for consistency
- Device: explicit $arg types for consistency
### Fixed ### Fixed

View File

@ -420,15 +420,15 @@ Certain 'special' commands are defined by the API as performing actions rather t
The following commands are available: The following commands are available:
- show
- hide - hide
- restart
- shutdown
- showvbanchat: bool, (write only) - showvbanchat: bool, (write only)
- lock: bool, (write only) - lock: bool, (write only)
The following methods are available: The following methods are available:
- Show()
- Restart()
- Shutdown()
- Load($filepath): string - Load($filepath): string
- RunMacrobuttons(): Launches the macrobuttons app - RunMacrobuttons(): Launches the macrobuttons app
- CloseMacrobuttons(): Closes the macrobuttons app - CloseMacrobuttons(): Closes the macrobuttons app
@ -436,7 +436,7 @@ The following methods are available:
example: example:
```powershell ```powershell
$vmr.command.show $vmr.command.show()
$vmr.command.lock = $true $vmr.command.lock = $true
@ -525,12 +525,6 @@ $vmr.Option.buffer.asio = 0 # to use default buffer size
The following commands are available: The following commands are available:
- play
- stop
- pause
- record
- ff
- rew
- A1 - A5: bool - A1 - A5: bool
- B1 - B3: bool - B1 - B3: bool
- samplerate: int, (22050, 24000, 32000, 44100, 48000, 88200, 96000, 176400, 192000) - samplerate: int, (22050, 24000, 32000, 44100, 48000, 88200, 96000, 176400, 192000)
@ -540,6 +534,13 @@ The following commands are available:
The following methods are available: The following methods are available:
- Play()
- Stop()
- Replay()
- FF()
- Rew()
- Record()
- Pause()
- Load($filepath): string - Load($filepath): string
- GoTo($timestring): string, must match the format 'hh:mm:ss' - GoTo($timestring): string, must match the format 'hh:mm:ss'
- FileType($format): string, ('wav', 'aiff', 'bwf', 'mp3') - FileType($format): string, ('wav', 'aiff', 'bwf', 'mp3')
@ -547,7 +548,7 @@ The following methods are available:
example: example:
```powershell ```powershell
$vmr.recorder.play $vmr.recorder.play()
$vmr.recorder.A1 = $true $vmr.recorder.A1 = $true
$vmr.recorder.GoTo("00:01:15") # go to 1min 15sec into track $vmr.recorder.GoTo("00:01:15") # go to 1min 15sec into track