rename org to strudel.cycles
This commit is contained in:
parent
ff4beaeb2c
commit
75097594b2
42 changed files with 140 additions and 140 deletions
|
|
@ -3,31 +3,31 @@ import CodeMirror, { markEvent, markParens } from './CodeMirror';
|
|||
import cx from './cx';
|
||||
import logo from './logo.svg';
|
||||
import playStatic from './static.mjs';
|
||||
import { defaultSynth } from '@strudel/tone';
|
||||
import { defaultSynth } from '@strudel.cycles/tone';
|
||||
import * as tunes from './tunes.mjs';
|
||||
import useRepl from './useRepl.mjs';
|
||||
import { useWebMidi } from './useWebMidi';
|
||||
import './App.css';
|
||||
// eval stuff start
|
||||
import { evaluate, extend } from '@strudel/eval';
|
||||
import * as strudel from '@strudel/core/strudel.mjs';
|
||||
import gist from '@strudel/core/gist.js';
|
||||
import { mini } from '@strudel/mini/mini.mjs';
|
||||
import { Tone } from '@strudel/tone';
|
||||
import * as toneHelpers from '@strudel/tone/tone.mjs';
|
||||
import * as voicingHelpers from '@strudel/tonal/voicings.mjs';
|
||||
import * as uiHelpers from '@strudel/tone/ui.mjs';
|
||||
import * as drawHelpers from '@strudel/tone/draw.mjs';
|
||||
import euclid from '@strudel/core/euclid.mjs';
|
||||
import '@strudel/tone/tone.mjs';
|
||||
import '@strudel/midi/midi.mjs';
|
||||
import '@strudel/tonal/voicings.mjs';
|
||||
import '@strudel/tonal/tonal.mjs';
|
||||
import '@strudel/xen/xen.mjs';
|
||||
import '@strudel/xen/tune.mjs';
|
||||
import '@strudel/core/euclid.mjs';
|
||||
import '@strudel/tone/pianoroll.mjs';
|
||||
import '@strudel/tone/draw.mjs';
|
||||
import { evaluate, extend } from '@strudel.cycles/eval';
|
||||
import * as strudel from '@strudel.cycles/core/strudel.mjs';
|
||||
import gist from '@strudel.cycles/core/gist.js';
|
||||
import { mini } from '@strudel.cycles/mini/mini.mjs';
|
||||
import { Tone } from '@strudel.cycles/tone';
|
||||
import * as toneHelpers from '@strudel.cycles/tone/tone.mjs';
|
||||
import * as voicingHelpers from '@strudel.cycles/tonal/voicings.mjs';
|
||||
import * as uiHelpers from '@strudel.cycles/tone/ui.mjs';
|
||||
import * as drawHelpers from '@strudel.cycles/tone/draw.mjs';
|
||||
import euclid from '@strudel.cycles/core/euclid.mjs';
|
||||
import '@strudel.cycles/tone/tone.mjs';
|
||||
import '@strudel.cycles/midi/midi.mjs';
|
||||
import '@strudel.cycles/tonal/voicings.mjs';
|
||||
import '@strudel.cycles/tonal/tonal.mjs';
|
||||
import '@strudel.cycles/xen/xen.mjs';
|
||||
import '@strudel.cycles/xen/tune.mjs';
|
||||
import '@strudel.cycles/core/euclid.mjs';
|
||||
import '@strudel.cycles/tone/pianoroll.mjs';
|
||||
import '@strudel.cycles/tone/draw.mjs';
|
||||
|
||||
extend(Tone, strudel, strudel.Pattern.prototype.bootstrap(), toneHelpers, voicingHelpers, drawHelpers, uiHelpers, {
|
||||
gist,
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import { Tone } from '@strudel/tone';
|
||||
import { State, TimeSpan } from '@strudel/core';
|
||||
import { getPlayableNoteValue } from '@strudel/core/util.mjs';
|
||||
import { evaluate } from '@strudel/eval';
|
||||
import { defaultSynth } from '@strudel/tone';
|
||||
import { Tone } from '@strudel.cycles/tone';
|
||||
import { State, TimeSpan } from '@strudel.cycles/core';
|
||||
import { getPlayableNoteValue } from '@strudel.cycles/core/util.mjs';
|
||||
import { evaluate } from '@strudel.cycles/eval';
|
||||
import { defaultSynth } from '@strudel.cycles/tone';
|
||||
|
||||
// this is a test to play back events with as less runtime code as possible..
|
||||
// the code asks for the number of seconds to prequery
|
||||
|
|
|
|||
|
|
@ -1,29 +1,29 @@
|
|||
import React, { useCallback, useMemo, useState } from 'react';
|
||||
import { Tone } from '@strudel/tone';
|
||||
import { Tone } from '@strudel.cycles/tone';
|
||||
import useRepl from '../useRepl.mjs';
|
||||
import CodeMirror, { markEvent } from '../CodeMirror';
|
||||
import cx from '../cx';
|
||||
|
||||
// eval stuff start
|
||||
import { extend } from '@strudel/eval';
|
||||
import * as strudel from '@strudel/core/strudel.mjs';
|
||||
import gist from '@strudel/core/gist.js';
|
||||
import { mini } from '@strudel/mini/mini.mjs';
|
||||
import { Tone } from '@strudel/tone';
|
||||
import * as toneHelpers from '@strudel/tone/tone.mjs';
|
||||
import * as voicingHelpers from '@strudel/tonal/voicings.mjs';
|
||||
import * as uiHelpers from '@strudel/tone/ui.mjs';
|
||||
import * as drawHelpers from '@strudel/tone/draw.mjs';
|
||||
import euclid from '@strudel/core/euclid.mjs';
|
||||
import '@strudel/tone/tone.mjs';
|
||||
import '@strudel/midi/midi.mjs';
|
||||
import '@strudel/tonal/voicings.mjs';
|
||||
import '@strudel/tonal/tonal.mjs';
|
||||
import '@strudel/xen/xen.mjs';
|
||||
import '@strudel/xen/tune.mjs';
|
||||
import '@strudel/core/euclid.mjs';
|
||||
import '@strudel/tone/pianoroll.mjs';
|
||||
import '@strudel/tone/draw.mjs';
|
||||
import { extend } from '@strudel.cycles/eval';
|
||||
import * as strudel from '@strudel.cycles/core/strudel.mjs';
|
||||
import gist from '@strudel.cycles/core/gist.js';
|
||||
import { mini } from '@strudel.cycles/mini/mini.mjs';
|
||||
import { Tone } from '@strudel.cycles/tone';
|
||||
import * as toneHelpers from '@strudel.cycles/tone/tone.mjs';
|
||||
import * as voicingHelpers from '@strudel.cycles/tonal/voicings.mjs';
|
||||
import * as uiHelpers from '@strudel.cycles/tone/ui.mjs';
|
||||
import * as drawHelpers from '@strudel.cycles/tone/draw.mjs';
|
||||
import euclid from '@strudel.cycles/core/euclid.mjs';
|
||||
import '@strudel.cycles/tone/tone.mjs';
|
||||
import '@strudel.cycles/midi/midi.mjs';
|
||||
import '@strudel.cycles/tonal/voicings.mjs';
|
||||
import '@strudel.cycles/tonal/tonal.mjs';
|
||||
import '@strudel.cycles/xen/xen.mjs';
|
||||
import '@strudel.cycles/xen/tune.mjs';
|
||||
import '@strudel.cycles/core/euclid.mjs';
|
||||
import '@strudel.cycles/tone/pianoroll.mjs';
|
||||
import '@strudel.cycles/tone/draw.mjs';
|
||||
|
||||
extend(Tone, strudel, strudel.Pattern.prototype.bootstrap(), toneHelpers, voicingHelpers, drawHelpers, uiHelpers, {
|
||||
gist,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { useEffect, useState } from 'react';
|
||||
import { Tone } from '@strudel/tone';
|
||||
import { State, TimeSpan } from '@strudel/core';
|
||||
import { Tone } from '@strudel.cycles/tone';
|
||||
import { State, TimeSpan } from '@strudel.cycles/core';
|
||||
|
||||
/* export declare interface UseCycleProps {
|
||||
onEvent: ToneEventCallback<any>;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { useCallback, useState, useMemo } from 'react';
|
||||
import { evaluate } from '@strudel/eval';
|
||||
import { getPlayableNoteValue } from '@strudel/core/util.mjs';
|
||||
import { evaluate } from '@strudel.cycles/eval';
|
||||
import { getPlayableNoteValue } from '@strudel.cycles/core/util.mjs';
|
||||
import useCycle from './useCycle.mjs';
|
||||
import usePostMessage from './usePostMessage.mjs';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { useEffect, useState } from 'react';
|
||||
import { enableWebMidi, WebMidi } from '@strudel/midi'
|
||||
import { enableWebMidi, WebMidi } from '@strudel.cycles/midi'
|
||||
|
||||
export function useWebMidi(props) {
|
||||
const { ready, connected, disconnected } = props;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue