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

[better] demo #27

Open
5 of 9 tasks
dy opened this issue Feb 28, 2021 · 8 comments
Open
5 of 9 tasks

[better] demo #27

dy opened this issue Feb 28, 2021 · 8 comments

Comments

@dy
Copy link
Owner

dy commented Feb 28, 2021

  • app-audio (-like) waveform source
  • randomize color palette button (mb slight animated color shift)
  • baseline highlight
  • download generated optimized static font (based on selected settings)
  • select unicode ranges to cover
  • Diverse waveforms in demo #29 diverse waveforms
  • waveform player, spectrum player
  • paint waveform with pencil, to copy-paste
  • !examples: textarea-recorder, messenger message, speech recognition, proofing page (current) etc.
@Laurian
Copy link

Laurian commented Apr 12, 2021

I'm curious how would you display it for speech recognition?

  1. show waveform first then replace it with words as it gets recognised?
  2. show text and waveform with ruby text?
  3. or just show waveform for non-speech noise? like I experimented with the old font here: https://hyperaudio-waveform.surge.sh/ (play media and click around to jump to that word/wavepoint)

@dy
Copy link
Owner Author

dy commented Apr 12, 2021

Oh! That's interesting work you've done! I like <ruby> annotations, they seem to be the right solution for annotating audio data.
Little advice regarding 3.: if wrapping each sample in a tag, it can be a problematic rendering task for browser.
Instead it's better to use Selection API.

I was working on the audio rendering demo in the meantime.

@Laurian
Copy link

Laurian commented Apr 13, 2021

Yeah, selection API would do it for highlighting progress; the demo is based on some older transcript player we have at hyper.audio, but we're working this year on a new version of site/app/etc. and we want to use this wavefont to show sounds in-between speech segments, also to allow selection/replay and remixing.

@dy dy mentioned this issue Oct 30, 2022
12 tasks
@ga676005
Copy link

Hi, could you increase the value of --wght: 10; to 100 or higher from the Usage section of Readme.md. I think it would be easier to get started. I was confused that my result was a tiny stain.

@arthurwolf
Copy link

Anyone know of a demo or example script for taking a .wav file (or any other audio file), and converting it to a string meant to be used with this font?

Would very much be appreciated.

Thank you.

@Laurian
Copy link

Laurian commented Mar 23, 2024

@arthurwolf I used https://github.com/bbc/audiowaveform to get a JSON representation of the waveform, then you have to map the values to characters that represent that glyph you want.

I did this a long time ago for this demo https://hyperaudio-waveform.surge.sh using an older version of this font, check the page source for String.fromCharCode

@arthurwolf
Copy link

arthurwolf commented Mar 23, 2024 via email

@dy
Copy link
Owner Author

dy commented Mar 23, 2024

You can do it via wavearea https://dy.github.io/wavearea/
Just drop the file there.
The only limitation - it displays 1024 samples blocks.

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

No branches or pull requests

4 participants