Skip to content

Tags: discordier/sam

Tags

0.3.1

Toggle 0.3.1's commit message

Verified

This tag was signed with the committer’s verified signature.
discordier Christian Schiffler
Bugfix release 0.3.1

This fixes the main demo (thanks to @Gargaj)

0.3.0

Toggle 0.3.0's commit message

Verified

This tag was signed with the committer’s verified signature.
discordier Christian Schiffler
Feature release 0.3.0

Features:
- New method `SamJs.wav(text: string, phonetic?: boolean): Uint8Array;` which
  renders a wave buffer.
  See #46, #47 (thanks to @seofernando25)

Fixes:
- Typo `dipthong` has been corrected to `diphthong` all over the code base.
  This includes the flag `FLAG_DIPTHONG` which is now named `FLAG_DIPHTHONG`.
  Fixes #19
- Fix comments to clearify that the '*' is not a wildcard but a marker that the
  second char in a phoneme is to be ignored.
  Fixes # 21

Additionally minor changes like adding download in demo html file.

0.2.1

Toggle 0.2.1's commit message

Verified

This tag was signed with the committer’s verified signature.
discordier Christian Schiffler
Maintenance release 0.2.1

This fixes typescript support by adding `index.d.ts` file.

0.2.0

Toggle 0.2.0's commit message

Verified

This tag was signed with the committer’s verified signature.
discordier Christian Schiffler
Feature release

Fixes:
- Change scripts in package.json (fixes #25).
- Remove unused submodule `c-src` (fixes #22)
- Normalizes casing of `Uint8` and `Uint16`
  throughout the code base (#29).

Features:
- add method `abort` to the returned promise of
  `sam.speak()` (#30).

Reorganization:
- Major refactoring to remove BREAK & END markers (#32).
- Cleanup test - remove dead code (#31).
- Cleanup and update dependencies.

0.1.4

Toggle 0.1.4's commit message

Verified

This tag was signed with the committer’s verified signature.
discordier Christian Schiffler
Maintenance release 0.1.4

Fixes:
  - Update guess a number example (usage was broken due to 0.1.3).
  - Clear up "1 frame is 10 ms" misconception.
    Frame length is variable, and depends on phoneme, pitch and speed
    (tyomitch, #26).
  - Use the whole 8-bit sine value as there is no point in rounding it to 4 bits
    due to no audible difference (tyomitch, #27).

Reorganization:
  - Improved ignore files - we now don't export all the stuff in the repo to
    NPM anymore.
  - Integrated github actions.
  - Added Makefile.
  - Cleanup in `package.json`.
  - Fixed warnings in karma.

0.1.3

Toggle 0.1.3's commit message

Verified

This tag was signed with the committer’s verified signature.
discordier Christian Schiffler
Maintenance release 0.1.3

Fixes:
  - Deleted unused values from mouth and throat formants
    (tyomitch, #7).
  - Removed first (unused) entry from stressPitch
    (tyomitch, #8).
  - Simplified `SetMouthThroat` (tyomitch, #7).
  - Fixed bug that caused the first 71 frames to be unaffected by the speed.
    This bug is supposed to be already present in the original C64 code and has
    now been fixed (38 years after release of original SAM) (tyomitch, #9).
  - Removed obsolete (internal) function `writer.raw` (tyomitch, #10).
  - Removed obsolete conversion `unsigned char => signed char => unsigned char`
    (tyomitch, #12).
  - Do not bitmask values in `trans()` as they must already come in the correct
    range.
  - Integrate mouthFormants and throatFormants tables into frequencyData
    as the corresponding bytes in frequencyData were never used (tyomitch, #13).
  - Removed obsolete last element from amplitudeRescale (tyomitch, #15).
  - Made functions scopeless where possible.
  - Removed unused and obsolete file "debug.es6".

Reorganization:
  - Improved nameing of variables and tables, added more comments
    (tyomitch, #11, #14).
  - Drop sine table and use inline sine calculation (9150dd).
  - Small cosmetic changes in formatting.
    - Unify number length in tables.
    - Change let to const where possible.
  - Moved reciter c-conv parts to unit tests as it is only needed to ensure we
    remain compatible with original SAM from unit tests.
  - Moved renderer c-conv parts to unit tests as it is only needed to ensure we
    remain compatible with original SAM from unit tests.
  - Updated build plugins.
  - Switched from `buble` back to `babel`.

0.1.2

Toggle 0.1.2's commit message

Verified

This tag was signed with the committer’s verified signature.
discordier Christian Schiffler
Bugfix release 0.1.2

Fixes:
- Define moduleName explicitly under buildSrc
  This fixes a build problem in Windows (#2).

- Debug output: was skipping every other phoneme (#3)
- Constants `RISING_INFLECTION` and `FALLING_INFLECTION`
  were actually named inverse - has been corrected (#3).
- Small typo corrected in doc comment (#3).
- `RenderSample()` must wrap the value at `0x100` for non
  pitched output as it is an `unsigned char` in the original
  code, the missing `& 0xFF` has been added (#4).
- `FLAG_PLOSIVE` was used for voiceless stops, so its name was
  misleading.
  A "stop consonant" is the same as a "plosive", so there were
  two different flags with synonymous names.
  We now have `FLAG_UNVOICED_STOPCONS` and `FLAG_STOPCONS`,
  which transport the meaning better (#5).

Thanks to @tyomitch for these fixes.

0.1.1

Toggle 0.1.1's commit message

Verified

This tag was signed with the committer’s verified signature.
discordier Christian Schiffler
Bump 0.1.1 to resolve CVE-2019-19919

This resolves a warning for CVE-2019-19919 for handlebars.
We did not use handlebars ourselves and therefore were safe but bumping
non the less.

0.1.0

Toggle 0.1.0's commit message

Verified

This tag was signed with the committer’s verified signature.
discordier Christian Schiffler
This new release features major restructuring of the ABI.

See README.md for some examples.

It also updates the build infrastructure to the latest
and greatest versions and additionally switches from
`npm` to `yarn`.

Some micro tweaks are also contained.

So have fun.

0.0.2

Toggle 0.0.2's commit message

Verified

This tag was signed with the committer’s verified signature.
discordier Christian Schiffler
Release 0.0.2