Hope for progress
Hope for progress
Hope for progress
Typo correction

Modified: core.js
Non-de-structo

Modified: bin/buildnum

Modified: src/JSTInit.js:
 Added js.extendHidden method for setting non-enumerable object properties

Modified: src/JSTNative.js
 Added native.type.align method which returns the recommended padding for a type given an address base

The native.type.align method is a convenince for calculating struct member alignments.

Right now I am hating the fact that I did not create a Value, Array, and Struct system at the advent of the type system. I'm not bothered by it and nobody is paying me to change it or complaining.... so.... There ye be.

See this great write-up on structure members: http://www.geeksforgeeks.org/structure-member-alignment-padding-and-data-packing/
Added a PCM WaveForm Generator Demo

This was a very difficult task to accomplish using JS alone. 44,100 samples
per second is apparently to taxing for the WebKit/JSTools (JSE). No matter.

The demo exemplifies the feasibility of this software system by compiling a shared library written in C on the fly, executes the desired shared operations, and returns control to the user. To run this example issue the following command from the project directory:

example/pcm/wavegen | aplay -f s16_le -r 44100

Added: example/pcm/waveform.c
Added: example/pcm/wavegen
Revised PCM Wave Generator

Added a mixer supporting three different styles of input. See comments for details.
Upgraded example to demo the current mixer features.

Modified: example/pcm/waveform.c
Modified: example/pcm/wavegen
Fixed bug in ellipsis parameter type detection

Error source was not being reported properly. Synchronized Build.

Modified: bin/buildnum
Modified: src/JSTools/Native.inc
Synchronized comments

Modified: example/pcm/wavegen
Synchronized comments

Modified: example/pcm/wavegen
Added buffer release code

Modified: example/pcm/wavegen
Added missing procedure prototype.

Modified: example/pcm/wavegen
Fixed potential overflow

Modified: example/pcm/waveform.c
Housekeeping

Modified: example/pcm/wavegen
Code clarity

Modified: example/pcm/waveform.c
Added wave_buffer_mix

Mixes the contents of two buffers.

Modified: example/pcm/waveform.c
Buffer mix truncates unpaired data

Modified: example/pcm/waveform.c
Ambient amplitudes

Modified: example/pcm/wavegen
Binaural Einsteinium

Mwuhahahahah!

Modified: example/pcm/waveform.c
Modified: example/pcm/wavegen
New wavegen specs

Theta, (Gamma-Gamma*2) spectrum range. tone synced.

Amp: theta = 20; Gamma = theta * 10; Gamma2 = theta * 11;

Highly experimental. Notation herein denotes the theorhetical science.