-
ezequielabregu
Here an Euclidean Step Sequencer VST, testing dynamic patch using Camomile (thanks Pierre Guillot). It works!
-
ezequielabregu
Hello:
I wanted to ask a question. I'm using a arduino mega 2560 board with pduino (http://at.or.at/hans/pd/objects.html). My problems is...
-
The digital outputs 24 to 36 do not work.
-
digital outputs that work do not respond when I give you a message LOW. For example, [digital 53 0 ( NOT WORK.
I was wondering if there is now a solution to the problem. I tried running the example BLINK and all digital outputs works OK.
Thanks & Cheers
-
-
ezequielabregu
(by Maelstorm)
Just took a look at your patch, and you're actually creating a 4-bit signal. To get the correct range for bit depth, you need to raise two to the power of the bit depth. So 2^8=256, but since we use zero the range would be 0-255. And then quantize it with int(). I've always done it like this:
[expr~ $v1*.5+.5] <-put the signal in 0-1 range
|
| [8\ <-bit-depth
| |
| [expr pow(2, $f1)-1]
| |\
[expr~ int($v1*$f2)] \
\ |
\ |
[expr~ $v1/$f2*2-1] <-bring it back to -1 - 1 rangeI've never used [quantize~] before, but from looking at it's helpfile it would seem all of that can be done by sending it the [8bit( message, but that's not as fun .