Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-Drama3 > Load Drama 3 Codes

ComfyUI Node: Load Drama 3 Codes

Class Name

Drama3LoadCodes

Category
audio/drama3
Author
PedroMarinhoDev (Account age: 50days)
Extension
ComfyUI-Drama3
Latest Updated
2026-11-12
Github Stars
0.17K

How to Install ComfyUI-Drama3

Install this extension via the ComfyUI Manager by searching for ComfyUI-Drama3
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Drama3 in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Load Drama 3 Codes Description

Loads saved Drama 3 audio codes and take metadata for later decoding and editing.

Load Drama 3 Codes:

Load Drama 3 Codes restores a previously saved Drama 3 take so you can return to your audio work without generating the performance again. It reads the saved audio codes—the compact numerical representation of the generated sound—together with the associated line and take information needed for decoding or editing. This makes it useful for archiving performances, comparing saved versions, and continuing a project in a later session. The node is designed to work with files created by Save Drama 3 Codes in the output/drama3_codes folder. It reloads an existing performance rather than creating new speech or directly playing audio, helping you separate generation from later decoding and editing tasks.

Load Drama 3 Codes Input Parameters:

codes

A required COMBO selection identifying the saved Drama 3 codes file to load. Its options come from the files registered under ComfyUI’s drama3_codes folder category; the companion Save Drama 3 Codes node saves to output/drama3_codes, including any subfolders specified when saving. Selecting a different file restores that file’s stored performance and associated line and take information. Files saved by the companion node use the .safetensors extension and contain both the audio codes and the metadata needed to interpret them; an arbitrary audio file or unrelated tensor file is not a suitable substitute. The source does not specify an explicit default selection. Options depend on the files available in your installation, and numerical minimum and maximum values do not apply.

Load Drama 3 Codes Output Parameters:

DRAMA3_CODES

A structured Drama 3 codes object that you can connect to compatible nodes such as Drama 3 Decode or the Drama 3 Editor. It contains three components: codes, the loaded numerical audio representation converted to long-integer format; lines, the restored line information; and takes, the restored take information. The line and take components are read from JSON metadata stored alongside the code tensor. Together, these components preserve the saved representation used by downstream Drama 3 processing. This output is not a playable audio waveform: connect it to Drama 3 Decode, together with a compatible codec, to obtain audio.

Load Drama 3 Codes Usage Tips:

  • Save performances you want to revisit with Save Drama 3 Codes before relying on this loader. The companion node writes the code tensor and the required line and take metadata together, avoiding incomplete files.
  • Use descriptive names and subfolders when saving, such as dialogue/scene_01_take, so you can identify the correct performance in the codes dropdown. Save Drama 3 Codes adds a counter to its filenames to distinguish saved versions.
  • For an audio playback workflow, connect DRAMA3_CODES to the codes input of Drama 3 Decode and connect Load Drama 3 Codec to that decoder’s codec input. Loading saved codes does not require running Drama 3 generation again.
  • To preserve the generated pauses during decoding, turn off shorten_long_pauses on Drama 3 Decode. With that downstream setting enabled, the decoder shortens pauses longer than 0.75 seconds, removes silence before the first sound, and keeps 0.15 seconds after the last sound. This setting belongs to the decoder, not to Load Drama 3 Codes.
  • If a newly saved file is not visible, check that it exists in output/drama3_codes or an appropriate subfolder, then refresh the ComfyUI interface or reload the workflow to update the available choices.
  • Keep the complete saved file when moving or archiving a take. The codes alone are insufficient for this loader because it also requires the saved lines and takes metadata.

Load Drama 3 Codes Common Errors and Solutions:

“[selected filename] is not a Drama 3 codes file”

  • Explanation: This is the node’s explicit validation error. It occurs when the loaded file has no metadata, is missing the lines or takes metadata entry, or does not contain a tensor named codes. A file can have a .safetensors extension without containing the required Drama 3 data.
  • Solution: Choose a file created by Save Drama 3 Codes. If you still have the original generated take in a workflow, save it again with that node. Renaming an unrelated file will not supply the missing information.

Selected file cannot be found

  • Explanation: The node resolves your selection through ComfyUI’s registered drama3_codes paths. If the file was moved, renamed, or deleted after the selection was made, loading can fail before the contents are checked. The exact error text comes from ComfyUI’s file-path handling.
  • Solution: Confirm that the file still exists in the expected codes folder, restore it if necessary, refresh the available choices, and select the file again.

File-loading error or invalid file header

  • Explanation: The file-loading utility may fail if the selected file is damaged, incomplete, unreadable, or not in a supported tensor-file format. The exact message depends on the underlying loader and the problem encountered.
  • Solution: Try another known working file saved by Save Drama 3 Codes. If the affected file was copied from another location, copy it again from the original. If possible, recreate it using Save Drama 3 Codes rather than editing or converting it manually.

JSONDecodeError while reading line or take metadata

  • Explanation: The node interprets the saved lines and takes metadata as JSON. If either entry contains malformed text, loading fails even though the required metadata names are present. This can happen with manually modified or incorrectly produced files.
  • Solution: Restore an unmodified copy or save the original take again with Save Drama 3 Codes. Avoid manually changing the metadata unless you understand the expected format.

PermissionError or permission denied

  • Explanation: Your ComfyUI process may not have permission to read the selected file or access its folder. This is a file-access problem rather than a problem with the generated performance.
  • Solution: Make sure the account running ComfyUI can read the file and access its containing folders. If necessary, place a readable copy in the configured codes folder and select that copy.

Load Drama 3 Codes Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Drama3
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Load Drama 3 Codes