Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- ==============================================================================
- This file was auto-generated!
- It contains the basic startup code for a Juce application.
- ==============================================================================
- */
- #ifndef __PLUGINPROCESSOR_H_AD750AEC__
- #define __PLUGINPROCESSOR_H_AD750AEC__
- #include "../JuceLibraryCode/JuceHeader.h"
- //==============================================================================
- /**
- */
- class SimpleSynthAudioProcessor : public AudioProcessor
- {
- public:
- //==============================================================================
- SimpleSynthAudioProcessor();
- ~SimpleSynthAudioProcessor();
- //==============================================================================
- void prepareToPlay (double sampleRate, int samplesPerBlock);
- void releaseResources();
- void processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages);
- //==============================================================================
- AudioProcessorEditor* createEditor();
- bool hasEditor() const;
- //==============================================================================
- const String getName() const;
- int getNumParameters();
- float getParameter (int index);
- void setParameter (int index, float newValue);
- const String getParameterName (int index);
- const String getParameterText (int index);
- const String getInputChannelName (int channelIndex) const;
- const String getOutputChannelName (int channelIndex) const;
- bool isInputChannelStereoPair (int index) const;
- bool isOutputChannelStereoPair (int index) const;
- bool acceptsMidi() const;
- bool producesMidi() const;
- //==============================================================================
- int getNumPrograms();
- int getCurrentProgram();
- void setCurrentProgram (int index);
- const String getProgramName (int index);
- void changeProgramName (int index, const String& newName);
- //==============================================================================
- void getStateInformation (MemoryBlock& destData);
- void setStateInformation (const void* data, int sizeInBytes);
- private:
- //==============================================================================
- JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (SimpleSynthAudioProcessor);
- };
- #endif // __PLUGINPROCESSOR_H_AD750AEC__
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement