silvansky / mobilesynth

Automatically exported from code.google.com/p/mobilesynth
0 stars 0 forks source link

Glide rate should be constant in pitch #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  With glide enabled, play two notes in succession far apart in pitch
2.  Play two notes in succession close together in pitch

What is the expected output? What do you see instead?

The glide between the "close" notes should be much faster than the glide
between the "far apart" notes.  Instead, it seems to be constant time, so
the glide rate is very slow when the notes are close.  I don't think this
is how most monophonic synths operate and it sounds strange.

What version of the product are you using? On what operating system?
Current on iPhone as of March 8.

Original issue reported on code.google.com by ctglea...@gmail.com on 8 Mar 2009 at 3:56

GoogleCodeExporter commented 9 years ago
(Thanks for all of the quality bug reports)

This should be not too difficult to fix.  I think the basic problem is that 
glide is currently implemented as a total 
number of samples to shift between any two notes instead of a rate.

Original comment by allen.po...@gmail.com on 9 Mar 2009 at 3:26

GoogleCodeExporter commented 9 years ago

Original comment by allen.po...@gmail.com on 9 Mar 2009 at 3:35

GoogleCodeExporter commented 9 years ago
This should be fixed as of r58 (or at least better).  One thought is that it 
the rate does not take into account the 
logarithmic difference between notes -- it uses a constant rate based on HZ per 
sample, not taking into account 
the fact that the number of HZ between higher keys is larger.

Please re-open if you think this is a problem or sounds strange (I don't know 
how this compares to other analog 
synths)

Original comment by allen.po...@gmail.com on 12 Mar 2009 at 6:40