7 Commits (f3ce3cf3231d3d2fcaa329efd6fe6fb58784c443)

Author SHA1 Message Date
Ted Moore f3ce3cf323 FluidBufToKr ensure that numFrames is an int (not a float) 4 years ago
Ted Moore bec9a25bcb inappropriate error check on FluidBufToKr 4 years ago
Ted Moore 1c2baed8b6 FluCoMa-ize argument order and defaults, more error checks 4 years ago
Till cb690283fa implement startFrame as suggested in https://github.com/flucoma/flucoma-sc/issues/51 4 years ago
Ted Moore e6e37130e5 default for numFrames argument is -1 4 years ago
Ted Moore 90aef92f35 FluidBufToKr has optional numFrames argument 4 years ago
Ted Moore c72f7a9575
added FluidBufToKr.kr and FluidKrToBuf.kr (#24)
* added FluidBufToKr.kr and FluidKrToBuf.kr

* tested a few more use cases, no problems detected

* Update release-packaging/Classes/FluidBufToKr.sc

Co-authored-by: weefuzzy <gungwho@gmail.com>

* semicolon

added a the end of line 4

* check if the buffer is huge (like an audio file)

if one tries to pass a huge buffer to either, this is throw an error and report the number of frames in that buffer. I tested it with an audio file-size buffer and it froze the server (not crash though, the bar stayed green...?).

* added huge buffer check to BufToKr as well

* added one more validity check and re tested

* FluidBufToKr now can return single value or array

if the buffer is only one frame long, it will return a single value instead of an array of length one (which is what it did before)

Co-authored-by: weefuzzy <gungwho@gmail.com>
4 years ago