Thanks for the info.
Indeed I am looking into small numbers of M,N (order of 10)
so this should work.
Can I ask for a clarification here:
If the interpolator block doesn’t do it for you (I think it does, so try
to inherit from that code),
Since my overall interpolator block is an M/N-interpolator, even if I
inherit from interpolator, it does not force output_multiple to M,
but rather multiples of (M/N), which is not what I want.
I guess I have to inherit from block and do that manually using
set_output_multiple(M), as you suggested.
am I right?
I am trying to write a block that takes N inputs at a time
and produces M outputs at a time.
Since M>=N this is an interpolator.
However, M/N is not neccesarily an integer.
Is there an elegant way to force the work() function to
process a multiple number of N input samples every time it is called?
EECS Department Voice : (734)615-4024
UNIVERSITY OF MICHIGAN Fax : (734)763-8041
Ann Arbor, MI 48109-2122 E-mail: email@example.com