The Drum Sequencer (D-SEQR) device lets you place notes on a grid to create a looping pattern. You can create a sequence consisting of up to five different notes per step, or choose from preset drum patterns.
Connect this sequencer to an audio generator device like the Patchwork Drum Sequencer and then into an speaker device to hear the results. It is the start of a device chain that results in audio output.
Device Options
Option | Values | Description |
---|---|---|
1. Enabled Switch | On, Off | When disabled, the device does not output audio data. |
2. Expand Buttons | Closed, Open | Expand the device to reveal more customization options. |
3. Note Out Cable | N/A | Connect the Note Out cable to a yellow Note In port. |
4. Auto Page | On, Off | Toggles whether output should loop through all pages or current page only. Whenever Auto-Page is turned on, the sequencer will be synced with the global timeline as if they both started at the same time. When you make changes to the Sequencer that would put them out of sync, Auto-Page will automatically turn off. Turn Auto-Page on again to restore the sync. |
5. Page Status Display | N/A | The filled circle shows which pages have content, and the green outline shows the page currently played. |
6. Page Knob | 1 - 8 | Select which page is played and displayed on the grid. Each page can contain its own pattern of notes. |
7. Note Shape Buttons | Shapes | Press a button to choose which note you want when placing notes into the grid. |
8. Note Grid | N/A | A grid of squares where each square represents a single step of the device output. Selecting a square in the grid will toggle the selected note shape in that square. Clicking and dragging over the grid places or removes multiple notes of the selected shape. The grid layout will change to reflect your Triplet Timing setting and the current time signature set on the Patchwork Music Manager. |
9. Triplet Timing Toggle | Off, On | Selects the rate of the sequencer output. When this toggle is off, the sequencer will output notes at a 1/16 note rate. When on, the sequencer will output notes in a shuffle feel at a 1/8 note triplet rate. The toggle is disabled when the time signature is not 4/4. |
10. Duplicate Page | N/A | Copies current grid contents onto the next available blank page. If no pages are blank, this button is disabled. |
11. Clear | N/A | Remove all notes from the grid on the current page. |
12. Presets Carousel | Techno, Reggaeton, Soca, Bossa Nova, Neo Soul, Big Beat, Miami Bass. Default: Random | Choose from a small selection of common beat patterns to auto-populate the sequencer grid. If you edit the grid, the Preset toggle switches to Off. |
13. Presets Toggle | Off, On | While off, the Presets Carousel can still cycled without affecting the grid. When the Preset toggle is switched back on, the selected Preset content replaces the current grid. Using the Page Knob to change to a blank page will also toggle the Preset off. |
Other Device Options
In Create mode, walk up to the device and press E to open the Customize panel. Some device options mirror the controls you can manipulate with the Patchwork tool. They are present so that you can use the event binding system to trigger changes to how those controls behave, although you can choose to change them here instead of using the knobs. The Allow Cable Access option can only be modified using the Customize panel.
Option | Values | Description |
---|---|---|
Looping Toggle | Off, On | If turned off, when the device is enabled, the sequence automatically plays from the beginning, then disables itself when complete. |
Auto-Page plays Blank Pages | Enabled, Disabled | When enabled, Auto-Page will include blank pages in the automatic sequential playing of the pages. |
Allow Cable Access | On, Off | Determines if the Patchwork Tool can access any cable input or output ports on the device. |
Enabled on Phase | None, Always, Pre-Game Only, Gameplay Only | Determines the game phases during which the device will be enabled. Pre-Game includes all phases prior to the game starting. |
Note Grid
The note grid is where you select the specific notes you want to play. On the right side, select a note from the column on the right, then target and select grid squares to toggle them On and Off.
Click and drag over the grid to place or remove multiple notes of the selected shape.
VFX Preview
The VFX preview for the Drum Sequencer shows:
-
Each of the sequencer steps
-
Which of the steps have content
-
The sequencer's progression through the steps
Direct Event Binding
Following are the direct event binding options for this device.
Functions
A function listens for an event on a device then performs an action.
-
For any function, click the option, then Select Device to access and select from the Device dropdown menu.
-
Once you've selected a device, click Select Event to bind the device to an event that will trigger the function.
-
If more than one device or event triggers a function, click the Add button to add a line and repeat these steps.
Option | Description |
---|---|
Enable When Receiving From | The device is enabled when an event occurs. |
Disable When Receiving From | The device is disabled when an event occurs. |
Events
An event tells another device when to perform a function.
-
For any event, click the option, then Select Device to access and select from the Device dropdown menu.
-
Once you've selected a device, click Select Function to bind this event to a function for that device.
-
If more than one function is triggered by the event, click the Add button to add a line and repeat these steps.
Option | Description |
---|---|
On Enabled Send Event To | When this device is enabled, an event is sent to the linked device. |
On Disabled Send Event To | When this device is disabled, an event is sent to the linked device. |
Using Drum Sequencer in Verse
You can use the code below to control a Drum Sequencer device in Verse. This code uses all features of the Drum Sequencer device API. Modify it to fit the needs of your experience.
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
# A Verse-authored creative device that can be placed in a level
drum_sequencer_example := class(creative_device):
@editable
DrumSequencer:patchwork_drum_sequencer_device = patchwork_drum_sequencer_device{}
# Runs when the device is started in a running game
OnBegin<override>()<suspends>:void=
Sleep(5.0)
DrumSequencer.Disable()
Print("Device Disabled")
Sleep(5.0)
DrumSequencer.Enable()
Print("Device Enabled")
To use this code in your UEFN experience, follow these steps.
-
Drag a drum sequencer device onto your island.
-
Create a new Verse device named drum_sequencer_example. To learn how to create a new device in Verse, see Create Your Own Device Using Verse.
-
Open Verse Explorer and double-click drum_sequencer_example.verse to open the script in Visual Studio Code.
-
Paste in the code above, compile, and drag the Verse-authored device onto your island.
-
Select your Verse device in the Outliner.
-
In the device’s Details panel, assign the object reference for the DrumSequencer to the drum sequencer device on your island. You can use the eyedropper to pick the device in the viewport, or use the dropdown and search for the device.
-
Save your project and click Launch Session.
Drum Sequencer API
See the drum_sequencer_device
API Reference for more information on using the drum sequencer device in Verse.
Patch Ideas
Try connecting the Drum Sequencer to any of these devices!