mirror of
https://github.com/iluvcapra/pycmx.git
synced 2026-01-01 17:30:55 +00:00
Update README.md
Documentation on channels
This commit is contained in:
14
README.md
14
README.md
@@ -48,6 +48,20 @@ True
|
|||||||
'TC R1 V1.2 TEMP1 DX M.WAV'
|
'TC R1 V1.2 TEMP1 DX M.WAV'
|
||||||
>>> events[41].edits[1].clip_name
|
>>> events[41].edits[1].clip_name
|
||||||
'TC R1 V6 TEMP2 M DX.WAV'
|
'TC R1 V6 TEMP2 M DX.WAV'
|
||||||
|
|
||||||
|
# parsed channel maps are also
|
||||||
|
# available to the client
|
||||||
|
>>> events[2].edits[0].channels.get_audio_channel(7)
|
||||||
|
True
|
||||||
|
>>> events[2].edits[0].channels.get_audio_channel(6)
|
||||||
|
False
|
||||||
|
>>> for c in events[2].edits[0].channels.channels:
|
||||||
|
... print(f"Audio channel {c} is present")
|
||||||
|
...
|
||||||
|
Audio channel 7 is present
|
||||||
|
>>> events[2].edits[0].channels.video
|
||||||
|
False
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Should I Use This?
|
## Should I Use This?
|
||||||
|
|||||||
Reference in New Issue
Block a user