Skip to content

Added frequency augmentation #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 8, 2025
Merged

Added frequency augmentation #6

merged 1 commit into from
Apr 8, 2025

Conversation

press-sutart
Copy link
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-sutart press-sutart 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