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

Mushra Hidden Ref, how to delete? #9

Open
mariejo-j opened this issue Aug 26, 2018 · 2 comments
Open

Mushra Hidden Ref, how to delete? #9

mariejo-j opened this issue Aug 26, 2018 · 2 comments

Comments

@mariejo-j
Copy link

mariejo-j commented Aug 26, 2018

I'm helping a student setup a Mushra test, looked at several tools and suggested using beaqlejs because it's nice and clean.
The problem we ran into is the automatic addition of a hidden reference in the audio pool. In other words the reference shows both on top of the audio pool and in the list of test items. Is there a way to hide it from the list of test items because when we presented the test to a few subjects they objected having to deal with this double reference.

Wanted reference:
<audio src="audio/0200_ref02_big-c.mp3" class="audiotags" id="audioReference" preload="auto">`

Unwanted hidden reference
<audio src="audio/0200_ref02_big-c.mp3" class="audiotags" id="audioHiddenRef" preload="auto">`

Thanks in advance for your assistance.

@seebk
Copy link
Member

seebk commented Oct 3, 2018

Again, sorry for late reply. Unfortunately, the MUSHRA test currently has no ability to disable the hidden reference as it is a fundamental part of the MUSHRA test procedure. I think it would be easy to add another test class which is more generic in its configuration possibilities. Will keep this item open as a reminder for me, but cannot promise that I find the time to do it in the next months...

@cantabile-kwok
Copy link

Actually, in the createTestDOM function one can easily add some code for this issue. For example, in line 1097 of js/beaqle.js, simply add a continue to skip the next part of iteration will disable reference speech to be displayed in test items. But this would cause the test items to have wrong indices. One can use a variable j synchronized with iteration variable i to tackle this problem, i.e. to use j in line 1104 instead of i.

Btw, it's also easy not to have a reference speech, e.g. when you are simply comparing different voices. This is because line 1071 to 1081 in beaqle.js displays reference speech on the top.

(for any newcomers who encounter this problem as well as me)

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

3 participants