str2midi
- pitchtools.str2midi(s)
Accepts all that n2m accepts but with the addition of frequencies
Note
The hz part must be at the end
- Parameters:
s (
str
) – pitch describes as a string. Possible values: “100hz”, “4F+20hz”, “8C-4hz”- Return type:
float
- Returns:
the corresponding midinote