Hi,
I am trying to generate notes/volume based on a slider2d control. Here is the code:
PlayNoteExample[{n_, v_}] := Module[{note, vol},
note = Floor[Rescale[n, {-1, 1}, {0, 11}]];
vol = Rescale[v, {-1, 1}, {0, 1}];
EmitSound[Sound[SoundNote[note, 0.1, "Flute", SoundVolume -> vol]]]];
Manipulate[PlayNoteExample[pt], {pt, {-1, -1}, {1, 1}}]
When I animate using the slider, the note transitions are jittery (I understand why). What should I do to make
the transitions smooth?
Regards,
Rangarajan