Audacity-Python Time Stretching Automation

Job ID: 37746031

Budget: $30 – $250 USD

I am in need of an expert who can streamline the process of automatically adjusting the lengths of my WAV audio files with a Python script, using Audacity macros, while ensuring the pitch remains unchanged.

Main Requirements:
- Develop a Python script that uses Audacity to perform time-stretching on audio files.
- The script needs to preserve pitch while expanding or contracting the length of the file.

I would like to have a script created for audacity that runs automatically at a specified time each day.
The automation will be triggered as an event using Windows Scheduler that will run a bat file that then runs the script. If there is a better method than a bat file, you can provide that alternative solution.

The script will MOVE all WAV files that are created in a folder on TODAY'S DATE from (C:\inetpub\wwwroot\Ultimate\Create 360) into a temporary folder (C:\inetpub\wwwroot\Ultimate\Create 360\TEMP).

These WAV files that are MOVED into the C:\inetpub\wwwroot\Ultimate\Create 360\TEMP folder will need to be time stretched to a specific length and then MOVED back to a the original folder (C:\inetpub\wwwroot\Ultimate\Create 360).

The Time Stretch process needs to first determine the actual length of the audio file. The variables for time stretching are as follows: if the actual file length is x minutes and 1 second up to 29 seconds, the time stretch will shrink the audio file down to the x minute.

Example 1: if the audio file is actually 3 minutes and 12 seconds, the time stretch process will shrink the audio down to precisely 3 minutes.

Example 2: if the audio file is 3 minutes and 29 seconds, the time stretch process shrink the audio down to precisely 3 minutes.

Example 3: if the audio file is 3 minutes and 30 seconds or longer up to 3 minutes 59 seconds, the time stretch process will stretch the audio to precisely 4 minutes.

Time Stretching in Audacity needs to preserve the overall pitch of the original audio file.

If this is to be accomplished using Python scripting in conjunction with Audacity, I will need assistance in setting this up on my computer and also setting up the event that triggers this on a daily basis.

Ideal Skills and Experience:
- Strong competence in Python scripting language
- Experience working with audio manipulation software, especially Audacity
- Familiarity with time-stretching processes in audio engineering
- Understanding of WAV format audio files

The expected candidate should provide a clear approach to the time-stretching task, ensuring accuracy and preservation of the audio file's original pitch.