Skip to content

A space for the development of audio-related tools.

Notifications You must be signed in to change notification settings

shahaansshah/Audiolab

Repository files navigation

Audiolab

A space for the development of audio-related tools.

autorepitch

Generates pitch-shifted audio samples of a given audio file, within a range of notes specified by the user. It was developed to aid in the process of creating soundfont files from an audio sample. Can be used with the GUI or by calling the function in the shell.

Here is a demonstration of the GUI being used to help create a soundfont:

Next Steps
  • Comments/pydocs!
  • restructure noteid.py (an overall get_valid_note() function is all that's needed)
  • add more print statements so that the program is useable & can be tracked/debugged from the console
  • add a progress indicator into autorepitch that shows up in the GUI - something along the lines of:
# check for an optional GUI object - ie. autorepitch(..., self)??

def  autorepitch(..., *args, **kwargs):
    arglist = []
    ... # make sure arglist is only 1 long
    GUI = arglist[0]        
    # update the info text of the GUI object!
    if isinstance(GUI, autorepitch_GUI.GUI):  
        GUI.info = 'stuff'
        GUI.infostr.set(GUI.info)

# and short_name should be a **kwargs parameter!