mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2024-11-24 22:00:52 +00:00
gainlayers, levels added to readme.
bus mode methods fixed
This commit is contained in:
parent
6148d45b76
commit
39411ab332
83
README.md
83
README.md
@ -157,6 +157,37 @@ fmt.Println(vmRem.Strip[0].GetLabel())
|
|||||||
vmRem.Strip[4].SetA1(true)
|
vmRem.Strip[4].SetA1(true)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
##### Gainlayers
|
||||||
|
|
||||||
|
- `vmRem.Strip[i].GainLayer()[j]`
|
||||||
|
|
||||||
|
The following functions are available
|
||||||
|
|
||||||
|
- `Get() float64`
|
||||||
|
- `Set(val float32)`
|
||||||
|
|
||||||
|
example:
|
||||||
|
|
||||||
|
```go
|
||||||
|
vmRem.Strip[6].GainLayer()[3].Set(-13.6)
|
||||||
|
```
|
||||||
|
|
||||||
|
##### Levels
|
||||||
|
|
||||||
|
- `vmRem.Strip[i].Levels()`
|
||||||
|
|
||||||
|
The following functions are available
|
||||||
|
|
||||||
|
- `PreFader() []float32`
|
||||||
|
- `PostFader() []float32`
|
||||||
|
- `PostMute() []float32`
|
||||||
|
|
||||||
|
example:
|
||||||
|
|
||||||
|
```go
|
||||||
|
fmt.Println(vmRem.Strip[5].Levels().PreFader())
|
||||||
|
```
|
||||||
|
|
||||||
### Bus
|
### Bus
|
||||||
|
|
||||||
The following functions are available
|
The following functions are available
|
||||||
@ -184,22 +215,50 @@ fmt.Println(vmRem.Bus[0].GetLabel())
|
|||||||
|
|
||||||
The following functions are available
|
The following functions are available
|
||||||
|
|
||||||
- `normal`: boolean
|
- `SetNormal(val bool)`
|
||||||
- `amix`: boolean
|
- `GetNormal() bool`
|
||||||
- `bmix`: boolean
|
- `SetAmix(val bool)`
|
||||||
- `composite`: boolean
|
- `GetAmix() bool`
|
||||||
- `tvmix`: boolean
|
- `SetBmix(val bool)`
|
||||||
- `upmix21`: boolean
|
- `GetBmix() bool`
|
||||||
- `upmix41`: boolean
|
- `SetRepeat(val bool)`
|
||||||
- `upmix61`: boolean
|
- `GetRepeat() bool`
|
||||||
- `centeronly`: boolean
|
- `SetComposite(val bool)`
|
||||||
- `lfeonly`: boolean
|
- `GetComposite() bool`
|
||||||
- `rearonly`: boolean
|
- `SetTvMix(val bool)`
|
||||||
|
- `GetTvMix() bool`
|
||||||
|
- `SetUpMix21(val bool)`
|
||||||
|
- `GetUpMix21() bool`
|
||||||
|
- `SetUpMix41(val bool)`
|
||||||
|
- `GetUpMix41() bool`
|
||||||
|
- `SetUpMix61(val bool)`
|
||||||
|
- `GetUpMix61() bool`
|
||||||
|
- `SetCenterOnly(val bool)`
|
||||||
|
- `GetCenterOnly() bool`
|
||||||
|
- `SetLfeOnly(val bool)`
|
||||||
|
- `GetLfeOnly() bool`
|
||||||
|
- `SetRearOnly(val bool)`
|
||||||
|
- `GetRearOnly() bool`
|
||||||
|
|
||||||
example:
|
example:
|
||||||
|
|
||||||
```go
|
```go
|
||||||
vmRem.Bus[3].Mode().SetAmix(true)
|
vmRem.Bus[3].Mode().SetAmix(true)
|
||||||
|
vmRem.Bus[4].Mode().SetCenterOnly(true)
|
||||||
|
```
|
||||||
|
|
||||||
|
##### Levels
|
||||||
|
|
||||||
|
- `vmRem.Bus[i].Levels()`
|
||||||
|
|
||||||
|
The following functions are available
|
||||||
|
|
||||||
|
- `All() []float32`
|
||||||
|
|
||||||
|
example:
|
||||||
|
|
||||||
|
```go
|
||||||
|
fmt.Println(vmRem.Bus[1].Levels().All())
|
||||||
```
|
```
|
||||||
|
|
||||||
### Button
|
### Button
|
||||||
@ -326,7 +385,7 @@ vmRem.Recorder.SetB2(false)
|
|||||||
To run all tests:
|
To run all tests:
|
||||||
|
|
||||||
```
|
```
|
||||||
go run test ./...
|
go test ./...
|
||||||
```
|
```
|
||||||
|
|
||||||
### Official Documentation
|
### Official Documentation
|
||||||
|
Loading…
Reference in New Issue
Block a user