Group

update

Updates a group

moises.group.update

Parameters

ParameterTypeRequiredDescription
groupIdstringYesThe ID of the group to update
namestringNoThe name of the group
typestringNoThe type of the group
ordernumberNoThe order of the group
solobooleanNoWhether the group is solo
mutedbooleanNoWhether the group is muted
volumenumberNoThe volume of the group (0-1)
takeLaneSetupArrayNoThe take lane setup configuration for the group

Returns:

Promise<void> - Promise that resolves when the group is updated

Usage Example

import { initMoisesExtension } from '@moises.ai/extension'

const useMoisesExtension = initMoisesExtension({
  id: 'id',
  name: 'name',
  description: 'description',
  icon: 'icon',
  version: 'version',
  author: 'author'
})

const { moises } = useMoisesExtension()

await moises.group.update({
  groupId: "group-123",
  name: "Updated Group Name",
  muted: true,
  volume: 0.8
})

This file is automatically generated. Do not edit manually.