Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose a WAV Buffer function #47

Merged
merged 7 commits into from
Jun 10, 2024
Merged

Conversation

seofernando25
Copy link

@seofernando25 seofernando25 commented Apr 12, 2024

Fixes #46

Changes:

  • bump caniuse list
  • Refactor RenderBuffer to expose a ToWavBuffer function

src/index.es6 Show resolved Hide resolved
@seofernando25
Copy link
Author

I've updated the types to the ones you requested.
I haven't commited my dist folder as it would be unsafe for me to do.

@discordier discordier merged commit f2cd9d6 into discordier:master Jun 10, 2024
5 checks passed
discordier added a commit that referenced this pull request Jun 11, 2024
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expose a toWavBuffer function
2 participants