68 return get_default_hash(this->window_function, this->fft_size, this->channel.value_or(-1));
88 mutable std::optional<Array<float, 0>> cumulative_amplitudes;
92#if defined(WITH_AUDASPACE)
93 std::shared_ptr<SoundReaderCache> reader_cache_;
96 int samples_per_second_;
103 int window_cache_stride_;
106#if defined(WITH_AUDASPACE)
108 const WindowWeights &window_weights_;
113 static std::shared_ptr<const bSoundFrequencySampler>
get_cached(
const bSound &sound,
124#if defined(WITH_AUDASPACE)
127 std::shared_ptr<SoundReaderCache> reader_cache,
130 float sample_frequency_range_in_window(
int window_i,
134 float sample_cumulative_frequency(
Span<float> window_values,
137 std::optional<Span<float>> ensure_window_cache(
int window_i)
const;
138 std::optional<Array<float>> compute_fft(
int start_sample)
const;