1.0.7 • Published 6 years ago

synthjunk v1.0.7

Weekly downloads
2
License
BSD
Repository
github
Last release
6 years ago

synthjunk

A place to mess around with sounds:

Web site.

A module for creating rudimentary synths:

npm install --save synthjunk

var playSynth = require('synthjunk');

playSynth({
  index: +indexField.value, // Integer
  modFreq: +modFreqField.value, // Float
  carrierType: waveTypeSelect.value, // 'sine', 'square', 'sawtooth', 'triangle', or 'custom'
  carrierFreq: +carrierField.value, // Float
  carrierCustomWaveArrayLength: +arrayLengthField.value, // Integer
  carrierCustomWaveSeed: waveSeedField.value, // String
  envelopePeakRate: +peakRateField.value, // Float
  envelopeDecayRate: +decayRateField.value, // Float
  vibratoRateFreq: +vibratoRateField.value, // Float
  vibratoPitchVariance: vibratoPitchField.value, // Float
  durationSeconds: +durationField.value, // Float
  ctx // AudioContext
});

See app.js for a more detailed example.

TODO: Types?

License

BSD

Copyright (c) 2020 Jim Kang

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago