About Namco's custom U-Law format

I was wondering if it was possible for Audacity to work with a custom implementation of the U-Law format used in many Namco arcade games from the ‘90’s (they use a sound chip called the C352). If you import some specific files from some MAME romset containing the word “wave” in their names using Audacity’s “Import Raw Data” option, you can actually hear the game’s soundbanks. Some of them will sound just fine with the “Signed 8-bit PCM” option, but others can be pretty much described as earrape.
Apparently, having a way to import those files with the algorithm written here could be a way to have them sound right: QuattroPlay/src/emu/c352.c at 448f316945d50a5aec5d1ed9607e04b4a0a3ee9c · superctr/QuattroPlay · GitHub
I was interested in trying to implement this myself, but I couldn’t find where the U-Law algorithm is written in Audacity.

Free ulaw plug-ins are available which work in Audacity …

thanks i search this many time

I’m sorry but this plugin didn’t really help.