Skip to content

Commit

Permalink
update version, update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ddj231 committed Jan 30, 2021
1 parent 0ddeeef commit 571226f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,15 @@ start
finish
```

When saving variables, Handel now also provides expressions for **generating random numbers** and for **evaluating expressions**.

Here is an example of the syntax:

```
save somerandomdigit = randint -5 to 5
save someint = eval 5 * 5 / (1 + 1) % 6
```

OK! So far so good!

# Variable Reassignment
Expand Down Expand Up @@ -225,7 +234,8 @@ start
update mynotelist lshift 1
play mynotelist for 1b
update mynotelist rshift 2
save somenum = randint 1 to 5
update mynotelist rshift somenum
play mynotelist for 1b
finish
```
Expand Down
2 changes: 1 addition & 1 deletion dist/HandelExport.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "handel-pl",
"version": "0.7.1",
"version": "0.7.2",
"description": "",
"main": "dist/HandelExport.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/HandelExport.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { theWindow } from 'tone/build/esm/core/context/AudioContext';


export const Handel = (function () {
console.log("%c Handel v0.7.1", "background: crimson; color: #fff; padding: 2px;");
console.log("%c Handel v0.7.2", "background: crimson; color: #fff; padding: 2px;");
class FMSynth {
constructor() {
this.synth = new Tone.PolySynth({
Expand Down

0 comments on commit 571226f

Please sign in to comment.