From a6581c55ba134b3c9547968315c8915ae52fe016 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 22 Apr 2017 00:43:57 -0400 Subject: microtonal sampler --- client/lib/util.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 client/lib/util.js (limited to 'client/lib/util.js') diff --git a/client/lib/util.js b/client/lib/util.js new file mode 100644 index 0000000..b2d95f5 --- /dev/null +++ b/client/lib/util.js @@ -0,0 +1,3 @@ +function choice (a){ return a[ Math.floor(Math.random() * a.length) ] } + +export { choice } \ No newline at end of file -- cgit v1.2.3-70-g09d2