add more audio, no repeating kana

This commit is contained in:
postautistic 2017-02-08 18:35:52 -05:00
parent 011e77055c
commit db1a06ce90
60 changed files with 26 additions and 7 deletions

BIN
kana/audio/ba.mp3 Normal file

Binary file not shown.

BIN
kana/audio/be.mp3 Normal file

Binary file not shown.

BIN
kana/audio/bi.mp3 Normal file

Binary file not shown.

BIN
kana/audio/bo.mp3 Normal file

Binary file not shown.

BIN
kana/audio/bu.mp3 Normal file

Binary file not shown.

BIN
kana/audio/bya.mp3 Normal file

Binary file not shown.

BIN
kana/audio/byo.mp3 Normal file

Binary file not shown.

BIN
kana/audio/byu.mp3 Normal file

Binary file not shown.

BIN
kana/audio/cha.mp3 Normal file

Binary file not shown.

BIN
kana/audio/cho.mp3 Normal file

Binary file not shown.

BIN
kana/audio/chu.mp3 Normal file

Binary file not shown.

BIN
kana/audio/da.mp3 Normal file

Binary file not shown.

BIN
kana/audio/de.mp3 Normal file

Binary file not shown.

BIN
kana/audio/do.mp3 Normal file

Binary file not shown.

BIN
kana/audio/ga.mp3 Normal file

Binary file not shown.

BIN
kana/audio/ge.mp3 Normal file

Binary file not shown.

BIN
kana/audio/gi.mp3 Normal file

Binary file not shown.

BIN
kana/audio/go.mp3 Normal file

Binary file not shown.

BIN
kana/audio/gu.mp3 Normal file

Binary file not shown.

BIN
kana/audio/gya.mp3 Normal file

Binary file not shown.

BIN
kana/audio/gyo.mp3 Normal file

Binary file not shown.

BIN
kana/audio/gyu.mp3 Normal file

Binary file not shown.

BIN
kana/audio/hya.mp3 Normal file

Binary file not shown.

BIN
kana/audio/hyo.mp3 Normal file

Binary file not shown.

BIN
kana/audio/hyu.mp3 Normal file

Binary file not shown.

BIN
kana/audio/ja.mp3 Normal file

Binary file not shown.

BIN
kana/audio/ji.mp3 Normal file

Binary file not shown.

BIN
kana/audio/jo.mp3 Normal file

Binary file not shown.

BIN
kana/audio/ju.mp3 Normal file

Binary file not shown.

BIN
kana/audio/kya.mp3 Normal file

Binary file not shown.

BIN
kana/audio/kyo.mp3 Normal file

Binary file not shown.

BIN
kana/audio/kyu.mp3 Normal file

Binary file not shown.

BIN
kana/audio/mya.mp3 Normal file

Binary file not shown.

BIN
kana/audio/myo.mp3 Normal file

Binary file not shown.

BIN
kana/audio/myu.mp3 Normal file

Binary file not shown.

BIN
kana/audio/nippon.mp3 Normal file

Binary file not shown.

BIN
kana/audio/nya.mp3 Normal file

Binary file not shown.

BIN
kana/audio/nyo.mp3 Normal file

Binary file not shown.

BIN
kana/audio/nyu.mp3 Normal file

Binary file not shown.

BIN
kana/audio/pa.mp3 Normal file

Binary file not shown.

BIN
kana/audio/pe.mp3 Normal file

Binary file not shown.

BIN
kana/audio/pi.mp3 Normal file

Binary file not shown.

BIN
kana/audio/po.mp3 Normal file

Binary file not shown.

BIN
kana/audio/pu.mp3 Normal file

Binary file not shown.

BIN
kana/audio/pya.mp3 Normal file

Binary file not shown.

BIN
kana/audio/pyo.mp3 Normal file

Binary file not shown.

BIN
kana/audio/pyu.mp3 Normal file

Binary file not shown.

BIN
kana/audio/rya.mp3 Normal file

Binary file not shown.

BIN
kana/audio/ryo.mp3 Normal file

Binary file not shown.

BIN
kana/audio/ryu.mp3 Normal file

Binary file not shown.

BIN
kana/audio/sha.mp3 Normal file

Binary file not shown.

BIN
kana/audio/sho.mp3 Normal file

Binary file not shown.

BIN
kana/audio/shu.mp3 Normal file

Binary file not shown.

BIN
kana/audio/za.mp3 Normal file

Binary file not shown.

BIN
kana/audio/ze.mp3 Normal file

Binary file not shown.

BIN
kana/audio/zo.mp3 Normal file

Binary file not shown.

BIN
kana/audio/zu.mp3 Normal file

Binary file not shown.

View File

