Hi I'm stupid and don't into math at all beyond like middle school. I need help finding the function behind a series.
I'm using a program called synth edit that lets you create virtual instruments. The important part here is that there's a slider which sets note length, but the numbers you input into the slider aren't directly mapped to seconds.
Here's a set of data I found by trial and error. The numbers on the left are the numbers I inputted in the slider, the numbers on the right are how long the note was in samples. I strongly believe that they're all slightly longer than they "should" be, probably because the program I used to render them as waveforms in order to measure their length is artificially adding ~41 samples.
0.625 = 121
1 = 154
1.25 - 183
2 = 322
2.5 = 482
3 = 726
4 = 1,792
5 = 4,454
6 = 11,113
7 = 27,868
7.5 = 44,125
8 = 69,936
8.25 = 88,035
8.5 = 110,817
8.75 = 139,0307
9 = 175,597
10 = 441,041
12.5 = 4,432,093
The pattern I've noticed - Assuming I'm right about these values being slightly longer than they "should" be, every increase of 2.5 steps represents an exponent of the sample rate. 2.5 is ~1/100 of a second, 5 is 1/10 of a second, 7.5 is a second, 10 is ten seconds, and 12.5 is 100 seconds. I think it's best to assume that those really are meant to be 441 samples, 4410 samples, 44100 samples, etc. instead of the values I actually measured since it would make sense for the lengths to be tied directly to the sample rate.
I want an equation that will tell me for a given value in seconds (samples/44100), what number ought to go into the slider.
Also for the record, the slider accepts a ludicrous number of decimal points as input.
Let me know if you need more information.
I'm using a program called synth edit that lets you create virtual instruments. The important part here is that there's a slider which sets note length, but the numbers you input into the slider aren't directly mapped to seconds.
Here's a set of data I found by trial and error. The numbers on the left are the numbers I inputted in the slider, the numbers on the right are how long the note was in samples. I strongly believe that they're all slightly longer than they "should" be, probably because the program I used to render them as waveforms in order to measure their length is artificially adding ~41 samples.
0.625 = 121
1 = 154
1.25 - 183
2 = 322
2.5 = 482
3 = 726
4 = 1,792
5 = 4,454
6 = 11,113
7 = 27,868
7.5 = 44,125
8 = 69,936
8.25 = 88,035
8.5 = 110,817
8.75 = 139,0307
9 = 175,597
10 = 441,041
12.5 = 4,432,093
The pattern I've noticed - Assuming I'm right about these values being slightly longer than they "should" be, every increase of 2.5 steps represents an exponent of the sample rate. 2.5 is ~1/100 of a second, 5 is 1/10 of a second, 7.5 is a second, 10 is ten seconds, and 12.5 is 100 seconds. I think it's best to assume that those really are meant to be 441 samples, 4410 samples, 44100 samples, etc. instead of the values I actually measured since it would make sense for the lengths to be tied directly to the sample rate.
I want an equation that will tell me for a given value in seconds (samples/44100), what number ought to go into the slider.
Also for the record, the slider accepts a ludicrous number of decimal points as input.
Let me know if you need more information.
