From 2b4ba69458696b84e400614c8b56a5ded92a0644 Mon Sep 17 00:00:00 2001 From: fernandogelin Date: Tue, 7 Apr 2020 07:21:56 -0400 Subject: [PATCH] refactor: change beep to formula --- .github/workflows/build_at_home.yaml | 4 ---- .github/workflows/main.yml | 4 ---- src/config/main.js | 2 +- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/build_at_home.yaml b/.github/workflows/build_at_home.yaml index c7829b0..295e537 100644 --- a/.github/workflows/build_at_home.yaml +++ b/.github/workflows/build_at_home.yaml @@ -1,10 +1,6 @@ name: Build at home version (Windows) on: - push: - branches: - - master - - develop pull_request: paths: - 'src/**' diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 00652d6..c729e39 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,10 +1,6 @@ name: Test, Build, and Package on: - push: - branches: - - master - - develop pull_request: paths: - 'src/**' diff --git a/src/config/main.js b/src/config/main.js index e7827b9..3020589 100644 --- a/src/config/main.js +++ b/src/config/main.js @@ -14,7 +14,7 @@ const MTURK = (!jsPsych.turk.turkInfo().outsideTurk) // audio codes const audioCodes = { - frequency: 5000, + frequency: 100*(eventCodes.open_task - 9), type: 'sine' }