@ -3,6 +3,13 @@ body {
background-color:#eef5ed;
}
a {
color:#4d99b7;
font-weight:bold;
cursor:pointer;
text-decoration:none;
}
h1 {
text-align: center;
color: #8e6264;

View File

@ -253,6 +253,12 @@ function show_kana() {
shuffled = shuffle(active);
}
if(cur_kana) {
if(shuffled[0][0] == cur_kana) {
shuffled.shift();
}
}
cur_kana = shuffled[0][0];
cur_reading = shuffled[0][1];
@ -268,9 +274,9 @@ function show_kana() {
document.getElementById('answer').innerHTML = cur_reading;
if(show_tools.indexOf(cur_kana) == -1) {
document.getElementById('tools').style.visibility = 'hidden';
document.getElementById('tool_stroke').style.visibility = 'hidden';
} else {
document.getElementById('tools').style.visibility = 'visible';
document.getElementById('tool_stroke').style.visibility = 'visible';
}
}
@ -331,6 +337,11 @@ function play_sound() {
document.getElementById('input_box').focus();
}
function play_other(file) {
var audio = new Audio('audio/' + file + '.mp3');
audio.play();
}
function stroke_order() {
document.getElementById('kana').innerHTML = '<img src="stroke/' + cur_kana + '.gif" id="stroke" />';
document.getElementById('input_box').focus();

View File

@ -3,10 +3,10 @@
<head>
<meta charset="UTF-8">
<title>DJT Kana</title>
<link rel="stylesheet" href="djtkana.css?3" />
<link rel="stylesheet" href="djtkana.css?5" />
</head>
<body>
<script src="djtkana.js?3"></script>
<script src="djtkana.js?5"></script>
<h1>DJT Kana</h1>
@ -429,17 +429,18 @@
<div id="explanation">
<p>Grind a row of kana until you stop making mistakes, then add another row. Press the <code>Play sound</code> link to make sure you are pronouncing the kana correctly. If you wish to write, the <code>Stroke order</code> link will show you the proper form.</p>
<p>The two little dots (<a href="https://en.wikipedia.org/wiki/Dakuten">dakuten</a>) next to certain kana indicate that the first consonant is "muddied" (voiced). For example, か (ka) becomes が (ga). The first letter of the romaji for these kana transforms as follows:
<p>The two dots (<a href="https://en.wikipedia.org/wiki/Dakuten">dakuten</a>) next to certain kana indicate that the first consonant is "muddied" (voiced). For example, か (ka) becomes が (ga). The consonant of such kana transforms as follows:
<ul>
<li>k -> g</li>
<li>s -> z</li>
<li>t -> d</li>
<li>h -> b</li>
<li>s/ts -> z</li>
<li>ち (chi) -> ぢ (ji); し (shi) -> じ (ji)</li>
</ul>
<p>A few kana add a small circle to indicate a "p" consonant transformation. For example, ほ (ho) becomes ぽ (po).</p>
<p>The smaller kana ゅ, ょ, and ゃ are used to combine kana sounds. For example, in <span style="white-space:nowrap">ぎゃ</span> (gya) the consonant of ぎ (gi) combines with the sound from や (ya). The small っ (distinct from つ/tsu) is not itself pronounced, but lengthens the consonant that follows, as in にっぽん (nippon). Read <a href="http://www.guidetojapanese.org/learn/grammar/hiragana">Tae Kim</a> for more information about kana.</p>
<p>The smaller kana ゅ, ょ, and ゃ are used to combine kana sounds. For example, in <span style="white-space:nowrap">ぎゃ</span> (gya) the consonant of ぎ (gi) combines with the sound from や (ya). The small っ (distinct from つ/tsu) is not itself pronounced, but lengthens the consonant that follows, as in <a onclick="play_other('nippon')"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABK0lEQVQ4T5WTsUsCYRjGPdGxNtFWW2pWCAz3PIIabCmIQAeHBI1Cm9ptqYY0C5qDWrSh/yFM9+qPyK2G9PfAHRzx3Rd38OO7+573ffi+h/ecmP1ZR/6B17Ayx9JfQ+vCDPLwZqoNM6hS3Adf3+H90TNIs+7Dub5NBsfsd/5oQQMXbQhNuJLBEhQhCdtQNhzVNyigjeAIzmBFBp+QtWQhSQZP8A4v0IAPXUsGCum/xz/BAYW33qlbrG5UgwWapmoEhXkT1WCRpi8oQQZ6UQ0qNGk2FPwpbMhAYSxHCPGZ2hNQ+A8y0F00sgnYgl2DmR/iGtoY2h6rpkGqI15CUAsO0ibaAA7hOmyUNar3EPdOEzRIsbcHF9JsP5MCu4NfyMHElJPNQPW683dYswrm3U87Ae88g4wAAAAASUVORK5CYII=" style="opacity:.8;" /> にっぽん</a> (nippon); the effect generally resembles a small pause. <a href="http://www.guidetojapanese.org/learn/grammar/hiragana">Tae Kim</a> has more information, and is the source of our audio.</p>
<p></p>
</div>