Enum LiveMusicPlaybackControl
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
The playback control signal to apply to the music generation.
[JsonConverter(typeof(JsonStringEnumConverter<LiveMusicPlaybackControl>))]
public enum LiveMusicPlaybackControl
- Extension Methods
Fields
[JsonPropertyName("PLAYBACK_CONTROL_UNSPECIFIED")] PLAYBACK_CONTROL_UNSPECIFIED = 0This value is unused.
[JsonPropertyName("PLAY")] PLAY = 1Start generating the music.
[JsonPropertyName("PAUSE")] PAUSE = 2Hold the music generation. Use PLAY to resume from the current position.
[JsonPropertyName("STOP")] STOP = 3Stop the music generation and reset the context (prompts retained). Use PLAY to restart the music generation.
[JsonPropertyName("RESET_CONTEXT")] RESET_CONTEXT = 4Reset the context of the music generation without stopping it. Retains the current prompts and config.