In case anybody else is having this problem my sounds are now working by setting "use external player" in "player settings" to artsplayer in the control center>sound & multimedia>system notifications section.
I get the following message when I check "Run with the highest priority (realtime priority)" in the Control Center>Sound system settings : "Impossible to start aRts with realtime priority because artswrapper is missing or disabled". Artswrapper is not missing. If it's disabled how do I enable it? I have tried everything I can find to get my kde system notification sounds to work and nothing has helped. My sound works on everything except this. It's not that big of a deal but I would just like to know why this doesn't work.
In case anybody else is having this problem my sounds are now working by setting "use external player" in "player settings" to artsplayer in the control center>sound & multimedia>system notifications section.

Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151
$79.99
LOT OF 4 Intel Core i5-10505 6-Core 3.2GHz SRH38 CPU Processor
$349.95
INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR
$23.00
INTEL CORE I5-11600 2.80GHZ PROCESSOR | SRKNW
$109.99
AMD Ryzen 5 5600X Desktop Processor (3.7GHz, 6 Cores, AM4 CPU) 100-100000065
$135.00
Intel Core i7-8700 3.2 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR3QS
$67.99
Intel Core i7-9700 3.00 GHz LGA 1151 Desktop CPU Processor SRG13
$79.99
SR0PL Intel Core i7-3770K 3.50GHz Quad Core 8MB LGA1155 CPU Processor *km
$43.99
AMD Ryzen 7 5700X 8-Core 3.4GHz Socket AM4 CPU MPN 100-000000926
$150.00
Genuine Dell Alienware Aurora R8 R9 R10 R11 R12 Liquid CPU Cooler MH0HN 0MH0HN
$21.80