Giter Club home page Giter Club logo

exploring-harmonic-entropy-with-python's Introduction

Harmonic Entropy Exploration in Python

What is harmonic entropy?

It's well documented on the Xenharmonic wiki.

There is a certain tolerance for frequency difference -- if two frequencies are close enough, then to human ears they should be equivalent. Maybe we could define this as: at least close enough so that their "beat" frequency is no faster than 1 Hz. Probably need to investigate / play around with this idea further.

Idea for optimal harmonic control based on entropy

  1. Define a multi-valued time series of fundamental frequencies (a.k.a. "sine wave music"). Each frequency corresponds to an oscillator to which we later add a certain overtone series.
  2. Choose a set of discrete intervals over which to do the harmonic analysis and optimization. Aside It may be possible to do a continuous-time optimization -- i.e. continuous optimal control.
  3. Apply perturbations to each fundamental's harmonic series -- i.e. perturb the oscillator shape

PROBLEM Adjusting the overtones in the harmonic series -- even a tiny amount -- really sound pretty awful.

  1. For each interval (for which the fundamentals may have different harmonic relationships) apply a set of optimization criteria to adjust the oscillator shapes so that the overtone series' This is the hard part. There are many optimization goals that could be implemented here. Here are some ideas:
  • penalize non-decaying overtone series
  • penalize distance from original perturbed values
  • penalize harmonic entropy

exploring-harmonic-entropy-with-python's People

Contributors

brianbreitsch avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.