Commit Graph
3080 Commits
Author SHA1 Message Date
Eric Rosenbaum 523667dfaf Remove waveshaper from volume effect
the waveshaper node is implemented incorrectly on Mac Safari (https://bugs.webkit.org/show_bug.cgi?id=129333) and causes extreme distortion of the sound
2019-09-27 14:26:14 -04:00
Eric Rosenbaum 5599626405 Revert "Revert "Limit louder effect with a max RMS""
This reverts commit 45cb96f2d4.
2019-09-27 14:20:34 -04:00
Paul Kaplan 45cb96f2d4 Revert "Limit louder effect with a max RMS" 2019-09-26 09:48:15 -04:00
Eric Rosenbaum 17324e5340 Merge pull request #5149 from ericrosenbaum/feature/limit-louder-rms
Limit louder effect with a max RMS
2019-09-23 10:52:17 -04:00
DD Liu bd835adcd4 Reupdate watermelon a and basketball background with asset exported from sketch 2019-09-19 15:21:17 -04:00
Paul Kaplan 03d9f8f2c6 Merge pull request #5169 from LLK/recording-glitch
Use a larger buffer size for recording to prevent glitching
2019-09-17 11:10:20 -04:00
DD Liu a2bc04e5d4 Fix assets that aren't working correctly in Android libraries 2019-09-16 16:27:55 -04:00
Paul Kaplan 2b9550f3d9 Use single setState call instead of two 2019-09-13 14:05:07 -04:00
Paul Kaplan 94bb677fd8 Force meter and waveform to separate paint layer 2019-09-13 14:04:54 -04:00
Paul Kaplan 5b6f33e1a4 Use a larger buffer size for recording to prevent glitching 2019-09-13 12:46:25 -04:00
Paul Kaplan 32723a8876 Merge pull request #5114 from LLK/default-last-asset
Default blocks to last asset instead of first
2019-09-13 09:51:54 -04:00
Paul Kaplan a680d30930 Merge pull request #5143 from towerofnix/selector-padding
Use list-area:after to pad scroll area
2019-09-11 09:22:10 -04:00
Paul Kaplan 1dce71e787 Merge pull request #5115 from paulkaplan/fix-bluetooth-keyboards
Fix bluetooth keyboards with iOS keypress blocks
2019-09-11 09:12:40 -04:00
Eric Rosenbaum 2df0c80b30 Simplify chunk counting logic 2019-09-10 10:35:19 -04:00
Eric Rosenbaum 6414985461 Calc tooLoud with chunkLevels, disable louder btn 2019-09-05 13:49:22 -04:00
Eric Rosenbaum 059d3f709b Use a waveshaper to hard limit samples 2019-09-04 11:01:10 -04:00
Eric Rosenbaum 26ca5da725 Limit louder effect with a max RMS 2019-09-03 18:13:45 -04:00
Florrie b74f19e6e6 Use list-area:after to pad scroll area 2019-09-02 23:26:46 -03:00
Zoë Bentley 2f08acae45 Fixed Portuguese (Brazilian) locale 2019-08-29 15:41:06 -04:00
Eric Rosenbaum 8ba5ecbec0 Add Marian sprite and costumes 2019-08-28 10:14:28 -04:00
Paul Kaplan def5cdc450 Send keyCode if the key information is gone 2019-08-21 15:28:04 -04:00
Paul Kaplan b2dd3ed421 Default blocks to last asset instead of first 2019-08-21 14:56:46 -04:00
Paul Kaplan 25611283c4 Merge pull request #5103 from zoebentley/imagine-if-video
Added the Imagine If video to Imagine If tutorial, and changed last step
2019-08-16 11:09:39 -04:00
Zoë Bentley 4a19260911 Added Imagine If Wistia link to translate-video.js 2019-08-15 18:14:18 -04:00
Zoë Bentley e9880c4d17 Removed Imagine If video (supposed to be part of a different PR) 2019-08-15 18:06:45 -04:00
Zoë Bentley b2bf8605ae Added video links for Portuguese and Italian tutorials 2019-08-15 17:56:07 -04:00
Zoë Bentley 3f5e5fbc0e Reduced image size 2019-08-15 17:51:03 -04:00
Zoë Bentley ad1d7e2751 Added the Imagine If video to the Imagine If tutorial, and changed the last card 2019-08-15 17:43:55 -04:00
Paul Kaplan 593c3448eb Merge pull request #5092 from paulkaplan/fix-import-hang
Close importing after failing to import
2019-08-14 11:15:06 -04:00
picklesrus 907059be00 Revert "Fix duplicate running blocks by removing pointer-events: none" 2019-08-13 17:34:02 -04:00
Paul Kaplan ab0ee830d8 Close importing after failing to import 2019-08-13 11:33:32 -04:00
Chris Garrity 8c94fef24c Get the mime-type for the file from the blob
Depends on the VM change that sets the mime-type
2019-08-12 15:32:30 -04:00
Paul Kaplan ec386be590 Merge pull request #5078 from LLK/fix-duplicate-run
Fix duplicate running blocks by removing pointer-events: none
2019-08-12 08:42:42 -04:00
DD Liu 0adf321455 Merge pull request #5071 from fsih/webpackResolver
Add webpack resolver to eslintrc so linter doesn't give false positive noUnresolved errors
2019-08-08 16:08:04 -04:00
Paul Kaplan d4d6dede94 Fix duplicate running blocks by removing pointer-events: none; 2019-08-08 15:16:55 -04:00
Ray Schamp 445874cb9c Revert "Make delete button accessible" 2019-08-08 10:30:58 -04:00
DD Liu 6658158972 Merge branch 'develop' into webpackResolver 2019-08-08 00:35:46 -04:00
DD Liu 127aa38f58 use path.resolve for config 2019-08-08 00:26:51 -04:00
Paul Kaplan 90b71ce5e5 Merge pull request #5039 from paulkaplan/fix-context-menu-after-drag
Fix issue where context menu wouldn't come back after dragging
2019-08-07 15:59:28 -04:00
DD Liu eb989d7b2e Add webpack resolver to eslintrc so linter doesnt give false positive noUnresolved errors 2019-08-06 16:05:06 -04:00
Paul Kaplan b07c645124 Fix saving after recording a sound 2019-08-02 09:31:53 -04:00
chrisgarrity 69b7eef768 Merge pull request #4926 from LLK/sound-lib-touch
Add play buttons to sound library tiles for touch
2019-08-02 08:39:48 -04:00
chrisgarrity 3feff9fea8 Merge pull request #5017 from chrisgarrity/fix-up-delete-button
Make delete button accessible
2019-08-02 08:39:27 -04:00
Chris Garrity 3701a4fb44 Refactor to separate container/component
Also noticed that Delete aria label was not localized.
2019-07-31 16:20:34 -04:00
Chris Garrity e2c2bd3927 remove callbacks 2019-07-31 15:38:30 -04:00
Chris Garrity ab1537dab4 Use classNames instead of ternary
Use the classNames feature to include/exclude a class based on a boolean instead of ternary operator
2019-07-31 12:05:16 -04:00
Chris Garrity 043e31a472 Refactor
* split play-button into container and component
* revised sound library tile:
  * play button in upper right
  * smaller sound icon (make the tile less loaded)
2019-07-31 12:05:16 -04:00
Chris Garrity 91f5c4910f refactor to create play-button for sound items
Play button doesn’t have a ‘touch-outside’ listener to stop sounds. That seems to be ok as other events cause the sound to stop.

Both handleClick and handleMouseDown are needed. Must use handleMouseDown for `preventDefault` to skip setting focus on the item. handleClick is needed to prevent the Click from propagating to the item and selecting it.
2019-07-31 12:05:16 -04:00
Chris Garrity 41cc11c32e Handle sound ending
Update UI play/stop button when the sound ends
2019-07-31 12:05:16 -04:00
Chris Garrity 6216e7dfa7 improve touch interactions
Play button is larger (easier to touch). Can both start and stop sounds.
Sound doesn’t restart on mouseEnter if the sound is already playing.
Sound stops if you move off play button

Missing: stop button does not revert to play button when the sound finishes.
2019-07-31 12:05:16 -04:00