Welcome to the Wildwood Soundworks Developer Tools.
These tools make it easy for you to manage and program your device. They include a JavaScript Editor, a File Explorer, a Console Panel and a Device View.
The JavaScript Editor works with a builtin JavaScript interpreter to provide access to WildOS events, over 190 events that you can can hook or fire to control most of the functions of your device.
There is also support for file access and other low level device operations.
To access the Developer Tools, you need to connect your device to WiFi and open the Developer Tools in a web browser as described in Developer Tools Quick Start Guide.
The Developer Tools provide support for JavaScript ES5. This version of JavaScript is ideally suited for the limited hardware capabilities of small devices. It achieves this by not providing language features such as arrow functions, async promises, the let / const / class keywords and template literals.
Some may wonder why the devices don't use MicroPython or Lua or some other scripting language. The reality is that the language doesn't really matter that much. The core features of all these languages are very similar and the main purpose is to control the underlying device, which is easy given any modern scripting language.
The examples show you how to use JavaScript ES5 and the Wildword Soundworks interface to generate music and control your device. The examples are numbered sequentially starting with basic concepts and working up to more complex examples.
Each example begins with comments that provide the foundation for the example and subsequent examples. As such, the comments at the top of the first example are a bit of a firehose of music, physics and programming in the hopes that some parts will be useful to some people.
To try an example, click on a link below. The example opens in a new tab. Select everything and copy to the clipboard. Press back to get back to this page.
In the Developer Tools, click on the New File menu item and paste the clipboard into the editor pane on the top right.
Press the Run button to run the example. If you want, you can press the Interrupt button to stop the example before it finishes.
More examples will be added as time permits. If you would like information on programming a specific function please Contact Wildwood Soundworks.