Skip to content

Create Crop Audio Method #5

@TeagueSS

Description

@TeagueSS

Write a method that crops the excess ending and begging of an MP3 file. This is needed as when we download our just dance GamePlay, there is time in menu before and after the dance that we don't want our model to train off of.

Method Signature:

def cropVideo(videoPath: str , time_to_remove_from_front , time_to_remove_from_end)
Please delete the non-cropped Audio after

Input:

  1. File Path
  2. The time we need to take off the front
  3. The time we need to take off of the end

Return:
string: The file path of the new cropped file

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions