diff --git a/src/API.ts b/src/API.ts index 55384f7..c29b6bb 100644 --- a/src/API.ts +++ b/src/API.ts @@ -57,6 +57,9 @@ export async function loadSamples() { samples("github:Bubobubobubobubo/Dough-Amiga/main", undefined, { tag: "Amiga", }), + samples("github:Bubobubobubobubo/Dough-Juj/main", undefined, { + tag: "Juliette", + }), samples("github:Bubobubobubobubo/Dough-Amen/main", undefined, { tag: "Amen", }), @@ -1294,7 +1297,7 @@ export class UserAPI { const results: boolean[] = nArray.map( (value) => (this.app.clock.pulses_since_origin - Math.floor(nudge * this.ppqn())) % - Math.floor(value * this.ppqn()) === + Math.floor(value * this.ppqn()) === 0 ); return results.some((value) => value === true); @@ -1314,7 +1317,7 @@ export class UserAPI { const results: boolean[] = nArray.map( (value) => (this.app.clock.pulses_since_origin - nudgeInPulses) % - Math.floor(value * barLength) === + Math.floor(value * barLength) === 0 ); return results.some((value) => value === true); @@ -1914,7 +1917,7 @@ export class UserAPI { // ============================================================= register = (name: string, operation: EventOperation): void => { - AbstractEvent.prototype[name] = function ( + AbstractEvent.prototype[name] = function( this: AbstractEvent, ...args: any[] ) { diff --git a/src/documentation/samples/sample_list.ts b/src/documentation/samples/sample_list.ts index 4137f9d..49b1c85 100644 --- a/src/documentation/samples/sample_list.ts +++ b/src/documentation/samples/sample_list.ts @@ -65,12 +65,12 @@ On this page, you will find an exhaustive list of all the samples currently load A very large collection of wavetables for wavetable synthesis. This collection has been released by Kristoffer Ekstrand: [AKWF Waveforms](https://www.adventurekid.se/akrt/waveforms/adventure-kid-waveforms/). Every sound sample that starts with wt_ will be looped. Look at this demo: ${makeExample( - "Wavetable synthesis made easy :)", - ` + "Wavetable synthesis made easy :)", + ` beat(0.5)::sound('wt_stereo').n([0, 1].pick()).ad(0, .25).out() `, - true, -)} + true, + )} Pick one folder and spend some time exploring it. There is a lot of different waveforms. @@ -84,12 +84,12 @@ ${samples_to_markdown(application, "Waveforms")} A set of 72 classic drum machines created by **Geikha**: [Geikha Drum Machines](https://github.com/geikha/tidal-drum-machines). To use them efficiently, it is best to use the .bank() parameter like so: ${makeExample( - "Using a classic drum machine", - ` + "Using a classic drum machine", + ` beat(0.5)::sound(['bd', 'cp'].pick()).bank("AkaiLinn").out() `, - true, -)} + true, + )} Here is the complete list of available machines: @@ -119,12 +119,12 @@ ${samples_to_markdown(application, "Amiga")} A collection of many different amen breaks. Use .stretch() to play with these: ${makeExample( - "Stretching an amen break", - ` + "Stretching an amen break", + ` beat(4)::sound('amen1').stretch(4).out() `, - true, -)} + true, + )} The stretch should be adapted based on the length of each amen break. @@ -140,5 +140,13 @@ Many live coders are expecting to find the Tidal sample library wherever they go
${samples_to_markdown(application, "Tidal")}
+ +## Juliette's voice + +This sample pack is only one folder full of french phonems! It sounds super nice. + +
+${samples_to_markdown(application, "Juliette")} +
`; };