All notable changes to this project will be documented in this file.
No particular reason to make a release now except that it's been too long coming and will never really be ready. Best to release it now in case it is useful to someone. It's version 2.0.0 because of breaking changes, not for any other reason. More breaking changes are likely as I am not happy with the architecture, but who knows when?!
- more in-line documentation in many files
- some more tests of main classes
- morse-pro
- a few more punctuation characters
- morse-pro-wpm
dahLength
,ditSpace
,charSpace
andwordSpace
methods
- morse-pro-cw
wordSpace
propertyendPadding
parameter (default 0) ingetSample
andgetWAASample
methods to allow a configurable pause at the end of the waveform
- morse-pro-cw-wave
- a lowpass bi-quad filter to the waveform generated by
getSample
getWAASample
asynchronous method to return sample generated using Web Audio API
- a lowpass bi-quad filter to the waveform generated by
- morse-pro-keyer
- optional
fwpm
3rd argument in constructor
- optional
- morse-pro-keyer-iambic
- optional
fwpm
3rd argument in constructor - optional
iambicA
5th argument in constructor to switch between iambic A and B modes
- optional
- morse-pro-player-waa
- callback functions in constructor for sequenceStart, sequenceEnding and soundStopped (the last one was previously just in
morse-pro-player-waa-light
) - low-pass filter on waveform to remove clicks
loadTimings
methodloadNext
method to provide a single item queue of timingspause
methodisPaused
read-only propertynextNote
read-only propertystartPadding
field to insert a pause before playback begins (suggest 5ms to avoid sound artefacts in some browsers)endPadding
field to insert a pause after playback of a timing sequence completes
- callback functions in constructor for sequenceStart, sequenceEnding and soundStopped (the last one was previously just in
- morse-pro-player-waa-light
- additional callback functions in constructor to match
morse-pro-player-waa
- additional callback functions in constructor to match
- morse-pro-player-xas
- volume now settable
- updates node and npm to latest versions
- updates all npm dependencies to latest versions (apart from babel which is latest v6, not v7)
- Babel uses 'env' preset instead of 'es2015'
- morse-pro
tidyMorse
now trims whitespacelooksLikeMorse
now returns false when the input string is just whitespace
- morse-pro-wpm
- millisecond timings are now rounded to the nearest integer
- morse-pro-util-riffwave
getData
arguments changed to take waveform data (so usemorseCWWave.getSample()
notmorseCWWave
instance directly), sampleRate and bitsPerSample
- morse-pro-cw
- makes
useProsigns
argument in constructor havetrue
as the default getTimingsGeneral
is now a static method
- makes
- morse-pro-keyer
- refactoring to mark many functions and fields as private
_ditOrDah
function is now the method required in class extensions
- morse-pro-keyer-iambic
- refactored from
check
to_ditOrDah
function
- refactored from
- morse-pro-player-xas
- refactors
isPlaying
field intoisPlaying
read-only property
- refactors
- morse-pro-player-waa-light
- return value of
audioType
property changed from 4 to 5
- return value of
- Some tests
- Integration with travis and coveralls
- Imports now use relative paths
- npm library now transpiled from ES6 and located in lib directory
- ESDoc inline documentation
- Source Javascript moved into src directory
- initial release