Are you using a custom Crafting Menu or are you modifiying the existing code?
If you you are making a custom one you can override
Code:
public virtual void DoCraft(int quantity)
Then you should be able to cal your code to audio if there isn't enough ingredients.
if you are modifying the existing CraftingMenu and don't have access to your code, that's probably because of the Assembly definitions
You'll need to add your own assembly in the UIS assembly dependencies to allow your code to appear in our code.

(This is NOT recommended, it is highly recomemended you make a custom script by inheriting CraftingMenu within your own assembly)
If you are not familiar with assembly definitions check this video