Program to solve for a formula given a set of pairs of points?

Click For Summary

Discussion Overview

The discussion revolves around finding a program that can derive a general function from a set of pairs of points. The scope includes theoretical aspects of function fitting and practical applications related to music synthesizer programming.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested

Main Points Raised

  • One participant inquires about the existence of a program that can determine a function from given pairs of points.
  • Another participant argues that such a program cannot exist due to the infinite number of functions that can fit any set of points and suggests considering specific types of functions, like least squares polynomial fitting.
  • A third participant describes their specific context involving a music synthesizer program that converts frequencies into hexadecimal representations, seeking to understand the conversion process.
  • A later reply proposes a potential formula related to MIDI notes, suggesting that the original inquiry may not align with the initial topic of function fitting.

Areas of Agreement / Disagreement

Participants express differing views on the feasibility of deriving a function from points, with some asserting that it is impossible due to the infinite possibilities, while others focus on a specific application related to music synthesis. The discussion remains unresolved regarding the applicability of function fitting to the music context.

Contextual Notes

There are limitations regarding the assumptions about the types of functions that might be considered, as well as the specific context of the music synthesizer, which may not directly relate to the original inquiry about function fitting.

zeion
Messages
455
Reaction score
1
Hi,

I'm look for a program that can solve for a general function when given a set of pairs of points?
Does anything like that exist?

Thanks.
 
Mathematics news on Phys.org
This doesn't exist, because there are infinitely many functions that can fit any given set of points. Is there any particular kind of function you think the points are supposed to look like? Least squares polynomial fitting is the most common type of data fitting to a function
 
Basically...
I'm looking at a music synthesizer program that converts frequency of notes into a hexadecimal representation that the program reads and plays, and I'm trying to get it to play my custom songs, but I can't figure out how it's doing that conversion.
 
If the 'hexadecimal' numbers you refer to are MIDI notes, then the formula is very likely this one:
http://en.wikipedia.org/wiki/Pitch_(music)#Labeling_pitches

But this is a question better suited for a sound programming forum; it has little relation to what you wrote in your first post, I'm afraid.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 41 ·
2
Replies
41
Views
6K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K