mirror of
https://codeberg.org/armin/justasample.git
synced 2026-09-01 12:20:48 +02:00
add ping-pong loop mode and crossfade length rotary
This commit is contained in:
parent
4bd1156835
commit
e9dc3a4d66
10 changed files with 67 additions and 17 deletions
|
|
@ -106,6 +106,7 @@ inline static const String PLAY_UNTIL_END{ "Play Until End" };
|
|||
inline static const String IS_LOOPING{ "Loop" };
|
||||
inline static const String LOOPING_HAS_START{ "Loop With Start" };
|
||||
inline static const String LOOPING_HAS_END{ "Loop With End" };
|
||||
inline static const String IS_PING_PONG{ "Ping Pong" };
|
||||
|
||||
inline static const String PLAYBACK_MODE{ "Playback Mode" };
|
||||
inline static const StringArray PLAYBACK_MODE_LABELS{ "Basic", "Bungee" }; // for IDs and display
|
||||
|
|
@ -381,6 +382,7 @@ inline juce::AudioProcessorValueTreeState::ParameterLayout createParameterLayout
|
|||
addBool(layout, LOOPING_HAS_START, false, Version::V1);
|
||||
addBool(layout, IS_LOOPING, false, Version::V1);
|
||||
addBool(layout, LOOPING_HAS_END, false, Version::V1);
|
||||
addBool(layout, IS_PING_PONG, false, Version::V1_3_2);
|
||||
|
||||
addFloat(layout, SAMPLE_GAIN, 0.f, addSkew({ -32.f, 16.f, 0.1f }, 0.f), Version::V1, suffixF(" " + VOLUME_UNIT, 0.1f));
|
||||
addBool(layout, MONO_OUTPUT, false, Version::V1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue