changed microphone volume (back) to a scale of 0-100

pull/89/head
jmoenig 2019-03-12 07:40:02 +01:00
rodzic 6a1919ee63
commit 39d19fabe1
3 zmienionych plików z 6 dodań i 3 usunięć

Wyświetl plik

@ -48,6 +48,9 @@
* Catalan, thanks, Joan!
* German
### 2019-03-12
* Threads: changed microphone volume (back) to a scale of 0-100
### 2019-03-11
* added note / hz conversion blocks to audioComp library
* ported multiline library to new (custom input slot) format

Wyświetl plik

@ -7,7 +7,7 @@
<script type="text/javascript" src="src/morphic.js?version=2019-02-07"></script>
<script type="text/javascript" src="src/widgets.js?version=2018-10-02"></script>
<script type="text/javascript" src="src/blocks.js?version=2019-03-11"></script>
<script type="text/javascript" src="src/threads.js?version=2019-03-11"></script>
<script type="text/javascript" src="src/threads.js?version=2019-03-12"></script>
<script type="text/javascript" src="src/objects.js?version=2019-03-11"></script>
<script type="text/javascript" src="src/gui.js?version=2019-03-11"></script>
<script type="text/javascript" src="src/paint.js?version=2019-02-22"></script>

Wyświetl plik

@ -62,7 +62,7 @@ StageMorph, SpriteMorph, StagePrompterMorph, Note, modules, isString, copy,
isNil, WatcherMorph, List, ListWatcherMorph, alert, console, TableMorph, Color,
TableFrameMorph, ColorSlotMorph, isSnapObject, Map*/
modules.threads = '2019-March-11';
modules.threads = '2019-March-12';
var ThreadManager;
var Process;
@ -2260,7 +2260,7 @@ Process.prototype.reportAudio = function (choice) {
if (stage.microphone.isOn()) {
switch (selection) {
case 'volume':
return stage.microphone.volume;
return stage.microphone.volume * 100;
case 'pitch':
return stage.microphone.pitch;
case 'note':