Windows Utility and PowerShell script to capture audio from PC's microphone and store it in an audio file

Job ID: 32003583

Budget: €8 – €30 EUR

I would like to hire a developer how is able to create a Powershell script (and a utility) that can record the audio output of the computer.

In other words, to record audio using the in-built microphone. Utility (and PowerShell script) must be able to receive five parameters determined by me through commands/variables:

1. the location where the audio file will be stored
(eg -location C:\Users\hp6300\Downloads\).
2. the format of the file where the recording will be stored (eg - format mp3).
3. the filename of the file (eg -filename myrecording).
4. the channels of the recording mono/stereo (eg - channel mono, -channel stereo)
5. the duration of the recording in seconds
(eg - duration 20).

Utility and PowerShell script must be compatible with all Windows versions (Windows 7 and higher, 32bit, 64 bit).
Utility must be accessible through command lines.

Flow example:
1. The utility (or PowerShell script) is activated.
2. It catches the sound from the built-in microphone of the PC (environment sound).
3. it records the sound for XX seconds, according to the -duration parameter.
4. It stores the recorded audio in a file, according to the - format parameter (e.g. mp3, wav etc).
5. It saves the file on PC, according to the -location parameter.