News for hackers. Stuff that matters.
Re:Generate unique drum samples using artificial intelligence by mgdlbp on Saturday February 11, 2023 @03:39PM (#34756111)
I find repetitive sound effects in video games when the character repeats an action rather immersion-breaking -- I've wondered why procedural generation (even as rudimentary as a few dozen random envelopes and crossfades applied ahead-of-time to recorded samples) isn't used to mitigate that.
Re:Generate unique drum samples using artificial intelligence by mandmandam on Saturday February 11, 2023 @04:02PM (#34756314)
Though I'm sure some games actually do this, to lesser or greater extent [0], I've wondered why it's not more common ..

I think the answer comes down to the fact that it would take, at minimum, one highly skilled audio engineer with specific audio programming skills to develop reliable variations that sound good. The sounds need to be realistic and appropriate literally every time, despite also being "random". This process would be deceptively hard, and take a significant amount of time.

How great or necessary is the payoff in most cases? For example, Dota 2 is widely regarded as having superb audio engineering - experienced players can tell what's going on even in frantic ten player battles involving 100+ different heroes and hundreds of abilities by ear alone. Dota doesn't use any procedural generation at all, and I've never heard anyone complain despite the thousands of hours they put in.

[0] - https://splice.com/blog/procedural-audio-video-games/

Re:Generate unique drum samples using artificial intelligence by midnightclubbed on Saturday February 11, 2023 @04:14PM (#34756419)
Some games certainly do that and most audio engines will allow the sound designers to add random variations, along with randomly selecting between different samples.

There is only so much you can do with pitch changes and creative use of filters, and having multiple samples for each sound can burn memory (and sound designer hours) fairly quickly. As you point out there is a wide variance in the technical skills of sound designers (some love playing with the game engine side, some are better at making sounds and throwing them over the wall).

Re:Generate unique drum samples using artificial intelligence by failrate on Saturday February 11, 2023 @05:24PM (#34757040)
Yes, game devs in the know will have a bank of random samples for e.g. a foot step and then will also tweak volume and pitch to increase variability.