Csound Csound-dev Csound-tekno Search About

[Csnd] 2d param interpolation challenge

Date2024-05-18 21:27
From"Jeanette C."
Subject[Csnd] 2d param interpolation challenge
Hey hey,
I'm stuck here. I try to calculate a compensation value based on two source 
parameters A and B. I know that hvs2 works, but I wonder whether this might 
not be too much of a CPU hog.

The setup: I measured values for param A 0, .5, .9 and .95. For all those 
setting I measured with param B at 0, .1, .2, ... 1. Now I have 44 values 
(4x11).

hvs2 should work. Some kind of table based method with ftmorf would also do, 
using bpf to calculate the index inside the table list.

Setting all these things up, even just once, feels like a lot. I'm sure, I 
miss a very obvious solution here, but I'm thinking in circles. I keep seeing 
bpf as a good friend, but...

Any ideas? Or is it really just hvs2?

Best wishes,

Jeanette

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

'Cause living in a dream of you and me
Is not the way my life should be... <3
(Britney Spears)

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here