This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | d3 | |
| $ every 4 ( superimpose | |
| ( slice 2 (fast "2" "[1 2 3 4]" ) -- re-slice give variation of slight glitch | |
| . (|+| gain "0.1") -- slightly louder | |
| . ( # sound "bd*4") -- different sound from the bDrums | |
| )) | |
| $ every 2 ( superimpose | |
| ( (|+| gain "-0.2") -- slightly quieter | |
| . (0.25 <~) -- delay by 1/4 cycle | |
| . (slice 4 (fast "2" "[1 3 2 4]")) -- re-slice + rearrange | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | let spread1 = (spread ($) [jux rev, rev]) | |
| spread2 = spread ($) [density 2, rev, slow 2, striate 3, (# speed "0.8")] | |
| juxrev = jux rev | |
| revEffect = rev | |
| palindrom = palindrome | |
| fadeOut = range 1 0 $ slow 16 saw | |
| in d4 $ stack [( | |
| slow 2 | |
| $ chop 32 | |
| $ sound "piano_c" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | cps (120/60/4) | |
| -- drum patterns in do block | |
| do | |
| let drumz1 = every 4 (|> sound "drum") | |
| $ sound "[drum <dr:2>] drum *2" | |
| # gain 0.7 | |
| # orbit 0 -- routed to audiochannel 1-2 | |
| let drumz2 = sound "[drum <dr:1>] drum [drum <techno:5>] drum /2" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | setcps (120/60/4) | |
| -- drum patterns in do block | |
| do | |
| let drumz1 = every 4 (|> sound "drum") | |
| $ sound "[drum <dr:2>] drum *2" | |
| # gain 0.6 | |
| # orbit 0 | |
| let drumz2 = sound "[drum <dr:1>] drum [drum <techno:5>] drum /2" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | type AutoComplete = | |
| | 'astring' | |
| | 'bstring' | |
| | 'cstring' | |
| | (string & {}) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | const LOG_LEVEL = { | |
| DEBUG: "DEBUG", | |
| WARNING: "WARNING", | |
| ERROR: "ERROR", | |
| } as const | |
| type ObjectValues <T> = T[keyof T]; | |
| type LogLevel = ObjectValues<typeof LOG_LEVEL> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | const swr = new Map; | |
| const useSWR = (path, fetcher, cache) => { | |
| let [data, update] = useState(null); | |
| if (!swr.has(path) || swr.get(path) !== cache) { | |
| fetcher(path).then(update, () => update(new Error(path))); | |
| swr.set(path, cache); | |
| } | |
| const isError = data instanceof Error; | |
| return { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // customer | |
| import { put, call } from 'redux-saga/effects'; | |
| const fetch = (url, data) => | |
| window.fetch(url, { | |
| body: JSON.stringify(data), | |
| method: 'POST', | |
| credentials: 'same-origin', | |
| headers: { 'Content-Type': 'application/json' } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // customer | |
| import { put, call } from 'redux-saga/effects'; | |
| const fetch = (url, data) => | |
| window.fetch(url, { | |
| body: JSON.stringify(data), | |
| method: 'POST', | |
| credentials: 'same-origin', | |
| headers: { 'Content-Type': 'application/json' } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import React from 'react'; | |
| export const Appointment = ({customer: { firstName }}) => <div>{firstName}</div>; | |
| import React from 'react'; | |
| import ReactDOM from 'react-dom' | |
| import { Appointment } from '../src/Appointment'; | |
| let container; | |
| let component; | |
| const render = component => ReactDOM.render(component, container); | |
| describe("Appointment", () => { | 
NewerOlder