Jukewisp

Post your coolest Hexcasting creations here.

New topics are NOT for chatting or asking help, put those in the comments of a post or in a different forum.
User avatar
beholderface
Posts: 36
Joined: Tue Dec 06, 2022 10:46 pm

Jukewisp

Post by beholderface »

A hex which summons a wisp which plays music.
When you cast the hex, it will summon the wisp, then link to the wisp, send it the iota stored in your offhand, and unlink.
Whenever the wisp receives an iota over a link, it will check if it is a list where the first element is a vector. If it is, it will put it into its ravenmind, and start playing it instead of whatever track (or lack thereof) it's currently playing. If it does not have a track in its ravenmind, it will simply idle.
The format for notes in a track is a vector where x is the instrument, y is the pitch, and z is the delay until the next note.

Code: Select all

//wisp pattern list
{
    Flock's Reflection
    Flock's Gambit
    Bookkeeper's Gambit: v
    //check for list of vectors in recitation queue
    Recitation Reflection
    {
        //embed list iotatype
        Bookkeeper's Gambit: -
    }
    Flock's Disintegration
    Prospector's Gambit
    Classifier's Purification
    Equality Distillation
    //if it is a list, continue checking for vector. if not, delete it and continue to music-player mode.
    {
        {
            //embed vector iotatype
            Bookkeeper's Gambit: --
        }
        Flock's Disintegration
        Prospector's Gambit
        Speaker's Decomposition
        Bookkeeper's Gambit: v-
        Classifier's Purification
        Equality Distillation
        //if first element is a vector, add list to ravenmind, set note index to 0, then continue to music-player mode
        {
            Numerical Reflection: 0
            Numerical Reflection: 2
            Flock's Gambit
            Huginn's Gambit
        }
        //if not, delete list and continue to music-player mode
        {
            Bookkeeper's Gambit: v
        }
        Augur's Exaltation
        Hermes' Gambit
    }
    {
        Bookkeeper's Gambit: v
    }
    Augur's Exaltation
    Hermes' Gambit
    //If there is something in ravenmind, play music. If not, wait until a communication is received.
    Muninn's Reflection
    Gemini Decomposition
    Augur's Purification 
    {
        Flock's Disintegration
        Selection Distillation
        Identity Reflection
        Compass' Purification
        Jester's Gambit
        Vector Disintegration
        Numerical Reflection: 18
        Swindler's Gambit
        Make Note
        Delay Wisp
        //increment note index
        Muninn's Reflection
        Flock's Disintegration
        Numerical Reflection: 1
        Additive Distillation
        Prospector's Gambit
        Abacus Purification
        Modulus Distillation
        Numerical Reflection: 2
        Flock's Gambit
        Huginn's Gambit
    }
    {
        Listen
    }
    Augur's Exaltation
    Hermes' Gambit
}
Mind's Reflection
Compass' Purification
Mind's Reflection
Alidade's Purification
Dioscuri Gambit
Archer's Distillation
Rotation Gambit II
Architect's Distillation
Additive Distillation
Undertaker's Gambit
Numerical Reflection: 100
Summon Cyclic Wisp
//send iota over
Entity Purification: Wisp
Gemini Decomposition
Link
Scribe's Reflection
Prospector's Gambit
Recognition Purification
Jester's Gambit
Send Iota
Recognition Purification
Unlink
Additionally, I have written a hex which will compile a track for you based on chat input.
The format for each note in the compiled track is "[instrument number][space][pitch][space][delay][comma]"
Omit the comma from the final note, or the hex will mishap.

Code: Select all

{
    {
        Input Purification
    }
    Jester's Gambit
    Spacing Reflection
    Separation Distillation
    Thoth's Gambit
    Flock's Disintegration
    Vector Exaltation
}
Whisper Reflection
Comma Reflection
Separation Distillation
Thoth's Gambit
Scribe's Gambit
"0 6 2,0 8 2,0 11 2,0 8 2,0 15 6,0 15 6,0 13 12,0 6 2,0 8 2,0 11 2,0 8 2,0 13 6,0 13 6,0 11 6,0 10 2,0 8 6,0 6 2,0 8 2,0 11 2,0 8 2,0 11 8,0 13 4,0 10 6,0 8 2,0 6 4,0 6 4,0 6 6,0 13 8,0 11 100"