1#ifndef YAZE_EDITOR_MUSIC_SAMPLE_EDITOR_VIEW_H
2#define YAZE_EDITOR_MUSIC_SAMPLE_EDITOR_VIEW_H
Editor for SNES BRR samples.
int selected_sample_index_
void DrawProperties(MusicSample &sample)
void SetOnPreviewCallback(std::function< void(int)> callback)
Set callback for sample preview.
void SetOnEditCallback(std::function< void()> callback)
Set callback for when edits occur.
void DrawWaveform(const MusicSample &sample)
void DrawSampleList(MusicBank &bank)
SampleEditorView()=default
std::vector< float > plot_y_
~SampleEditorView()=default
std::function< void(int)> on_preview_
void Draw(MusicBank &bank)
Draw the sample editor.
std::function< void()> on_edit_
std::vector< float > plot_x_
Manages the collection of songs, instruments, and samples from a ROM.
Contains classes and functions for handling music data in Zelda 3.
A BRR-encoded audio sample.