#pragma once

#include <juce_audio_basics/juce_audio_basics.h>

namespace deeppluck
{
class DeepPluckSound final : public juce::SynthesiserSound
{
public:
    bool appliesToNote (int midiNoteNumber) override
    {
        return juce::isPositiveAndBelow (midiNoteNumber, 128);
    }

    bool appliesToChannel (int midiChannel) override
    {
        return juce::isPositiveAndBelow (midiChannel - 1, 16);
    }
};
}
