Operator SDK
Build MIDI processing and UI modes for the Operator device
Loading...
Searching...
No Matches
op::params::FilePicker Struct Reference

A picker that lets the user choose a file from storage. More...

#include <params.h>

Public Attributes

std::string_view name
 Display name shown in the settings UI.
std::string_view extension
 Filename filter, for example ".scl". Only matching files are listed.
uint8_t max_filename_len = 64
 Longest filename the picker stores.
uint8_t is_per_instance = 0
 Set to 1 to give each mode instance its own copy of this value (output modes only; ignored for global modes).
ParentRef parent = {}
 Optional Section this parameter nests under.
VisibleWhen visible_when = {}
 Optional gate that hides this parameter based on a sibling's value (see gate).

Detailed Description

A picker that lets the user choose a file from storage.

Filters the listing by .extension (for example ".scl"). Read it back with param<>(), which returns a FilePickerValue holding the chosen filename. The mode then opens it through the storage ABI.


The documentation for this struct was generated from the following file: