unreal.MidiStepSequence

class unreal.MidiStepSequence(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

This class represents a step sequence table. It is used by the MetasSound Step Sequence node to generate midi note on/off messages.

C++ Source:

  • Plugin: Harmonix

  • Module: HarmonixMetasound

  • File: MidiStepSequence.h

Editor Properties: (see get_editor_property/set_editor_property)

  • columns (int32): [Read-Write]

  • current_page_number (int32): [Read-Write]

  • pages (int32): [Read-Write]

  • rows (int32): [Read-Write]

  • step_table (StepSequenceTable): [Read-Write]

property columns: int

[Read-Write]

Type:

(int32)

disable_rows_above(first_disabled_row) None

Disable Rows Above

Parameters:

first_disabled_row (int32) –

get_cell(row, column) StepSequenceCell

Get Cell

Parameters:
  • row (int32) –

  • column (int32) –

Return type:

StepSequenceCell

get_cell_on_page(page, row, column) StepSequenceCell

Get Cell on Page

Parameters:
  • page (int32) –

  • row (int32) –

  • column (int32) –

Return type:

StepSequenceCell

get_step_table() StepSequenceTable

Get Step Table

Return type:

StepSequenceTable

property pages: int

[Read-Write]

Type:

(int32)

property rows: int

[Read-Write]

Type:

(int32)

set_cell(row, column, state) StepSequenceCell

Set Cell

Parameters:
  • row (int32) –

  • column (int32) –

  • state (bool) –

Return type:

StepSequenceCell

set_cell_continuation(row, column, state) StepSequenceCell

Set Cell Continuation

Parameters:
  • row (int32) –

  • column (int32) –

  • state (bool) –

Return type:

StepSequenceCell

set_cell_continuation_on_page(page, row, column, state) StepSequenceCell

Set Cell Continuation on Page

Parameters:
  • page (int32) –

  • row (int32) –

  • column (int32) –

  • state (bool) –

Return type:

StepSequenceCell

set_cell_on_page(page, row, column, state) StepSequenceCell

Set Cell on Page

Parameters:
  • page (int32) –

  • row (int32) –

  • column (int32) –

  • state (bool) –

Return type:

StepSequenceCell

set_num_columns(count) None

Set Num Columns

Parameters:

count (int32) –

set_num_pages(count) None

Set Num Pages

Parameters:

count (int32) –

set_num_rows(count) None

Set Num Rows

Parameters:

count (int32) –

set_row_note_number(row_index, midi_note_number) bool

Set Row Note Number

Parameters:
  • row_index (int32) –

  • midi_note_number (int32) –

Return type:

bool

set_row_velocity(row_index, midi_velocoty) bool

Set Row Velocity

Parameters:
  • row_index (int32) –

  • midi_velocoty (int32) –

Return type:

bool

set_step_skip_index(step_index) bool

Set Step Skip Index

Parameters:

step_index (int32) –

Return type:

bool

set_step_table(new_step_table) None

Set Step Table

Parameters:

new_step_table (StepSequenceTable) –

property step_table: StepSequenceTable

[Read-Only]

Type:

(StepSequenceTable)

toggle_cell(row, column) StepSequenceCell

Toggle Cell

Parameters:
  • row (int32) –

  • column (int32) –

Return type:

StepSequenceCell

toggle_cell_on_page(page, row, column) StepSequenceCell

Toggle Cell on Page

Parameters:
  • page (int32) –

  • row (int32) –

  • column (int32) –

Return type:

StepSequenceCell