Skip to content

Added frequency augmentation#6

Merged
press-stuart merged 1 commit intomasterfrom
stot
Apr 8, 2025
Merged

Added frequency augmentation#6
press-stuart merged 1 commit intomasterfrom
stot

Conversation

@press-stuart
Copy link
Copy Markdown
Collaborator

Description

Current issue: sound_to_frequency (and probably other methods too) don't work when the sound is too long

sound_fft

  • Added AugmentedSample type: pair of number (frequency) and FrequencySample
  • Modified FrequencyList type to list of AugmentedSample (previously list of FrequencySample)
  • Added make_augmented_sample and get_frequency (of AugmentedSample) methods
  • Modified existing methods to use the new types

plotly

  • Modified sound_functions.ts and the draw_sound_frequency_2d method to use the new types

sound

  • Removed methods and imports that are no longer needed

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

@press-stuart press-stuart merged commit aa24a3a into master Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant