"use strict";

var _DATA_NOISE_R = [0];
var _DATA_NOISE_I = [0];
var DEFINE_Chiptune_Noise_Overtones = 1024;
for (var overtone=1; overtone<DEFINE_Chiptune_Noise_Overtones; overtone++){
	var contrib = 128*overtone/DEFINE_Chiptune_Noise_Overtones;
	_DATA_NOISE_R.push(contrib*Math.random());
	_DATA_NOISE_I.push(contrib*Math.random());
}

var DATA_SOUND_CHIPS = {
	testsquare : {
		oscillators: {
			sq0 : "square",
			sq1 : "square"
		},
		
	},
	noisetest : {
		oscillators: {
			nz : "noise" 
			/*{
				real: _DATA_NOISE_R, 
				imag: _DATA_NOISE_I
			}*/
		},
		
	},
	oneofeach : {
		oscillators: {
			sq : "square",
			st : "sawtooth",
			tri : "triangle",
			sin : "sine",
			nz : "noise"
		},
		
	}
}

