Project: SmileBASIC syntax definition for highlight.js.
Notes: Paste services commonly use highlight.js for syntax highlighting. Completion of this project will allow proper highlighting on those services.
Project: SmileBASIC Soundfont.
Requires: Good recording tools, soundfont creation software.
Notes: Special interest by Sam and Lumage. Completion can lead to production of high quality SmileBASIC rips.
Playing around with the soundfont one. Recording citra = less medium noise but doubtful emulation quality. Requires a lot of processing to fix holes in the audio output, but it might be possible to fully automate...
Record 3DS output using aux line/mic in. Write SB software to play all instruments at middle C, at fixed duration, leaving substantial fixed gaps of silence. Use PC software to split on silence. Note length should be long enough that all samples play to completion, and silence long enough to be distinguished. Then it's a simple fixed-length splitting you could probably do with audio stream software like SoX.
'draw a scatter plot using the coordinates in x,y
~DEF dotplot x, y, label$, color%~
'draw a function plot by calling func$ with inputs x[i] for i in len(x)
~DEF funcplot x, func$, label$, color%~
'draw a bar graph using bar labels x$, values y, title label$, and bar colors color%
~DEF barplot x$, y, label$, color%~
'set the position of the plot bottom left coordinates, as well as the minimum x and y values represented at those points
~DEF axesBotLeft x%, y%, xMin#, yMin#~
'set the position of the plot top right coordinates, as well as the maximum x and y values represented at those points
~DEF axesTopRight x%, y%, xMax#, yMax#~
'return an array with default colors, for use with bar graphs
'measure the time of a function. if input is less than 100, repeats the calls multiple times to compute an average. return an array with the time measurements for each input. note that no input to the function is valid.
~DEF measure() func$, input~
~DEF empty_func~ (for finding overhead of measure CALL)
'note that color arrays are interpolated over the length of data, if data is longer, and if data is shorter, only the corresponding colors are used