Skip to content

SongsAttribute

namespace Griff.Modules.Rhythm;
public sealed class SongsAttribute : RowsAttribute

Marks a list of strings as songs to pick from, a music file each (a SongSelect’s Songs): the Inspector lists them a row each, the music picked from the project’s, each saying which table is its chart.

public override IReadOnlyList<RowColumn> Columns { get; }
public override string Example { get; }
public override string Noun { get; }
public static string ChartOf(string song)

The table a song’s chart is: named like its file (“Music/Groove.wav” plays “Groove”).

public override string Describe()
public override string? Note(Component component, IReadOnlyList<string> cells, IProjectNames? names)
public override IReadOnlyList<string>? Read(string row)
public override string Write(IReadOnlyList<string> cells)