Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: November 10, 2024, 4:52 pm

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Maths vs. Music - Tuning and harmony
#59
RE: Maths vs. Music - Tuning and harmony
Okay, so here's some info on the MIDI tuning system.  It turns out it allows for VERY small divisions of cents, so maybe a MIDI VST plugin will do what I need. 

https://en.wikipedia.org/wiki/MIDI_Tuning_Standard


which has stuff like:
[Image: 97c80a425f78aeef087a0bb68c2e6c81.png]

This is straightforward enough (middle C = 60 by definition, and A is 9 semitones above that), so d = the equal-tempered semitone you want + a pitch fraction.  That fraction must be converted to a 14-bit fraction of 100 cents.  The math is a little confusing-- I'm not sure how to represent the fraction in 14 bits.  And I'm also not sure how to test if the playback is as fine as I want it to be-- unless I am generating all the soundwaves myself.


I guess the first step would be to write a little tuner that would let you set the justification of each of the 12 tones in a textbox.  Then you'd take in MIDI notes and forward them to a sound generator for playback with the adjusted pitches, thereby (I hope) allowing you to instantly tune ANY instrument you'd like.

I think this will work, and I think (hopefully) it can be achieved in a couple days.
Reply



Messages In This Thread
Maths vs. Music - Tuning and harmony - by Thumpalumpacus - September 9, 2016 at 12:46 am
RE: Maths vs. Music - Tuning and harmony - by bennyboy - September 12, 2016 at 5:58 am
RE: Maths vs. Music - Tuning and harmony - by bennyboy - September 12, 2016 at 9:17 am
RE: Maths vs. Music - Tuning and harmony - by bennyboy - September 12, 2016 at 9:26 am
RE: Maths vs. Music - Tuning and harmony - by bennyboy - September 13, 2016 at 5:09 am
RE: Maths vs. Music - Tuning and harmony - by Alex K - September 13, 2016 at 5:14 am
RE: Maths vs. Music - Tuning and harmony - by bennyboy - September 13, 2016 at 7:04 am
RE: Maths vs. Music - Tuning and harmony - by Alex K - September 12, 2016 at 5:30 am
RE: Maths vs. Music - Tuning and harmony - by bennyboy - September 12, 2016 at 6:03 am
RE: Maths vs. Music - Tuning and harmony - by Alex K - September 12, 2016 at 6:20 am

Possibly Related Threads...
Thread Author Replies Views Last Post
  What does maths add up to? MarcusA 7 1280 September 21, 2023 at 9:22 pm
Last Post: LinuxGal
  simple maths or simple minds? ignoramus 9 1526 April 6, 2021 at 11:25 am
Last Post: polymath257
  Can God be seen in the maths? Dropship 136 33357 July 17, 2017 at 3:27 pm
Last Post: Brian37
Question Maths problem to solve Aractus 24 5816 October 22, 2016 at 6:16 am
Last Post: Longhorn
  Maths proves 1=0.999.. thus ends in self contradiction shakuntala 11 6378 December 21, 2014 at 3:57 pm
Last Post: Thumpalumpacus
  Maths test fr0d0 23 9889 June 18, 2013 at 9:48 am
Last Post: Categories+Sheaves
  Mathematical claims of 'Bible Codes'...is there any truth in the maths? CoxRox 12 9072 January 9, 2009 at 5:23 pm
Last Post: Tiberius



Users browsing this thread: 2 Guest(s)