avinashvarna / audio_alignment Goto Github PK
View Code? Open in Web Editor NEWAlign various Sanskrit texts and audio
License: MIT License
Align various Sanskrit texts and audio
License: MIT License
Text is available from ashtadhyayi.com/ (I can push text files in)
One source for audio is http://surasa.net/music/samskrta-vani/ashtadhyayi.php
Another is https://www.sanskritfromhome.in/course/ashtadhyayi/ (While this one is not freely available, it is very precise and devoid of some occasional errors, thus more useful for someone trying to learn to chant/memorise)
I tried aligning both versions. I am not sure if it's my system or it's about the nature of the text, but the alignments I obtained are pretty bad.
Hi,
(Sorry just leaving this as a comment for now, if I get time I'll try to submit a PR.)
I've noticed that at least a couple of people to whom I sent the https://avinashvarna.github.io/audio_alignment/ link thought that it wasn't working — digging deeper, it seems that what happened is that in the below screenshot (sorry for the large image size) they clicked on one of the links in the red rectangles, instead of clicking in the green rectangle:
I wonder if there's some way to make this more obvious. For example, does the "text source", "audio source" and "aligned by" need to be on the main page — could it instead be made that clicking on "Rāmāyaṇa" (say) takes you to an "about" page (or even the page for the first sarga, with the details on a separate page)?
After the recent posting of this website on many mailing lists, a few people (especially from India) asked if this tool could be installed as an app, so that it could be used offline. This seems like a reasonable goal.
The easiest path I could think of to achieve this was to create a progressive web app so that the site could be "installed". We can leverage the existing flask/jinja templates in nunjucks and create a service worker that caches files that the user has visited recently using something like workbox, so that they can be used offline as well. I will try to test out some of these tools.
Any thoughts? @hrishikeshrt @shreevatsa
Also discussed in #9 (comment) - Add a link or some nav controls to go to the next chapter.
I was looking at vishvAsa's email regarding ~1k mahAbhArata recordings and texts being available, e.g. here, and thinking that it might be a good addition to this site. The complicating factor appears to be that there are multiple audio files per adhyAya. For generating the alignment, it is easy to locally concatenate the files into one larger file. but it is not clear what is the easiest way to present it on the website. Any thoughts @hrishikeshrt @shreevatsa?
Request from @thakkaha to add URL Query/Search parameters to set speed and mode - enables sharing a link that ensures everyone has the same settings. Useful for a class/abhiyaanam.
Document the structure of the data.json or add a "How to add a new set of data" section to the README to make it easy to contribute new aligned audio + text data.
Automate task described in https://github.com/avinashvarna/audio_alignment/tree/main/interface and push the static pages to the repo so that they can be hosted on github pages.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.