better FM

This commit is contained in:
2023-08-21 15:34:29 +02:00
parent bc0b3f8b91
commit 4d6937b933
3 changed files with 25 additions and 1 deletions

View File

@ -2,6 +2,8 @@ const key_shortcut = (shortcut: string): string => {
return `<kbd class="lg:px-2 lg:py-1.5 px-1 py-1 lg:text-sm text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500">${shortcut}</kbd>`;
};
const injectAvailableSamples = (): string => {};
const introduction: string = `
# Welcome
@ -317,6 +319,15 @@ No sound will play until you add <icode>.out()</icode> at the end of the chain.
| <icode>out()</icode> | Returns an object processed by the <icode>superdough</icode> function, using the current values in the <icode>values</icode> object and the <icode>pulse_duration</icode> from the <icode>app.clock</icode>. |
`;
const samples: string = `
# Audio Samples
## Available audio samples
${injectAvailableSamples()}
`;
const about: string = `
# About Topos