home .. forth .. colorforth mail list archive ..

Re: [colorforth] Octal in ColorForth for Music Notation? (fwd)


The octal in the ColorForth assembler source is now actually a toggle
between decimal and hex input.  The words in the comment after the ; in the
ColorForth assembler source starting with macro0 and ending with forth1 is
the only words avalible from ColorForth.
This means that you need to  create an  octal keyboard  and octal output
words in ColorForth.
    Octal  numbers in the assembler is used when the  assembler  assembles
the source to create the color.com file

----- Original Message -----
From: "Alice Maroudas" <alice@xxxxxxxxxxxxxxxxxxxxx>
To: <colorforth@xxxxxxxxxxxxxxxxxx>
Sent: Sunday, November 10, 2002 12:46 PM
Subject: [colorforth] Octal in ColorForth for Music Notation? (fwd)


>
>
> I use Forth to write a tune as a string of numbers in octal (8 Base !)
> on one line - but a string of numbers are not so intuitive as the
> conventional graphical notation, which uses 5 or more lines to show
> whether the notes are going up or down, different icons for notes of
> different duration, and vertical lines to separate bars.
>
> Now I would like to try whether Color Forth might improve readability
> because preparsed colors would indicate immediately whether a
> number represented pitch, duration, loudness or bar number.  Preparsed
> words could be used as expression marks, key signature etc.
>
> Like MIDI in colour?  The difference being that in Colorforth "source is
> all there is":  so the act of compiling a preparsed Colorforth score
> might be the same as its performance?  Might speed things up?
> Correct me if I'm wrong.
>
> As a modest start, can anybody kindly tell this newbie how to get octal in
> Colorforth?  The words 'base, octal, hex and decimal' exists in the asm
> listing, but my attempts to use them in a ColorForth definition have
> crashed.  I am probably missing something very simple, because
> octal numbers are obviously used by asm macro0 to build the Huffman
> codes for Chuck's '48 characters' eg 170o is octal for 1111 000
> i.e ';'  173o is 1111 011 i.e. '+'  and (3 shl 4+1) is 31octal i.e.
> 'or'.
>
> Please, somebody dispel my ignorance.
>
> Nick Maroudas
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
> For additional commands, e-mail: colorforth-help@xxxxxxxxxxxxxxxxxx
>


---------------------------------------------------------------------
To unsubscribe, e-mail: colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: colorforth-help@xxxxxxxxxxxxxxxxxx