From the original SynthMaker forum (2004–2014), with its members’ names and dates.
lalo ·
HI guys!
i 've discussed with jorge about sample interpolation (linear, cubic, spline etc..) for the wave read component...
he said that probably in the future it will have interpolation options...
but for now...how would you solve the interpolation problems (while i.e. readinf the sample at lower speed than the original) with a code component after the wave read?
lalo
stefan ·
lalo wrote: HI guys!
i 've discussed with jorge about sample interpolation (linear, cubic, spline etc..) for the wave read component...
he said that probably in the future it will have interpolation options...
but for now...how would you solve the interpolation problems (while i.e. readinf the sample at lower speed than the original) with a code component after the wave read?
lalo
You have to read both at the current and at the next index and mix these.
Now read from the buffer using the intPos1 and 2 outputs, and multiply the values you get back with amp1 and amp2.
If something is unclear, do tell 🙂
lalo ·
stefancrs wrote:
lalo wrote: HI guys!
i 've discussed with jorge about sample interpolation (linear, cubic, spline etc..) for the wave read component...
he said that probably in the future it will have interpolation options...
but for now...how would you solve the interpolation problems (while i.e. readinf the sample at lower speed than the original) with a code component after the wave read?
lalo
You have to read both at the current and at the next index and mix these.
Now read from the buffer using the intPos1 and 2 outputs, and multiply the values you get back with amp1 and amp2.
If something is unclear, do tell 🙂
thanx stefan...
how can i use 2 different index to read from the file?
an example schematic would be cool if you can...
thanx again
lalo
stefan ·
Don't have the time! Can't you just use two wave read components?
lalo ·
ok ok..thanx..now i think get it 🙂
at least i think...
the idea is to have 2 copies of the buffer and interpolate between them?
so cubic interpolation would require 4 different copies..am i right?
thanx again and have a good work 🙂
lalo
stefan ·
you don't need copies of the actual buffer though, you just need to read from different indices simultaenously 🙂
apart from that, you're right 🙂
jorge ·
lalo wrote: the idea is to have 2 copies of the buffer and interpolate between them?
I think it would be two read components reading from the same sound buffer. One reads from intPos1 and the other from intPos2. The outputs of the two read components would then be multiplied by amp1 and amp2 and added together.
lalo ·
yes i intended 2 copies of wave read 🙂
sorry for the mess guys 🙂 and thanx for the hint...DSP school here 😀
so for cubic interpolation we'd need 4 indexes ....
lalo
jorge ·
lalo wrote: yes i intended 2 copies of wave read 🙂
sorry for the mess guys 🙂 and thanx for the hint...DSP school here 😀
so for cubic interpolation we'd need 4 indexes ....
lalo
I'd say you're right.
I didnt try it but for linear interpolation on a stereo buffer it would be something like:
The read components should pick up type, that's a bug.
lalo ·
cool 🙂
i 'm starting to grasp it..
thanx jorge and stefan 🙂
lalo
Wrote something here? To have a post removed or your name hidden, write to [email protected].