pytimbre.spectral.swipe

Functions

erbs2hz(erbs)

Convert ERB to Hz

frequency_coefficients(k, fft_size, sample_rate)

Physical frequency of STFT coefficients

hz2erbs(hz)

Convert Hz to ERB scale

interpolate_one_candidate(pitch_strength, ...)

Interpolate time axis

nyquist(sample_rate)

Nyquist Frequency

parabolic_int(pitch_strength, ...)

Parabolic interpolation between pitch candidates using pitch strength

parabolic_interpolation(pitch_strength, ...)

Parabolic interpolation between pitch candidates using pitch strength

pitch_strength_all_candidates(ferbs, ...)

Compute pitch strength for all pitch candidates

pitch_strength_one(erbs_frequencies, ...)

Compute pitch strength for one pitch candidate

primes(n)

Returns a set of n prime numbers

resample_ferbs(spectrum, f, ferbs)

Resample to ERB scale

resample_time(pitch_strength, resampled_time, ti)

Resample time axis

swipe(samples[, sample_rate, hop_size, ...])

Implementation of a sawtooth waveform inspired pitch estimator (SWIPE).

swipe_spectral_estimation(x[, hop_size, ...])

time_values(m, hop_size, sample_rate)

Physical time of STFT coefficients