added uxnería and nibble dice tracker pages

This commit is contained in:
sejo 2021-07-12 13:44:36 -05:00
parent 6ff6ab1305
commit 573a91ae0f
10 changed files with 125 additions and 4 deletions

View File

@ -5,10 +5,20 @@
<title>compudanzas: updates</title>
<author><name>sejo</name></author>
<generator>a mano</generator>
<updated>2021-07-06T12:00:00Z</updated>
<updated>2021-07-12T12:00:00Z</updated>
<link href='https://compudanzas.net/atom.xml' rel='self'/>
<link href='https://compudanzas.net/log.html' rel='alternate'/>
<entry>
<id>https://compudanzas.net/log.html#12021-07-12</id>
<title>12021-07-12 uxnería</title>
<updated>2021-07-12T12:00:00Z</updated>
<link href='https://compudanzas.net/log.html#12021-07-12' rel='alternate'/>
<summary>
just published the {uxnería} repo! it has our {uxn} projects and sketches. the project we have been working in the past few days is the {nibble dice tracker}
</summary>
</entry>
<entry>
<id>https://compudanzas.net/log.html#12021-07-06</id>
<title>12021-07-06 compudanzas workshop, third and fourth sessions</title>

View File

@ -12,7 +12,7 @@ what will you do with the sand?
# about
darena was developed as an exercise to learn about {postfix} notation and uxn
darena was developed as an exercise to learn about {uxn}
=> https://wiki.xxiivv.com/site/uxn.html uxn virtual machine and assembly language
@ -46,5 +46,5 @@ use the arrow keys for cartesian movement within the space
this iteration has 31 rocks and a single toggling station where one can switch their color/state.
you can find the code in the
=> https://git.sr.ht/~rabbits/uxn/tree/master/item/projects/examples/demos/darena.tal uxn repo
you can find the code in the {uxnería}
=> https://codeberg.org/sejo/uxneria uxnería repo

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -5,6 +5,14 @@ what's happening with compudanzas
=> ./atom.xml [atom feed]
=> ./tw.txt [twtxt]
## 12021-07-12
just published the {uxnería} repo!
it has our projects and sketches for the {uxn} machine.
the project we have been working in the past few days is the {nibble dice tracker}
## 12021-07-06
this past week we had the third and fourth sessions of the online compudanzas workshop {taller de compudanzas} in cuna!

View File

@ -8,5 +8,7 @@ writing code closer to the machine(s)
# software
=> ./uxnería.gmi {uxnería}
=> ./nibble_dice_tracker.gmi {nibble dice tracker}
=> ./darena.gmi {darena}
=> ./avr-asm.gmi {avr-asm}

6
src/nibble_dice.gmo Normal file
View File

@ -0,0 +1,6 @@
# nibble dice
6-sided dice that are able to represent all the values of a nibble.
* https://pachapunk.space/nobinario.html no binario - pachapunk
* https://wiki.xxiivv.com/site/nibble_dice.html XXIIVV nibble dice

View File

@ -0,0 +1,60 @@
# nibble dice tracker
a 3-channel music tracker based on the {nibble dice} described by maleza.
=> ./img/screenshot_nibble-dice-tracker.png screenshot of the nibble dice tracker: 6 columns of 8 pairs of two dice each
=> https://video.anartist.org/videos/watch/6d2d4a2c-78ef-48c8-abd0-e124451805cb uxn nibble dice tracker - demo video
# interface
the interface consists in 3 sections, one for each audio channel/device.
each section consists in 2 columns. the right column of a section has an indicator for the position of the "beat", and its state (playing or not).
each column consists in 8 bytes.
a byte consists in 2 contiguous nibble dice: the one at the left is the high nibble, and the one at the right is the low nibble.
the bytes in a section map to the following aspects of the tracker and uxn audio device
## first column
* period ( 1 byte ) - how many frames have to happen to trigger a beat. if 0, the device is off
* pattern ( 8 bits ) - each bit indicates if a note has to be played or not in that beat. bit 0 (least significant bit) corresponds to beat 0, bit 1 to beat 1, and so on.
* beatcount ( 2 nibbles ) - definition of the beat count behavior. low nibble: how many beats happen in a cycle; if 0, there are no beats. high nibble: beat offset; starting value for the beat count. e.g. if high nibble is 2, and low nibble is 4, the beat count will repeat as 2, 3, 4, 5
* adsr ( 2 bytes ) - envelope values, as described by the audio device reference
* volume ( 2 nibbles ) - left and right volume values, as described by the audio device reference
* sample ( 2 nibbles and 1 byte ) - definition of the sample to be used. high nibble: index of sample to use. low nibble + byte: length of the sample to use
available samples:
* 0: saw
* 1: main (program code)
* 2: piano
* 3: triangular
## second column
* melody ( 8 bytes ) - midi notes corresponding to beats 0 to 7, from top to bottom.
## external notes
=> https://wiki.xxiivv.com/site/uxnemu.html#audio uxn audio device
=> https://wiki.xxiivv.com/site/midi.html midi notes
# controls
* Arrow key up, or 'k' : move cursor to previous byte
* Arrow key down, or 'j': move cursor to next byte
* Arrow key left, or 'h': move cursor to previous nibble
* Arrow key right, or 'l': move cursor to next nibble
* 'Ctrl' or '+': increment nibble
* 'Alt' or '-': decrement nibble
# the code
you can find the code in the {uxnería}
=> https://codeberg.org/sejo/uxneria uxnería repo

View File

@ -2,6 +2,7 @@
# url = https://compudanzas.net/tw.txt
# url = gemini://compudanzas.net/tw.txt
#
2021-07-12T12:00:00-05:00 published the {uxnería} repo for {uxn} projects and sketches. excited about the {nibble dice tracker}!
2021-07-05T21:00:00-05:00 for the fourth session of the workshop we shared our máquina universal bailable {mub} - it was great to revisit it!
2021-06-30T21:00:00-05:00 in the third session of the workshop we learned and performed the {danzasistemas-tag} (first time ever!) and a turing machine in {d-turing} mode
2021-06-28T21:00:00-05:00 second session of the workshop! we performed {reglas de wolfram} and talked a lot about emergent complexity

9
src/uxn.gmo Normal file
View File

@ -0,0 +1,9 @@
# uxn
uxn is a little forth machine with 32 instructions.
=> https://wiki.xxiivv.com/site/uxn.html uxn
it uses the {postfix} notation.
our projects and sketches are hosted in the {uxnería}

25
src/uxnería.gmo Normal file
View File

@ -0,0 +1,25 @@
# uxnería
experiments with the {uxn} virtual machine and programming language
part of the {s-camino} practice.
# projects
## nibble dice tracker
{nibble dice tracker}: a 3-channel music tracker based on the nibble dice described by maleza.
=> ./img/screenshot_nibble-dice-tracker.png screenshot of the nibble dice tracker: 6 columns of 8 pairs of two dice each
## darena
{darena}: an open-ended game of rocks and sand, and/or a simulator for compudanzas
=> ./img/screenshot_darena.png screenshot of the game. it shows a square clear space inside a textured world. inside the square there are several round rocks of two possible colors. there is a small platform, and a person.
# code repository
=> https://codeberg.org/sejo/uxneria uxnería repo