Clock diver patch with rotate function


#1

new updated to version 2, 11-09-2015 time 22.00
This is an important update, it fixex the bug of the gap in the timing after the counter hits its max.

A sort of 4MS RCD clone (different divisions), with some expander functionality.
subpatch file:
rcd_clone2.axs (20.6 KB)

Functions:

Inputs:
- Rotate
- Trigger
- Reset
- Invert

Controls:
- Reset
- Invert

Outputs:
- Thru: /1
- Rotatable divisions: /2, /4, /8, /16, /32, /64, /128, /256

The invert toggle sets trigger input to the rising or falling edge.(like the 'counting' toggle on the 4MS RCD expander)
The invert control is XOR'ed with the invert input.
The radio buttons select the rotate in the test patch, but you can use anything to control this. (0-7 int)
This divider is based on the logic/decode/bin 8 and the mux/mux 8 objects

--> bug: i think the rotate order is not correct yet

Non Rotating Divider
(non rotating) divider subpatch:
this one has 8 divisions and a thru output (/1) and is based on the logic/toggle object
rcd2.axs (5.1 KB)


[GPIO I/O] Example 4051 de/multiplexer reads 8 analog sources
Subpatch: frequency divider (and +/- module)
#2

I think there is something with having space/underscore in the name of the save files for subpatches smile

Dont have my board yet so cant test it out


#3

ok i used an underscore to prevent spaces.
thought this was ok.

edit://the problem are not the underscores.


#4

think you're seeing the issue reported here : https://sebiik.github.io/community.axoloti.com.backup/t/counter-in-subpatch-defaults-to-0/118/4


#5

that's it.

well, i'll wait for the fix then.

everybody have fun with the divider patch!


#7

no, its fine... we have just tested this... spaces can be in filename and directories without issue


#8

there is a workaround, whilst your waiting ... if you select parameter on parent, then it will be initialised to the value you set there. Id say useful so you can carry on experimenting perhaps.


#9

the counter object has no input port for the value.
how do i transport this to the parent? with send?


#10

right click on parameter, select parameter on parent.

btw: nice patch... I was thinking of doing the same, then got sidetracked, and thought it would be nice to have a few new AXOs which would make the boolean logic a bit easier (bit shifting mainly)

a tip... as your getting into it... try using
patch/patcher

  • create a patch patcher in the parent
  • copy your AXS content
  • hit EDIT on patch
  • paste in new window
  • close patcher window
  • hit update.

patcher has the advantage its saved with the patch, so you don't need to distribute two files.
(good for testing before you want to distribute the AXS as standalone)


#11

thanks for the tip!
this program has a lot of simularities with maxmsp smile (which is great , because i know max pretty good)


#12

yeah, it is in places, and dissimilar in others.. so you have to be a bit careful...
with patcher, just remember to always HIT UPDATE after you have made changes, its easy to forget and can have you scratching your head!
(its on the 'to do list' to do this automatically, buts will take a little effort, so has to wait a little)

EDIT: oh, and they are functionally equvilant to a subpatch, so can have multiple voices, notes the whole lot... Ive tended to start using them all the time for non-reuseable things, and when I'm trying things out)

another tip.. .you can also edit them, and then do Save As, to save as a subpatch once your done smile


#13

Okay smile looking forward to try this out smile


#14

ok, i made a new rotating version (see first post)


#15

release 1.0.3 with a fix for this is online


#16

updated the first post with a new 1.03 version!!


#17

bugfix on the rotate order.


#18

update 2
bugfix on the gap after the counter hits its max.
the counter is now '255' plus 1 (the bug was the zero crossing in the counter, i guess??)


#19

extremely interested in this as I love my RCD/SCD from 4ms

any chance for an update on this? Axoloti wont compile any patches I have with the RCD clone inside