LMMS
Loading...
Searching...
No Matches
SFZSynth.h
Go to the documentation of this file.
1/*************************************************************************************
2 * Original code copyright (C) 2012 Steve Folta
3 * Converted to Juce module (C) 2016 Leo Olivers
4 * Forked from https://github.com/stevefolta/SFZero
5 * For license info please see the LICENSE file distributed with this source code
6 *************************************************************************************/
7
8#ifndef SFZSYNTH_H_INCLUDED
9#define SFZSYNTH_H_INCLUDED
10
11#include "SFZCommon.h"
12
14
15namespace sfzero
16{
17
19{
20public:
21 Synth();
22 virtual ~Synth() {}
23
24 void noteOn(int midiChannel, int midiNoteNumber, float velocity) override;
25 void noteOff(int midiChannel, int midiNoteNumber, float velocity, bool allowTailOff) override;
26
27 int numVoicesUsed();
29
30private:
32 CARLA_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(Synth)
33};
34}
35
36#endif // SFZSYNTH_H_INCLUDED
water::String voiceInfoString()
Definition SFZSynth.cpp:146
void noteOn(int midiChannel, int midiNoteNumber, float velocity) override
Definition SFZSynth.cpp:20
void noteOff(int midiChannel, int midiNoteNumber, float velocity, bool allowTailOff) override
Definition SFZSynth.cpp:108
int numVoicesUsed()
Definition SFZSynth.cpp:131
int noteVelocities_[128]
Definition SFZSynth.h:31
Synth()
Definition SFZSynth.cpp:15
virtual ~Synth()
Definition SFZSynth.h:22
Definition String.h:48
Definition Synthesiser.h:298
Definition SFZDebug.cpp:11