diff --git a/basic/test.bsc b/basic/test.bsc index 382b89d9..1825c81e 100644 --- a/basic/test.bsc +++ b/basic/test.bsc @@ -1,4 +1,4 @@ -noise 0,300,100 +sfx 0,19 end proc snd(ch,fq,ms,sl,ty,v) diff --git a/firmware/common/sources/interface/sfxmanager.cpp b/firmware/common/sources/interface/sfxmanager.cpp index 7cdb930e..4a8daaa6 100644 --- a/firmware/common/sources/interface/sfxmanager.cpp +++ b/firmware/common/sources/interface/sfxmanager.cpp @@ -30,7 +30,7 @@ uint8_t SFXPlay(int channelID,int effect) { u.timeCS = notes[1];u.slide = 0;u.volume = 100;u.type = 0; switch(notes[0]) { case 0xFFFE: - u.frequency = 100;u.type = 1; + u.frequency = 2000;u.type = 1; break; case 0xFFFD: u.frequency = 200;u.type = 1;u.slide = 40;