You can configure Audacity to automatically start recording as soon as an audio source (above a defined threshold) is detected. To enable this feature follow these steps.
Enable the Sound Activate Recording feature
- Open Audacity.
- Click on the Edit menu > Preferences.
- Go to the Recording section.
- Tick the Sound Activated Recording checkbox.
- Set the Sound Activation level (in decibel - DB)