Updates:
Add prebuilt binary for 0.15.4
I changed ghc to be installed with ghcup and ghc version to 9.2.3 to match PS 0.15.3 added the RELEASE flag.
import json | |
import sys | |
def usage(): | |
print("python copy_layer.py <source layout JSON file> <destination layout JSON file> <copy from layer index> <copy to layer index>") | |
sys.exit(1) | |
if len(sys.argv) != 5: | |
usage() |
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
""" | |
USAGE: | |
morphagene_ableton.py -w <inputwavfile> -l <inputlabels> -o <outputfile>' | |
Instructions in Ableton: | |
Insert locators as splice markers in your project (Create > Add Locator) | |
Export Audio/Video with | |
Sample Rate: 48000 Hz |
module Modern_FP_With_MTL where | |
import Effect.Console as Console | |
import Effect (Effect) | |
import Effect.Class (class MonadEffect, liftEffect) | |
import Control.Monad.Trans.Class (class MonadTrans, lift) | |
import Prelude | |
{- | |
Since Purescript does not have Haskell's "GeneralizedNewtypeDeriving" language |
Before we begin, the type search in Pursuit is a great way to search for the functions you need.
Reset your tooling by deleting the bower_components/
, .psci_modules/
, .pulp-cache/
, .psc-package/
and output/
folders. Then run psc-package build --only-dependencies
.
Using sed or your other favourite global replace tool to search and replace all occurences in the list
import Signal | |
import Graphics.Element exposing (..) | |
import Graphics.Input exposing (button) | |
import Graphics.Collage exposing (collage, toForm) | |
import List exposing (..) | |
import Color | |
import Text | |
import Random | |
import Random.Array | |
import Window |
{ | |
"graph": [], | |
"links": [ | |
{"source": 0, "target": 1}, | |
{"source": 0, "target": 2}, | |
{"source": 0, "target": 3}, | |
{"source": 0, "target": 4}, | |
{"source": 0, "target": 5}, | |
{"source": 0, "target": 6}, | |
{"source": 1, "target": 3}, |
/** | |
* This file/module contains all configuration for the build process. | |
*/ | |
/** | |
* Load requires and directory resources | |
*/ | |
var join = require('path').join, | |
bowerrc = JSON.parse(require('fs').readFileSync('./.bowerrc', {encoding: 'utf8'})), | |
bowerJSON = bowerrc.json.replace(/^\.?\/?/, './'), |
//<editor-fold desc="Node Requires, gulp, etc"> | |
var gulp = require('gulp'), | |
autoprefixer = require('gulp-autoprefixer'), | |
clean = require('gulp-clean'), | |
concat = require('gulp-concat'), | |
csso = require('gulp-csso'), | |
debug = require('gulp-debug'), | |
footer = require('gulp-footer'), | |
gutil = require('gulp-util'), | |
gzip = require('gulp-gzip'), |