Skip to content

Commit

Permalink
improve: feedback-based introduction tour changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ascpixi committed Dec 17, 2024
1 parent d5be9aa commit 3460fcc
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions src/components/IntroductionTour.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ const STEPS: TourStepFactory[] = [
(() => ({
content: <>
Welcome to Vestige, an interactive generative music synthesizer! With Vestige,
you can create autonomous music compositions from basic building blocks. Let's
get started!
you can create autonomous music compositions by connecting basic building blocks.
Let's get started!
</>
})),

Expand All @@ -59,7 +59,7 @@ const STEPS: TourStepFactory[] = [
initialPos = data.flowState.getViewport();
},
continueWhen(data) {
return distanceSqr(initialPos, data.viewport) > sqr(400);
return distanceSqr(initialPos, data.viewport) > sqr(300);
},
}
}),
Expand All @@ -76,9 +76,10 @@ const STEPS: TourStepFactory[] = [

(() => ({
content: <>
This node is a <b>note generator</b> node. Think of it as a keyboard.
This is a <b>note generator</b> node. Think of it as a keyboard.
You can move it around - try it! We now have to feed the nodes to an
instrument - try creating a <b>synth</b> node.
instrument. Just like you did with the <b>melody (pentatonic)</b> node,
now try creating a <b>synth</b> node by right-clicking.
</>,
continueWhen(data) {
return data.nodes.some(x => x.type == "synth")
Expand All @@ -89,8 +90,9 @@ const STEPS: TourStepFactory[] = [
content: <>
Nice! Now, connect the <b>main output</b> of the <b>melody (pentatonic)</b> node
with the <b>main input</b> of the <b>synth</b> node. You can do this by
clicking on the green circle of the melody node, and dragging it to the
green circle of the synth one.
clicking on the <b className="text-green-600">green circle</b> of the melody node,
and dragging it to the <b className="text-green-600">green circle</b> of
the synth one.
</>,
continueWhen(data) {
return data.edges.some(x => {
Expand All @@ -104,9 +106,9 @@ const STEPS: TourStepFactory[] = [

(() => ({
content: <>
Great! We don't hear anything yet - connect the <b>main output</b> of
the <b>synth</b> to the <b>final output</b> node. Anything that comes
inside this node will be played through your speakers.
Great! We don't hear anything yet - connect the <span className="text-blue-600">blue</span> <b>main output</b> of
the <b>synth</b> to the <span className="text-blue-600">blue</span> <b>main input</b> of the <b>final output</b> node.
Anything that comes inside this node will be played through your speakers.
</>,
continueWhen(data) {
return data.edges.some(x => {
Expand All @@ -118,6 +120,13 @@ const STEPS: TourStepFactory[] = [
}
})),

(() => ({
content: <>
Adjust your volume in the <b>final output</b> node to your liking, and
then click <b>Next</b> to continue.
</>
})),

(() => ({
content: <>
You've successfully created your first Vestige composition! It's quite
Expand Down

0 comments on commit 3460fcc

Please sign in to comment.