Server Queries — Pyo 1.0.4 documentation

Pyo 1.0.4 documentation

# Server Queries

Functions to query the audio server state.

## Functions in this category

- `serverCreated()` : Returns True if a Server object is already created, otherwise, returns False.

- `serverBooted()` : Returns True if an already created Server is booted, otherwise, returns False.

## serverCreated

serverCreated()

  Returns True if a Server object is already created, otherwise, returns False.

      >>> print(serverCreated())
      False
      >>> s = Server()
      >>> print(serverCreated())
      True

## serverBooted

serverBooted()

  Returns True if an already created Server is booted, otherwise, returns False.

      >>> s = Server()
      >>> print(serverBooted())
      False
      >>> s.boot()
      >>> print(serverBooted())
      True