split_frequency_deviation

pitchtools.split_frequency_deviation(pitch)[source]

For a pitch given as 4Eb-14hz, returns (‘4Eb’, -14)

Parameters:

pitch (str) – the pitch as string

Return type:

tuple[str, int]

Returns:

a tuple (notename, frequency_deviation)