Convert an Power Shell script to Linux script

Job ID: 35078440

Budget: €8 – €30 EUR

I have an small windows power shell script that I want to let's work on an raspberry pi every minute.
Purpose of the script is to record from an USB mic for x sec an wav file.
And convert this data (tone and volume) to an mqtt broker.
Related categories: C Programming Debian