Forecast(), set_history() or set_output_multiple()

Hi everybody,

I’m working on building a block which processes samples in chunks: if
the energy of each chunk is greater than a given threshold, the chunk is
reported in output. Moreover for each chunk reported in output, the N
preceding chunks should be reported in output as well.

How can I manage this last requirement? Which is the best function to be
used for this purpose( forecast(), set_history(), set_output_multiple()
or others) and how can I set it?

Thanks in advance.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs