Sound Macros

From Turtle WoW Wiki

Disable audio

Disable audio for macro to cast spell

/console Sound_EnableSFX 0
/script if GetUnitName("target")==nil then TargetNearestEnemy() end
/cast Fireball
/console Sound_EnableSFX 1
/script UIErrorsFrame:Clear();

Error sound

Error sound off

/Console MasterSoundEffects 0


Error sound on

/Console MasterSoundEffects 1

Error Speech

Disable Error Speech (SetCVar)

/run SetCVar("EnableErrorSpeech", 0) UIErrorsFrame:UnregisterEvent"UI_ERROR_MESSAGE" CastSpellByName"SPELLNAME" UIErrorsFrame:RegisterEvent"UI_ERROR_MESSAGE" SetCVar("EnableErrorSpeech", 1)


Disable Error Speech (Console)

/console EnableErrorSpeech 0
/run UIErrorsFrame:UnregisterEvent"UI_ERROR_MESSAGE"
/run CastSpellByName"SPELLNAME"
/run UIErrorsFrame:RegisterEvent"UI_ERROR_MESSAGE"
/console EnableErrorSpeech 1

Play Sound

Play the Raid Warning sound

/run PlaySound ("RaidWarning");


Play Raid Warning sound if target exist

/run if UnitExists("target") then PlaySound ("RaidWarning"); else end


Check that you have proper druid HoT on you

/script local i=0 g=GetPlayerBuff while not(g(i) == -1)do if(strfind(GetPlayerBuffTexture(g(i)), "Spell_Nature_Rejuvenation"))then PlaySoundFile("Sound\Creature\Ossirian\OssirianIAmRejuvenated.wav")end i=i+1 end

Sound Tweaks

Enter each of these commands in-game and then restart your client.

/console SoundMemoryCache 128
/console SoundMaxHardwareChannels 128
/console SoundSoftwareChannels 128

put compatibility option to XP SP3 if you get sound issues

You can add this one if you want too:

/console SoundMixRate 48000

Sound channels

Set in game:

/run SetCVar("Sound_NumChannels",128)


Confirm its done:

/dump GetCVar("Sound_NumChannels")

You can add 2 lines to your config.wtf - that way you dont need a modified .exe - the lines to add are SET SoundMaxHardwareChannels "256" and "SET SoundSoftwareChannels "256" - change the number 256 to the channels you want. I have it set to the max of 256.