execute store result score random itemcount run random value 1..6
execute if score random itemcount matches 1 run playsound minecraft:block.amethyst_block.chime neutral @s ^ ^ ^10 2 1.1
execute if score random itemcount matches 2 run playsound minecraft:block.amethyst_block.chime neutral @s ^ ^ ^10 2 1
execute if score random itemcount matches 3 run playsound minecraft:block.amethyst_block.chime neutral @s ^ ^ ^10 2 .9
execute if score random itemcount matches 4 run playsound minecraft:block.amethyst_block.chime neutral @s ^ ^ ^10 2 .8
execute if score random itemcount matches 5 run playsound minecraft:block.amethyst_block.chime neutral @s ^ ^ ^10 2 .7
execute if score random itemcount matches 6 run playsound minecraft:block.amethyst_block.chime neutral @s ^ ^ ^10 2 .6