* 'master' of https://github.com/rocketinventor/system-bus-radio:
Added comments to source code
Implemented Web Workers
Preperations for web using a worker
moved var definition
created var for window log
fixed description meta
Added a delay function and fixed time being *1000.
improved link styling
removed red outline around text box
removed more unused CSS
removed unused and unrelated CSS classes
Improved formatting
Functionality is now taken care of by Web Workers. The advantages of this is that the page will no longer freeze/lock up when the script is working.
This also means that the page status can now update in realtime. (Before, it only updated after the script finished running.) Because it possible for buttons to be clicked during operation, it is now possible to stop script mid-execution.
Song recursion should also be possible now but, has not been implemented.
* Improved formatting
* removed unused and unrelated CSS classes
* removed more unused CSS
* removed red outline around text box
* improved link styling
* Added a delay function and fixed time being *1000.
There was a bug before, that caused the window to freeze up (seemingly forever). This was due to the fact that the times in milliseconds were being treated as time in seconds. This has been fixed with a *.0001 function.
Also, a block of code for the "delay" function has been added. Delays between same notes in the included demo song have also been added.
* fixed description meta
* created var for window log
There was a bug before, that caused the window to freeze up (seemingly forever). This was due to the fact that the times in milliseconds were being treated as time in seconds. This has been fixed with a *.0001 function.
Also, a block of code for the "delay" function has been added. Delays between same notes in the included demo song have also been added.
Based on pull request #1...
The list of frequencies to be played has been moved from the JS to a textbox in the HTML.
Editing the content of the box will change what gets played.
The format also is more human human readable and consistent with the songfile from #1.
If you copy and paste the smb.song file, it should work.