Skip to content

one_n

one_n accepts Boolean input (0 or 1) and returns 1 when the last n data values were nonzero; otherwise, it returns 0. The argument sets n, as illustrated by one_n 5, and related objects include change_n and zero_n.


AI Generated

This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.


  • Download via Deken.

    Open Pd and go to ToolsFind Externals. Search for la-kitchen and install it. Then create an object with declare -lib la-kitchen -path la-kitchen. Finally, use one_n or any other object from la-kitchen.


Similar


    Comments

    Contributors