Wykres commitów

362 Commity (f3d0b5fb72d3f91ee1221a79a6134a6e8ff26e94)

Autor SHA1 Wiadomość Data
jmoenig 530afb1a60 let "getImageAttribute" deal with null costumes 2019-04-09 10:27:55 +02:00
jmoenig 223e493316 pixel access primitives for bitmap and vector graphics 2019-04-09 10:04:14 +02:00
jmoenig ad96635b2e accept lists and lists of lists as inputs to the "get sound attribute" primitive 2019-04-08 17:22:27 +02:00
jmoenig 38727fa467 accept lists and lists of lists as inputs to all sound playing primitives 2019-04-08 16:43:42 +02:00
jmoenig 5427a7a396 accept a number as input for a sound - interpret as index 2019-04-08 16:04:49 +02:00
jmoenig d1df74c7fc added relabelling information for the new "play sound at sample rate" block 2019-04-08 15:24:00 +02:00
jmoenig 1c9532edc3 new "play sound at sample rate" command primitive 2019-04-08 15:13:55 +02:00
jmoenig 6b874c18f3 new "getSoundAttribute" reporter primitive 2019-04-08 14:21:02 +02:00
jmoenig 4e0a407ecb stop microphone output when the user presses the stop button 2019-04-05 12:12:40 +02:00
jmoenig 6c024bab40 updated German translation for "sample rate" 2019-04-05 12:05:15 +02:00
jmoenig c47da5cbfa added "sample rate" selector to microphone drow-down 2019-04-05 12:00:25 +02:00
jmoenig f4a813bbe8 tweaked oscillator fade-out 2019-04-05 11:47:20 +02:00
jmoenig 1db0ae0bf7 adjusted PianoKeyboard for the new audio engine
click reduction is an ugly business, those time curves can overlap and cause mayhem...
2019-04-05 11:13:03 +02:00
jmoenig aadd556a11 eliminated "clicks" when playing a frequency 2019-04-05 10:25:53 +02:00
jmoenig 091c81b484 eliminated "clicks" when playing music notes
thank you, @bromagosa , for your thoughts and hints about how to accomplish this!
2019-04-05 10:03:53 +02:00
jmoenig 837e95e329 added inheritance support for "balance" 2019-04-04 18:40:13 +02:00
jmoenig 82deaac4f2 added inheritance support for "volume" 2019-04-04 18:22:56 +02:00
jmoenig 12c4a994fa added 'volume' and 'balance' selectors to the OF block 2019-04-04 15:32:36 +02:00
jmoenig 7bf45e0821 moved "stage width" and "stage height" into attribute menu of the OF block for the stage 2019-04-04 15:16:13 +02:00
jmoenig 2958b2d24e updated German translation 2019-04-04 14:58:48 +02:00
jmoenig 336d276784 renamed "pan left/right" to "balance" 2019-04-04 14:51:13 +02:00
jmoenig 0da085bc59 new "play frequency" commands in the Sounds category 2019-04-04 07:08:40 +02:00
jmoenig 9d2628274f updated history 2019-04-03 17:08:13 +02:00
jmoenig 33a48ae873 German translation update for volume and panning blocks 2019-04-03 16:08:04 +02:00
jmoenig 2ee948b505 added relabelling information for the new stereo-panning blocks 2019-04-03 15:12:49 +02:00
jmoenig 13379e8ad2 new feature: audio stereo-panning blocks
individual, persistent, non-inheritable, stereo-panning attribute range -100 to 100 for sprites and the stage, default is 0.
2019-04-03 15:06:08 +02:00
jmoenig 4ebe51fe12 added relabelling information for the new volume blocks 2019-04-03 14:26:54 +02:00
jmoenig b21fea7a32 new feature: volume blocks
individual, persistent, non-inheritable, decibels-based volume attribute for sprites and the stage
2019-04-03 14:18:46 +02:00
jmoenig 01b3c77aab Safari compatibility tweaks (only use StereoPanner if available) 2019-04-03 12:37:35 +02:00
jmoenig d483531449 updated history 2019-04-02 19:51:22 +02:00
jmoenig 53140c9108 added basic stereo-panning support for notes 2019-04-02 12:50:43 +02:00
jmoenig f4a7b59c49 added basic stereo-panning support for sounds
(under construction)
2019-04-02 12:40:00 +02:00
jmoenig 4d9dafcad1 new audio scheme support for the stage 2019-04-02 10:45:41 +02:00
jmoenig 91f4391509 use AudioContext to play recorded sounds 2019-04-02 10:33:34 +02:00
jmoenig 514ec3a1bf lazily initialize volume property 2019-04-02 07:19:44 +02:00
jmoenig 6d2ed9752c added volume support for notes (under construction) 2019-04-01 17:43:45 +02:00
jmoenig da6ae70e7d refactored audio context sharing and lazy initialization 2019-04-01 15:33:45 +02:00
jmoenig bc621b6ca7 took out gain node from Note oscillator
(will be used for "volume" setting)
2019-04-01 15:14:25 +02:00
jmoenig eced999b6c let the Microphone share the Note prototype's AudioContext
make sure all of Snap! uses just a single AudioContext in order to save hardware resources
2019-04-01 13:56:53 +02:00
jmoenig 8d89e1a2d6 updated AudioComp library
(removed stage width/height blocks, added translation)
2019-03-31 13:48:45 +02:00
jmoenig 6ab1965cf7 updated German translation 2019-03-31 13:28:28 +02:00
jmoenig dd59563f00 added "stage width" and "stage height" as gettable attributes to MY 2019-03-31 13:20:39 +02:00
jmoenig b820ccdd5e added JIT-compilation to live-audio scripting 2019-03-30 11:55:29 +01:00
jmoenig 562f31c281 support multi-channel live-audio scripting 2019-03-30 10:49:19 +01:00
jmoenig d07b35a2d8 new experimental live audio-scripting support 2019-03-28 17:20:28 +01:00
jmoenig 5a2d4f2a16 updated animation library with partial French translation 2019-03-26 18:03:39 +01:00
jmoenig f18f299396 updated French translation 2019-03-26 09:00:12 +01:00
jmoenig bf07a4c450 fixed unintentional pen trails when manually cloning or duplicating a sprite
whose pen is down
2019-03-25 15:26:29 +01:00
jmoenig af4238eead updated German translation 2019-03-18 15:19:26 +01:00
jmoenig fb36408553 renamed some items of the microphone dropdown 2019-03-18 15:14:20 +01:00
jmoenig a8607e5326 replaced 'colorBelowSprite' with 'colorAtSprite' 2019-03-18 09:19:35 +01:00
jmoenig 65944c9849 renamed 'colorAtSprite' to 'colorBelowSprite'
(first step to refactoring it altogether)
2019-03-17 19:28:43 +01:00
jmoenig 4fdbdf3e61 improved microphone pitch detection 2019-03-15 10:28:13 +01:00
jmoenig ce187b5f77 atomic HOFs lib: added translations from tools lib 2019-03-14 08:50:41 +01:00
jmoenig ab092dc59c optimized microphone volume detection 2019-03-13 17:01:08 +01:00
jmoenig eae7aebf0d added "play hz" and "stop hz" blocks to AudioComp libary 2019-03-13 11:16:10 +01:00
jmoenig b6ebbce681 made "play frequency" command experimental / only revealed in dev 2019-03-13 08:34:15 +01:00
jmoenig 92cd0d1e13 simplified and optimized pitch detection, made it work on Safari 2019-03-13 08:26:36 +01:00
jmoenig 4a95cbae8a disabled pitch detection for Safari, so at least the other microphone features work 2019-03-12 16:15:48 +01:00
jmoenig 5bc0829a32 updated Animation und AudioComp libraries with new powerOf primitive 2019-03-12 11:44:44 +01:00
jmoenig 25d4809830 updated relabel-dictionary 2019-03-12 11:26:54 +01:00
jmoenig 94bf8e0402 added "^" reporter (power of) in the Operators category 2019-03-12 11:18:05 +01:00
jmoenig 3686b71a72 updated German translation for "play frequency" primitive 2019-03-12 08:37:47 +01:00
jmoenig 1300b227ea added "play frequency" primitive to "Sound" category 2019-03-12 08:30:45 +01:00
jmoenig 39d19fabe1 changed microphone volume (back) to a scale of 0-100 2019-03-12 07:40:02 +01:00
jmoenig 6a1919ee63 removed microphone resolution setters from audioComp library 2019-03-11 16:54:05 +01:00
jmoenig 038f55a8e5 updated German translation for microphone settings 2019-03-11 16:33:23 +01:00
jmoenig 63b51d6309 added microphone "resolution" settings to GUI 2019-03-11 16:21:10 +01:00
jmoenig af1397d7d3 added microphone "resolution" concept governing "bins" (buffer / bin sizes) 2019-03-11 15:25:23 +01:00
jmoenig c4e9518da2 took out "b block" costume from catalog 2019-03-11 13:55:25 +01:00
jmoenig ecdfdf7538 new "text costumes" library for generating costumes from letters or words of text 2019-03-11 09:49:28 +01:00
jmoenig 5246d62144 ported multiline library to new (custom input slot) format 2019-03-11 09:39:08 +01:00
jmoenig 83d2b6ee8b added note / hz conversion blocks to audioComp library 2019-03-11 09:09:53 +01:00
jmoenig a6439559e5 tweaked pitch detection to smoothen low audio signals 2019-03-10 15:04:45 +01:00
jmoenig c566b91f84 updated German translation for pitch-detection 2019-03-10 13:11:03 +01:00
jmoenig 9efc4c582d tweaked note detection to only change when the audio signal is strong enough 2019-03-10 12:58:23 +01:00
jmoenig 8ff79b0d8c added microphone note and pitch detection 2019-03-10 11:33:23 +01:00
jmoenig 01ec1a7448 simplified "globe" symbol 2019-03-07 09:35:45 +01:00
jmoenig 22076c9f52 German translation update (microphone features) 2019-03-07 09:21:38 +01:00
jmoenig 998803a18e AudioComp lib: added block to set the microphone's buffer and fft sizes 2019-03-07 09:09:38 +01:00
jmoenig db0301c8cc let users turn off microphone manually in the settings menu (in the offline version) 2019-03-06 17:08:53 +01:00
jmoenig 63a0f343a6 keep microphone always on when running Snap! locally
otherwise users need to re-allow microphone usage every time the block is eveluated again later
2019-03-06 17:06:49 +01:00
jmoenig ea25dad812 new "microphone" reporter in Sensing for getting volume, signals and frequencies 2019-03-06 16:44:20 +01:00
jmoenig cf3b8b6226 removed "loudness / microphone" block from AudioComp lib
turned into primitive instead
2019-03-06 16:37:44 +01:00
jmoenig b37b4ba2f0 AudioComp lib: support Safari 2019-03-06 13:08:58 +01:00
jmoenig 683ec28de4 AudioComp lib: turn off mic after 5 secs of idling 2019-03-06 10:33:57 +01:00
jmoenig dc5e6298a0 updated history 2019-03-05 18:18:59 +01:00
jmoenig cf6062dbfa updated feature list 2019-03-05 11:40:10 +01:00
jmoenig d95539bfd5 added "globe" icon to language menu item 2019-03-05 08:49:26 +01:00
jmoenig 324a8e5999 updated German translation 2019-03-04 18:47:51 +01:00
jmoenig b6a3039965 changed project dialog's initial & miminum extent 2019-03-04 18:20:09 +01:00
jmoenig e3fcfc0b6e spread project dialog action buttons over 2 rows 2019-03-04 18:12:43 +01:00
jmoenig 670595e4c8 reenabled publish / unpublish buttons in the project dialog 2019-03-04 16:39:58 +01:00
jmoenig 3ad75ed84d deprecated storing projects in localStorage 2019-03-04 15:45:26 +01:00
jmoenig 6f529f0276 replaced "storage" icon in project dialog with "globe" symbol 2019-02-27 12:35:52 +01:00
jmoenig 7d5f903135 new "globe" symbol 2019-02-27 12:27:33 +01:00
jmoenig c136fc84a3 disabled calls to world.worldCanvas.focus()
in the hope that it prefents projects embedded in iFrames to automaticalls scroll into view
2019-02-26 07:35:01 +01:00
jmoenig 6656cd62b5 made "inheritance support" setting hidden 2019-02-26 07:19:42 +01:00
jmoenig fd009c2d7b don't focus embedded worlds 2019-02-25 16:39:56 +01:00
jmoenig 1c55861ab4 German translation for animation library 2019-02-25 14:09:33 +01:00
jmoenig d48393b8ba updated version history 2019-02-24 15:22:35 +01:00
jmoenig 63224649b8 new help screens for some blocks, thanks, Brian! 2019-02-23 10:30:54 +01:00
jmoenig a7aeba8633 updated version dates 2019-02-22 18:10:45 +01:00
jmoenig 31d18aa4ef tweaked German translation 2019-02-22 17:55:28 +01:00
jmoenig 04eb25cc9b updated version history 2019-02-22 17:50:26 +01:00
jmoenig ba347990c1 fixed deleting a single command inside a stack
which somehow got broken when allowing commands inside reporter rings
2019-02-21 01:42:46 +01:00
jmoenig 5444b16005 updated German translation 2019-02-20 06:47:28 +01:00
jmoenig bce805d616 Tweaked German translation 2019-02-20 06:01:43 +01:00
jmoenig f1097de256 udated German translation 2019-02-19 22:43:48 +01:00
jmoenig 1a3592de7f fixed #2332
I hate it. It's fixes like this that bog Snap! down.
2019-02-19 22:08:30 +01:00
jmoenig b0d4b4fd1b new feature: enable sprite nesting via the context menu 2019-02-18 19:00:25 +01:00
jmoenig 0565310e52 fixed a glitch in the custom block help mechanism (show only the prototype) 2019-02-15 17:53:11 +01:00
jmoenig 83adb56bd0 tweaked yesterday's fix... 2019-02-15 17:26:11 +01:00
jmoenig 82c6b82960 keep empty numerical input slots in custom blocks empty when relabelling
instead of filling in zeroes
2019-02-14 12:01:16 +01:00
jmoenig a19cd29526 enable dropping command blocks into all rings by default. Yeah! 2019-02-07 12:54:45 +01:00
jmoenig ba46761576 adjusted keyboard typing for command blocks inside reporter rings 2019-02-07 12:47:56 +01:00
jmoenig affbe2f437 refactored for optimized parent-by-type detection 2019-02-07 09:54:22 +01:00
jmoenig 22e12c834a simplified and optimized Node>>parentThatIsA / parentThatIsAnyOf 2019-02-07 09:48:17 +01:00
jmoenig d3a01ea1ee improved dropping command blocks into reporter rings 2019-02-07 07:54:23 +01:00
jmoenig 37a8c8d6e6 tweaked spec for settings getter 2019-02-07 07:45:23 +01:00
jmoenig c081eb997f tweaked loading mechanism to enable command blocks inside reporter rings 2019-02-07 07:42:47 +01:00
jmoenig b950976675 enable dropping commands into all rings, experimental, under construction 2019-02-06 20:35:54 +01:00
jmoenig 7e8a0198ba updated history 2019-02-06 14:24:55 +01:00
jmoenig 015bc354c4 adjust bottom of STOP block to reflect the menu selection (show / hide bottom notch) 2019-02-06 14:21:09 +01:00
jmoenig 7478efdca9 refactored custom block input slot options / menus
avoid errors in case users edit menus in ways that are not supported
2019-02-06 08:44:07 +01:00
jmoenig 89fb1ac36f radio button symbols for special slot / drop-down menu options 2019-02-05 22:09:55 +01:00
jmoenig 4951f5cb70 enable dial menu to work with textual values representable as numbers 2019-02-04 11:11:43 +01:00
jmoenig aa98ed4d50 enable piano keyboard menu to work with textual values representable as numbers 2019-02-04 11:01:55 +01:00
jmoenig 96660cf775 support default values in multi-line input slots inside custom blocks 2019-02-04 09:56:22 +01:00
jmoenig 85c6a1ed38 identify multi-line input slots by the pilcrow symbol in the slot editor 2019-02-04 09:04:58 +01:00
jmoenig d92b37c629 special context-aware drop-downs for custom blocks 2019-02-04 08:25:03 +01:00
jmoenig 39edea8f43 multi-line and monospaced "code" input slots for custom blocks 2019-02-01 17:22:18 +01:00
jmoenig 30d9cfcbf6 updated history 2019-01-28 18:31:02 +01:00
jmoenig 6b805a855a added "flat line ends" option to "turbo mode" accessor blocks 2019-01-28 16:54:48 +01:00
jmoenig fc175b844e German translation update 2019-01-28 10:17:10 +01:00
jmoenig c50396fdf7 new "object" reporter in the Sensing category for getting a sprite by its name 2019-01-28 10:10:10 +01:00
jmoenig b9bc9d1446 pushed version to "beta" 2019-01-28 08:07:52 +01:00
jmoenig f40def7316 updated version history 2019-01-28 07:59:48 +01:00
jmoenig 9608bc9b45 added ability to export sounds 2019-01-25 13:38:08 +01:00
jmoenig 19f17e7243 updated version history
and slightly tweaked the code to please lint :-)
2019-01-25 12:17:57 +01:00
jmoenig af6229828f tweaked CSV-parser to handle \r-only record delimiters 2019-01-25 09:31:11 +01:00
jmoenig 02ceb07c47 updated audio-comp library blocks with new loop-arrow symbols 2019-01-24 13:24:25 +01:00
jmoenig cfc8750292 Turkish translation update, thanks, Turgut! 2019-01-24 11:57:24 +01:00
jmoenig ce4d93c036 updated German translation
added translations for the new "background color" blocks
2019-01-23 17:44:38 +01:00
jmoenig 2cc9a17310 save stage's background color in project
also save alpha of pen color and background color
2019-01-23 17:34:51 +01:00
jmoenig 8bf326e934 new blocks for setting and changing the stage's background color 2019-01-23 17:09:54 +01:00
jmoenig e8fac25547 updated animation library blocks with new loop-arrow symbols, tweaked FOR block 2019-01-23 07:35:27 +01:00
jmoenig 6314db32b1 updated cases library blocks with new loop-arrow symbols 2019-01-23 07:27:39 +01:00
jmoenig 5fa31f0aab tweaked rending of C-shaped slots inside predicates 2019-01-23 07:20:22 +01:00
jmoenig c7f0d9d674 fixed pen hsv-cache invalidation for clones 2019-01-22 13:38:00 +01:00