Feature Request #139

New functions for TTOperator

Added by Tim Place almost 9 years ago. Updated almost 5 years ago.

Status:ClosedStart date:2009-05-28
Priority:LowDue date:
Assignee:-% Done:

0%

Category:-Spent time:-
Target version:-
Branch:

Description

TTOperator could use some additional functions, including: * pow (power) * % (modulo) * onewrap (like modulo but faster if it only wraps once)

The modulo should also optimize itself so that if the operand is a power of
2 then it will use bitwise arithmetic.

Some of these could (should?) also be added to the TTAudioSignal class.
For example, it would be nice to be able to do something like this:

TTAudioSignal aSignal;
// put some audio in the signal here
aSignal->sendMessage(TT("+"), 0.5);

This would offset the entire signal by 0.5 without having to pass it
through a TTOperator object.


Related issues

Related to Max - Bug #1064: jcom.op~ crashes Closed 2012-01-22

History

#1 Updated by Trond Lossius almost 5 years ago

  • Status changed from New to Closed

Moved to GitHub

Also available in: Atom PDF