Change back the default number of voices to 64

This commit is contained in:
Paul Ferrand 2020-06-15 02:06:55 +02:00
parent 62d7a0977d
commit c7fff6b27a
3 changed files with 4 additions and 9 deletions

View file

@ -75,7 +75,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 512
#define MAX_VOICES 256
#define DEFAULT_VOICES 64
#define DEFAULT_OVERSAMPLING SFIZZ_OVERSAMPLING_X1
#define DEFAULT_PRELOAD 8192

View file

@ -129,7 +129,7 @@ midnam:update a lv2:Feature .
lv2:portProperty pprop:expensive ;
lv2:portProperty lv2:integer ;
lv2:portProperty lv2:enumeration ;
lv2:default 256 ;
lv2:default 64 ;
lv2:minimum 8 ;
lv2:maximum 256 ;
lv2:scalePoint [ rdfs:label "8 voices",
@ -162,11 +162,6 @@ 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 ;

View file

@ -37,8 +37,8 @@ namespace config {
constexpr bool loggingEnabled { false };
constexpr size_t numChannels { 2 };
constexpr int numBackgroundThreads { 4 };
constexpr int numVoices { 256 };
constexpr unsigned maxVoices { 512 };
constexpr int numVoices { 64 };
constexpr unsigned maxVoices { 256 };
constexpr int maxFilePromises { maxVoices };
constexpr int sustainCC { 64 };
constexpr int allSoundOffCC { 120 };