some info on audio sources for tracks to create some special tracks for those that are visually impaired.
There is a small tutorial on how to do this using CSP:
How to make bank audio files for creating additional custom Audio Events for your tracks. Custom Shader Patch has a feature to add sound events to a...
assettocorsamods.net
Together with CSP's wiki:
Configuration files for Assetto Corsa Custom Shaders Patch - ac-custom-shaders-patch/acc-extension-config
github.com
Not sure if this is what you're after, though.
You could setup a sound (say, "2 right, don't cut") on a specific location (with some volume (its range)) on track. The sound starts playing whenever you're in this range.
You could do this on track edges, too (say, it beeps when you're close), but with a certain range of the audio, this requires hundreds of points to be added (you could possibly automate this if you're clever). Not impossible I'd say, just a whole lot of work.
I still need to test if I can get custom sounds for surfaces to work. That way, you could edit the track's surfaces, say the outer 1 meter to be a different surface with beeping as surface sound. Haven't gotten round to trying this yet.
But..!
Maybe this is programmable within an app? As apps can read the AI line which has left and right limits. The app could warn when you're close?
The AI line also contains information about braking points; that could be converted into warnings, maybe?