The interface could not load. You can still read below. Retry
2 Create a Studio Project and Configure Looping and Random Playback
Before you start: Complete Chapter 1 and install Studio through Harken Hub. This chapter covers sound authoring in Studio only; you do not need a Unity project yet.
It contains four WAV files: one continuous sound, SFX_Ball_Roll_Loop, and three slightly different SFX_Ball_Pickup sounds. When you connect them to the game later, the first provides the ball's rolling sound and the other three provide pickup sounds.
Open Harken Hub, click Projects on the left, and click New Project at the upper right.
Enter RollABall_Audio in Project Name.
Click Browse to the right of Location and select the parent folder for your Harken project, for example, E:\Harken projects.
Click Create Project at the lower right of the form. In Confirm New Project, check that the Studio version matches your selection and that Template indicates an empty project without a template. Then click Create Project in the confirmation dialog.
Wait for Studio to open. If it does not open automatically, find RollABall_Audio in Hub's Projects list and click Open Project. The Harken Studio main window appears as shown below.
The Explorer at the upper left of the main window lets you find project objects. Start there to create your own sound objects.
A Layer organizes a group of audio objects. This tutorial keeps the four sounds and the container in a single Gameplay Layer so they are easy to find and manage.
In the Explorer at the upper left, find Assets → Layer, right-click Layer, and choose Create → Layer.
Name the new Layer Gameplay and press Enter. To rename an object later, select it and press F2, or right-click it and choose Rename.
In File Explorer, select the four audio files you extracted and drag them together onto Gameplay in the Explorer.
Confirm that four Sound objects appear under Gameplay, with names matching the files. A Sound is a project object that stores an audio source reference and playback settings such as Loop and Volume; it is not the WAV file in File Explorer itself.
An asterisk and italic text beside an object name indicate unsaved changes. You will save after setting up the looping sound and naming the container.
In Explorer → Assets → Layer → Gameplay, double-click SFX_Ball_Roll_Loop and find the Inspector on the right of the window that opens.
Find Loop under Inspector → Basic → Playback. The 1 option on the left is currently selected, meaning the sound plays once each time it is triggered.
Click Infinite to the right of Loop so the sound loops continuously after playback starts.
In the Explorer, click to select SFX_Ball_Roll_Loop, then click the green triangular Play button at the top of Studio.
You can also select SFX_Ball_Roll_Loop in the Explorer and press Space to play it, without clicking the Play button at the top.
After confirming that the sound loops continuously, click the red square Stop button at the top or press Space again to stop this audition before continuing. This Stop button controls audition playback.
A Container controls how its children play. In this section, you place three Sounds in one container and use Random (random selection) with Single (one child per trigger) so that each trigger plays one randomly selected sound, rather than all three at once.
Return to Explorer → Assets → Layer → Gameplay on the left of the main window. Click SFX_Ball_Pickup_01, then hold Ctrl and click SFX_Ball_Pickup_02 and SFX_Ball_Pickup_03 to select all three Sounds.
Right-click and choose New Parent → Container.
Name the new container SFX_Ball_Pickup and press Enter. Expand it and confirm that all three Sounds are inside.
After renaming it, press Ctrl+S to save the project.
Select the SFX_Ball_Pickup container. Under Inspector → Basic → Selection on the right, leave Mode at its default, Random (randomly select a child), and Play Type at Single (select one child Sound per trigger). Under Basic → Playback, leave Loop at its default of 1 (do not repeat this playback). You do not need to change these settings.
Return to the Explorer, select the SFX_Ball_Pickup container, and press Space to audition it. Only one sound should play, then stop when it finishes. Wait for it to finish before pressing Space again, and repeat a few times. Random selection can play the same sound consecutively; it does not guarantee that the three sounds take turns. Hearing the same sample twice in a row does not mean the configuration is wrong.
While auditioning, you can see which Sound is playing in Blueprint. Blueprint is open by default; if you cannot find it, choose View → Blueprint at the top of the main window.
The Sound currently playing has a green highlighted border in the Blueprint view.
Finally, press Ctrl+S, or choose File → Save Project at the top of the main window, to save the project.
Chapter check: Gameplay contains a Sound with Loop=Infinite and a Random container holding three Sounds. Each random audition plays only one sound. Playback is stopped and the project is saved. Continue to Chapter 3: Create Actions and Control Volume with a Variable.