Commit Graph

14 Commits

Author SHA1 Message Date
William Entriken
efc865ddd6 Merge branch 'master' of https://github.com/rocketinventor/system-bus-radio into rocketinventor-master
* '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
2016-11-30 21:44:10 -05:00
Elliot Gerchak
958e5d4e23 Added comments to source code 2016-11-27 05:51:16 +00:00
Elliot Gerchak
d935c28249 Implemented Web Workers
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.
2016-11-27 05:13:23 +00:00
Elliot Gerchak
b47a9eccd3 Improvements to html, css, and js (#30)
* 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
2016-11-23 23:12:26 -05:00
Elliot Gerchak
3959810fca Preperations for web using a worker 2016-11-23 13:32:33 +00:00
Elliot Gerchak
15419f5628 moved var definition 2016-11-23 13:24:37 +00:00
Elliot Gerchak
81a3f76a44 created var for window log 2016-11-22 18:23:58 +00:00
Elliot Gerchak
cb8231cd91 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.
2016-11-04 05:13:40 +00:00
Elliot Gerchak
a0637721ce New song format
Changed over the song parser and accompanying code to be inline with the new, as suggested in issue #28.
2016-10-26 22:33:22 +00:00
Elliot Gerchak
81756689ba more nitpicking
Inconsistent code spacing, as well as other things that make my code linter itch have been fixed.
2016-03-08 05:26:40 +00:00
Elliot Gerchak
e11eb7bf96 Made song editable
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.
2016-03-08 05:20:38 +00:00
Elliot Gerchak
b21a02337a syntax fixes
There were a few missing semi colons and undefined vars before which are now fixed.
2016-03-08 04:58:24 +00:00
William Entriken
1029934c07 simplify busy work 2016-03-04 18:14:10 -05:00
William Entriken
406465e207 move folder 2016-03-04 18:13:47 -05:00