add chaining page
This commit is contained in:
@ -116,9 +116,11 @@
|
||||
<p rel="noopener noreferrer" id="docs_sound" class="pl-2 pr-2 lg:text-xl text-sm hover:bg-neutral-800 py-1 my-1 rounded-lg">Sound</p>
|
||||
<p rel="noopener noreferrer" id="docs_samples" class="pl-2 pr-2 lg:text-xl text-sm hover:bg-neutral-800 py-1 my-1 rounded-lg">Samples</p>
|
||||
<p rel="noopener noreferrer" id="docs_synths" class="pl-2 pr-2 lg:text-xl text-sm hover:bg-neutral-800 py-1 my-1 rounded-lg">Synths</p>
|
||||
<p rel="noopener noreferrer" id="docs_midi" class="pl-2 pr-2 lg:text-xl text-sm hover:bg-neutral-800 py-1 my-1 rounded-lg">MIDI</p>
|
||||
<p rel="noopener noreferrer" id="docs_chaining" class="pl-2 pr-2 lg:text-xl text-sm hover:bg-neutral-800 py-1 my-1 rounded-lg">Chaining</p>
|
||||
|
||||
<p rel="noopener noreferrer" id="docs_patterns" class="pl-2 pr-2 lg:text-xl text-sm hover:bg-neutral-800 py-1 my-1 rounded-lg">Patterns</p>
|
||||
<p rel="noopener noreferrer" id="docs_ziffers" class="pl-2 pr-2 lg:text-xl text-sm hover:bg-neutral-800 py-1 my-1 rounded-lg">Ziffers</p>
|
||||
<p rel="noopener noreferrer" id="docs_midi" class="pl-2 pr-2 lg:text-xl text-sm hover:bg-neutral-800 py-1 my-1 rounded-lg">MIDI</p>
|
||||
<p rel="noopener noreferrer" id="docs_functions" class="pl-2 pr-2 lg:text-xl text-sm hover:bg-neutral-800 py-1 my-1 rounded-lg">Functions</p>
|
||||
<p rel="noopener noreferrer" id="docs_shortcuts" class="pl-2 pr-2 lg:text-xl text-sm hover:bg-neutral-800 py-1 my-1 rounded-lg">Shortcuts</p>
|
||||
<p rel="noopener noreferrer" id="docs_reference" class="pl-2 pr-2 lg:text-xl text-sm hover:bg-neutral-800 py-1 my-1 rounded-lg">Reference</p>
|
||||
|
||||
@ -1278,7 +1278,8 @@ Ziffers patterns can be chained to <icode>sound()</icode> and <icode>midi()</ico
|
||||
${makeExample(
|
||||
"Simple method chaining",
|
||||
`
|
||||
z1('0 1 2 3').key('G3').scale('minor').sound('sine').out()
|
||||
z1('0 1 2 3').key('G3')
|
||||
.scale('minor').sound('sine').out()
|
||||
`,
|
||||
true
|
||||
)}
|
||||
@ -1729,6 +1730,11 @@ Topos is made to be controlled entirely with a keyboard. It is recommanded to st
|
||||
| Shortcut | Key | Description |
|
||||
|----------|-------|------------------------------------------------------------|
|
||||
|Vim Mode|${key_shortcut("Ctrl + V")}| Switch between Vim and Normal Mode|
|
||||
`;
|
||||
|
||||
const chaining: string = `
|
||||
# Chaining
|
||||
|
||||
`;
|
||||
|
||||
return {
|
||||
@ -1739,6 +1745,7 @@ Topos is made to be controlled entirely with a keyboard. It is recommanded to st
|
||||
sound: sound,
|
||||
samples: samples,
|
||||
synths: synths,
|
||||
chaining: chaining,
|
||||
patterns: patterns,
|
||||
ziffers: ziffers,
|
||||
midi: midi,
|
||||
|
||||
@ -448,6 +448,7 @@ export class Editor {
|
||||
this.buffer_search.value = "";
|
||||
this.closeBuffersModal();
|
||||
this.view.focus();
|
||||
this.emptyUrl();
|
||||
}
|
||||
});
|
||||
|
||||
@ -571,6 +572,7 @@ export class Editor {
|
||||
"sound",
|
||||
"samples",
|
||||
"synths",
|
||||
"chaining",
|
||||
"patterns",
|
||||
"ziffers",
|
||||
"midi",
|
||||
@ -640,7 +642,7 @@ export class Editor {
|
||||
dictionaries: [colors, animals],
|
||||
});
|
||||
this.loadUniverse(randomName, new_universe["universe"]);
|
||||
this.emptyUrl();
|
||||
this.emptyUrl(); this.emptyUrl();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user