mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 19:23:59 +00:00
Gentler rate scaling
This commit is contained in:
parent
16bbada3dc
commit
0a71cc8cae
|
@ -566,8 +566,8 @@
|
||||||
{
|
{
|
||||||
const float kMaxRate = 8.0f;
|
const float kMaxRate = 8.0f;
|
||||||
const float kMinRate = 0.2f;
|
const float kMinRate = 0.2f;
|
||||||
const float kUpScale = 1.2f;
|
const float kUpScale = 1.1f;
|
||||||
const float kDownScale = 0.8f;
|
const float kDownScale = 1.0f/kUpScale;
|
||||||
bool nowPlaying = VLSoundOut::Instance()->Playing();
|
bool nowPlaying = VLSoundOut::Instance()->Playing();
|
||||||
switch (int tag = [sender tag]) {
|
switch (int tag = [sender tag]) {
|
||||||
case 0: // Play
|
case 0: // Play
|
||||||
|
@ -666,3 +666,4 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user