8000 GitHub - jonathanslenders/ui24r-client: Python asyncio client for the Soundcraft Ui24R digital mixer
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jonathanslenders/ui24r-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ui24R Python client

Python asyncio client for the Soundcraft Ui24R digital mixer.

This client provides a Python interface to the web socket API exposed by this mixer. The client can subscribe to settings, change them, or retrieve the current values.

This library is somewhat experimental and not extensively tested. It's reasonably well designed, but can contain bugs.

The performance is good enough to allows real time interaction with the mixer.

Some examples

Retrieve the current fader values for our input channels.

from ui24r_client import Ui24RClient

async with Ui24RClient.create("10.29.0.99") as client:
    for num in range(1, 21):
        channel = client.input(num)
        print(num, await channel.fader.get())

Setting/clearing the mute flag:

async with Ui24RClient.create("10.29.0.99") as client:
    channel = client.input(3)

    await channel.mute.set(True)
    await sleep(1)
    await channel.mute.set(False)
    await sleep(1)

Subscribe to fader changes:

async with Ui24RClient.create("10.29.0.99") as client:
    channel = client.input(17)

    async with channel.fader.subscribe() as iterator:
        async for value in iterator:
            print("fader for channel=", value)

Also see the examples/ directory in this repository.

About

Python asyncio client for the Soundcraft Ui24R digital mixer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0