Is there a way to do this without requiring a right-click trigger? So it's, like, ambient or something? Like how water sounds when flowing or how lava pops.
Yes. You can make it trigger the sound on place but it may stop playing if you disconnect then reconnect so you might want to do something like this on update tick:
You could try making it so when the block is right clicked, it runs a command that plays the sound at the blocks position
Is there a way to do this without requiring a right-click trigger? So it's, like, ambient or something? Like how water sounds when flowing or how lava pops.
Yes. You can make it trigger the sound on place but it may stop playing if you disconnect then reconnect so you might want to do something like this on update tick:
replace 0 with however long it takes for the sound to stop playing in ticks. (if you didn't know already, 20 ticks is one second)