Code Monkey home page Code Monkey logo

memrise-audio-provider's Introduction

Memrise Audio Provider

Userscript which provides audio for any items you are learning which have none.

Installation

The easiest method is through the Tampermonkey chrome extension / firefox addon.

Then add the script using the following link: https://github.com/cooljingle/memrise-audio-provider/raw/master/Memrise_Audio_Provider.user.js

Usage

Once the script is installed and enabled, you can simply continue your learning on memrise and the script will kick in whenever required. You can access some script options via clicking the Audio Provider link in the left side bar:

options

  • audio for this course - pick which column the script uses to generate audio for the course
  • Voice RSS key - API key for Voice RSS (see next section)

Audio Generation

The script has three different methods to generate audio:

Speech Synthesis is available on chrome on a select number of languages. For firefox it currently works (firefox 44+) for English and Mandarin Chinese, but also requires you to navigate to about:config and set media.webspeech.synth.enabled to true. (Update - this was set to true by default in firefox 49)

Failing this, the script will try generating audio via google's tts api. This has support for a large number of languages, but the audio generation may drop out temporarily as google has imposed limits to prevent abuse of the system.

Voice RRS is the last port of call; to use it you will have to go to http://www.voicerss.org/ and register an account. Once this is done you will receive an API key which you will need to input into the audio options; it provides 350 free requests per day.

Issues

If you come across any issues or have a suggestion you can leave your feedback in the forum thread: https://community.memrise.com/t/userscript-memrise-audio-provider/10133

memrise-audio-provider's People

Contributors

aaron13100 avatar cooljingle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

memrise-audio-provider's Issues

Korean Hanja Pronunciation is Incorrect

The pronunciation provided for Korean Hanja characters (Chinese characters that are the root of Korean words) is incorrect. This is because the same character can have different pronunciation in different languages such as Chinese, Japanese, and Korean. For example 物 as Korean Hanja is pronounced 물 (mool), but this script produces a completely different pronunciation (presumably from Chinese or Japanese). Could the script detect the intended language and use the pronunciation of that language for the character?

Upload generated audio into course

Hi,
This is not an issue but rather question - sorry to put it here.
I'm thinking about using generated audio (via memrise-audio-provider) to upload it to the course.
The idea is that your script is working perfectly - on the android I think it is not possible to use it (I mean using memrise on the mobile phone).
Do you think that this is doable?

Stops working after a number of questions

Not originally a problem. The audio-provider now ceases to work (with the item even disappearing from the screen) after several questions of either review or learn.

This may be a problem exclusive to Czech.

Problem with beta verison

As you know, recently, Memrise updated its platform with some graphics features that explain below.
Beta_Version
and this script for the audio provider doesn't work anymore.
I appreciate it if you update and make your code compatible with this version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.