5 Commits (e663a62e984edb915830935a10cb6fcec6cfc693)

Author SHA1 Message Date
Ted Moore 1c2baed8b6 FluCoMa-ize argument order and defaults, more error checks 4 years ago
Ted Moore 90aef92f35 FluidBufToKr has optional numFrames argument 4 years ago
Ted Moore 7736fb0f1d FluidBufToKr has optional numFrames argument 4 years ago
Ted Moore 3b5df16274 helpfiles made: FluidBufToKr and FluidKrToBuf 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