Pet Rock
Pet Rock
Section titled “Pet Rock”A EuroPi clone of Johan Senzel’s Pet Rock.
This script generates pseudo-random gate sequences based on the phase of the moon.
I/O Assignments
Section titled “I/O Assignments”din: external clock input for sequence Aain: external clock input for sequence Bb1: manually advance sequence Ab2: manually advance sequence Bk1: speed control for sequence Ak2: speed control for sequence Bcv1: primary gate output for sequence Acv2: inverted gate output for sequence Acv3: end of sequence trigger for sequence Acv4: primary gate output for sequence Bcv5: inverted gate output for sequence Bcv6: end of sequence trigger for sequence B
Both sequence A and sequence B can be internally clocked by setting the speed using K1 and K2.
Turning these knobs fully anticlockwise will stop the internal clocks.
Configuration
Section titled “Configuration”Pet Rock can be configured to use different pseudo-random rhythm-generating algorithms. To choose,
edit config/PetRock.json to set the MOODS key:
{ "MOODS": "classic"}MOODScan be one ofclassic(default),alternate, orall
Depending on the MOODS configured, the following algorithms are used, cycling every new moon:
Classic
Plain
Reich
Sparse
Vari
Alternate
These algorithms were implemented in the original Pet Rock firmware, but ultimately not used in the final release.
Blocks
Culture
Over
Wonk
All
When "all" moods are selected, the order is the 4 classic algorithms, followed by the 4 alternate
algorithms, in the order listed above.
Note on suits
Section titled “Note on suits”Yes, I’m aware that “shields” isn’t a normal Tarot suit. Originally I used “clubs” (an alternative to the traditional “wands” suit in most tarot decks). But it seemed weird having 3/4 English card suits used for the alternate moods, and then have “shields” tossed-in to fill it out; “shields” is a suit more associated with Swiss playing cards.
Since shields and swords are a natural pairing, I swapped things around to have, in my mind, more logical groupings. I’m sorry if this decision causes anyone distress.
Additionally, I realize the “pentacle” symbol has some negative associations for some. No offense is meant; this is a traditional suit in tarot cards, and felt appropriate for a moon-phase-tracking program. I did consider swapping it for its “coins” alternative, but was concerned that a circular or elliptical coin motif might be too visually similar to the full & gibbous moon icons.
Required Hardware
Section titled “Required Hardware”This script requires a Realtime Clock (RTC) to EuroPi’s secondary I2C header pins, located on the underside of the board.
See Realtime Clock Installation for instructions on installing and configuring the realtime clock.