Set a default polyphony of 256
This commit is contained in:
parent
5539fef4d2
commit
646b71cb43
4 changed files with 11 additions and 6 deletions
|
|
@ -74,7 +74,7 @@
|
|||
#define PITCH_BUILD_AND_CENTER(first_byte, last_byte) (int)(((unsigned int)last_byte << 7) + (unsigned int)first_byte) - 8192
|
||||
#define MAX_BLOCK_SIZE 8192
|
||||
#define MAX_PATH_SIZE 1024
|
||||
#define MAX_VOICES 256
|
||||
#define MAX_VOICES 512
|
||||
#define DEFAULT_VOICES 64
|
||||
#define DEFAULT_OVERSAMPLING SFIZZ_OVERSAMPLING_X1
|
||||
#define DEFAULT_PRELOAD 8192
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ midnam:update a lv2:Feature .
|
|||
lv2:portProperty pprop:expensive ;
|
||||
lv2:portProperty lv2:integer ;
|
||||
lv2:portProperty lv2:enumeration ;
|
||||
lv2:default 64 ;
|
||||
lv2:default 256 ;
|
||||
lv2:minimum 8 ;
|
||||
lv2:maximum 256 ;
|
||||
lv2:scalePoint [ rdfs:label "8 voices",
|
||||
|
|
@ -147,6 +147,11 @@ midnam:update a lv2:Feature .
|
|||
"256 Voci"@it;
|
||||
rdf:value 256
|
||||
] ;
|
||||
lv2:scalePoint [ rdfs:label "512 voices",
|
||||
"512 voix"@fr ,
|
||||
"512 Voci"@it;
|
||||
rdf:value 512
|
||||
] ;
|
||||
] , [
|
||||
a lv2:InputPort, lv2:ControlPort ;
|
||||
lv2:index 6 ;
|
||||
|
|
|
|||
|
|
@ -37,9 +37,9 @@ namespace config {
|
|||
constexpr bool loggingEnabled { false };
|
||||
constexpr size_t numChannels { 2 };
|
||||
constexpr int numBackgroundThreads { 4 };
|
||||
constexpr int numVoices { 64 };
|
||||
constexpr unsigned maxVoices { 256 };
|
||||
constexpr int maxFilePromises { maxVoices * 2 };
|
||||
constexpr int numVoices { 256 };
|
||||
constexpr unsigned maxVoices { 512 };
|
||||
constexpr int maxFilePromises { maxVoices };
|
||||
constexpr int sustainCC { 64 };
|
||||
constexpr int allSoundOffCC { 120 };
|
||||
constexpr int resetCC { 121 };
|
||||
|
|
|
|||
|
|
@ -80,6 +80,6 @@ struct SfizzParameterRange {
|
|||
};
|
||||
|
||||
static constexpr SfizzParameterRange kParamVolumeRange(0.0, -60.0, +6.0);
|
||||
static constexpr SfizzParameterRange kParamNumVoicesRange(64.0, 1.0, 256.0);
|
||||
static constexpr SfizzParameterRange kParamNumVoicesRange(256.0, 1.0, 512.0);
|
||||
static constexpr SfizzParameterRange kParamOversamplingRange(0.0, 0.0, 3.0);
|
||||
static constexpr SfizzParameterRange kParamPreloadSizeRange(8192.0, 1024.0, 65536.0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue