mirror of
https://codeberg.org/armin/monostep.git
synced 2026-09-01 04:10:46 +02:00
add juce to gitignore
This commit is contained in:
parent
fd82954072
commit
8ed279e84c
5 changed files with 107 additions and 17 deletions
|
|
@ -62,8 +62,8 @@ juce::AudioProcessorValueTreeState::ParameterLayout MonostepAudioProcessor::crea
|
|||
{
|
||||
juce::AudioProcessorValueTreeState::ParameterLayout layout;
|
||||
|
||||
layout.add (std::make_unique<juce::AudioParameterInt> (paramId (pOsc1Wave), "Osc 1 Wave", 0, 7, 2));
|
||||
layout.add (std::make_unique<juce::AudioParameterInt> (paramId (pOsc2Wave), "Osc 2 Wave", 0, 7, 3));
|
||||
layout.add (std::make_unique<juce::AudioParameterInt> (paramId (pOsc1Wave), "Osc 1 Wave", 0, monostep::numWaveforms - 1, 2));
|
||||
layout.add (std::make_unique<juce::AudioParameterInt> (paramId (pOsc2Wave), "Osc 2 Wave", 0, monostep::numWaveforms - 1, 3));
|
||||
|
||||
layout.add (std::make_unique<juce::AudioParameterInt> (paramId (pOsc1Coarse), "Osc 1 Coarse", -12, 12, 0));
|
||||
layout.add (std::make_unique<juce::AudioParameterInt> (paramId (pOsc2Coarse), "Osc 2 Coarse", -12, 12, 0));
|
||||
|
|
@ -307,8 +307,8 @@ void MonostepAudioProcessor::randomizePattern()
|
|||
|
||||
void MonostepAudioProcessor::randomizeOsc()
|
||||
{
|
||||
applyParamValue ("osc1Wave", (float) random.nextInt (4));
|
||||
applyParamValue ("osc2Wave", (float) random.nextInt (4));
|
||||
applyParamValue ("osc1Wave", (float) random.nextInt (monostep::numWaveforms));
|
||||
applyParamValue ("osc2Wave", (float) random.nextInt (monostep::numWaveforms));
|
||||
applyParamValue ("osc2Coarse", (float) (random.nextInt (25) - 12));
|
||||
applyParamValue ("detune", (float) (random.nextInt (101) - 50));
|
||||
applyParamValue ("mix", 0.2f + random.nextFloat() * 0.6f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue