DpdoEngine — PCM2DSD Converter (PCM to DSD)

Overview

Other names for this job, all of which people actually search for: PCM2DSD, PCM to DSD conversion, PCM to DSD converter software, DSD encoding, DSD upsampling. They mean the same thing here — one engine, one parameter set.

DpdoEngine converts PCM audio (WAV / FLAC / AIFF / ALAC) to DSD (DSF / DFF / DST / WSD). The whole conversion runs in 64-bit double precision; noise shaping defaults to SOS-EF order 11 IIR (−137.8 dBFS in-band at −6 dBFS drive); classic IIR orders 3/5/7/9, SOS-EF 3–11 or the 15th-order profile, and CIFB 4–11 are selectable, as is a 4096-tap FIR; upsampling ranges from 64× to 4096× (64× by default, i.e. DSD64). DST output is lossless and typically 30–50% smaller.

What PCM2DSD means

PCM2DSD is the conversion of PCM audio (a sequence of samples) into DSD — a 1-bit direct bit stream at MHz rates (DSD64 = 2.8224 MHz). It is not a container swap: the signal has to be upsampled by 64×–4096× and the quantization noise pushed above the audible band, and those two steps decide whether the result sounds right.

DpdoEngine is that tool for Windows / Linux / macOS: PCM input (WAV / FLAC / AIFF / ALAC) to DSD (DSF / DFF / DST / WSD), 64-bit double precision throughout, noise shaping defaults to SOS-EF order 11 (auto-designed 3–11 and a 15th-order profile are available), or a 4096-tap FIR. If you are unsure which parameters to pick, read the complete PCM to DSD guide.

Specs at a Glance

SpecValue
Input formatsWAV / FLAC / AIFF / ALAC and other PCM
Output formatsDSF / DFF / DST / WSD
Precision64-bit double-precision floating point
Noise shapingSOS-EF order 11 by default (−137.8 dBFS in-band at −6 dBFS); SOS-EF 3–11 / order-15 profile, classic IIR 3/5/7/9, CIFB 4–11; FIR (4096 taps default)
Oversampling64x–4096x (64x / DSD64 default)
CompressionNative DST lossless (30–50% size reduction)
GPU accelerationOpenCL 1.2+
PlatformsWindows / Linux / macOS
Current version6.77.0

Basic Usage

DpdoEngine -i INFILE OUTFILE [OPTIONS]
	

Required arguments: - -i INFILE — input PCM file (FLAC / WAV / AIFF, etc.) - OUTFILE — output file path (format auto-detected from extension: .dsf / .dff / .dst / .wsd)

Examples:

# Basic conversion: WAV → DSF, 64x oversampling
	DpdoEngine -i input.wav output.dsf --oversampling 64
	
	# FLAC → DFF, SOS-EF 11th-order noise shaping
	DpdoEngine -i input.flac output.dff --oversampling 128 --sos-ef 11
	
	# Full parameters: OpenCL acceleration + metadata + report
	DpdoEngine -i input.flac output.dsf --oversampling 256 --order 7 --opencl --report --artist "Dpdo" --album "Demo"
	
	# WAV → WSD (Korg format), DSD64
	DpdoEngine -i input.wav output.wsd --oversampling 64
	

Oversampling

Controlled by --oversampling or --oversampling:

ValueFormatTypical Bandwidth
64DSD64~30 kHz
128DSD128~60 kHz
256DSD256~120 kHz
512DSD512~240 kHz
1024DSD1024~480 kHz
2048DSD2048Very high bandwidth
4096DSD4096Extreme spec

Higher oversampling gives wider frequency response and lower in-band noise, with linearly increasing compute requirements.


Noise Shaping Options

IIR Noise Shaping

--order sets the classic IIR noise shaper order: 3, 5, 7, 9 (9 by default). With no modulator flag at all the engine runs SOS-EF order 11; for auto-designed orders up to 11 or the 15th-order profile use --sos-ef (odd 3–11, or 15).

# 15th-order profile (only for material peaking below −20 dBFS)
	DpdoEngine -i input.wav output.dsf --oversampling 256 --sos-ef 15
	

Higher-order IIR provides a steeper noise-shaping curve and a larger in-band dynamic range, but demands more numerical stability. The 15th-order profile is DpdoEngine's top spec: −167 dBFS in-band at nominal level, but it collapses to −33.8 dBFS at −6 dBFS drive (104 dB worse than order 11) — which is why it is not the default and has to be enabled explicitly with --sos-ef 15, only when peaks are guaranteed below −20 dBFS.

Sub-options: - --pole 8.5 — pole placement, affects the noise transfer function shape - --zero — zero placement, further optimizes out-of-band noise distribution - --mash — MASH structure noise shaping (multi-stage noise shaping) - --cifb — CIFB (Chain of Integrators with FeedBack) structure - --poly — polynomial noise shaper

FIR Filters

`` enables FIR filter mode:

# Kaiser-windowed FIR with auto-computed optimal taps
	DpdoEngine -i input.wav output.dsf --oversampling 64 
	
	# Specify taps and window type
	DpdoEngine -i input.wav output.dsf --oversampling 64  --taps 4096 --window-type kaiser
	

FIR options: - --taps <N> — number of taps (auto-computed by default, 4096 recommended minimum) - --beta <V> / --beta <V> — Kaiser window parameter - --window-type <type> — window type: kaiser, blackman, flattop, bartlett, hamming, hanning, remez


GPU Acceleration

DpdoEngine -i input.wav output.dsf --oversampling 256 --opencl
	

--opencl enables OpenCL GPU acceleration for high-ratio upsampling (OSR ≥ 256) and large batch conversions. Requires a GPU with OpenCL 1.2+ support. GPU acceleration covers the polyphase FIR upsampling stage only; noise shaping, quantization and DST encoding still run on the CPU. FP64 throughput varies widely across GPUs — on entry-level or mobile GPUs it can be slower than pure CPU.


Advanced Signal Processing

Mastering Presets

--mastering-preset loads a one-click DSP chain tuned for a music genre:

DpdoEngine -i input.wav output.dsf --oversampling 256 --mastering-preset classical
	DpdoEngine -i input.wav output.dsf --oversampling 256 --mastering-preset pop
	DpdoEngine -i input.wav output.dsf --oversampling 256 --mastering-preset jazz
	

Equalizer

Multi-band parametric EQ applied to the PCM signal before conversion:

DpdoEngine -i input.wav output.dsf --oversampling 128 --equalizer "80:0.5:3,1000:1.0:1,8000:-0.5:2"
	

Format: <frequency(Hz)>:<gain(dB)>:<Q>, bands separated by commas.

Harmonic Saturation

Adds controlled even/odd harmonics during conversion:

# Soft-clipping saturation
	DpdoEngine -i input.wav output.dsf --oversampling 128 --harmonics tanh,0.5
	
	# Tape-emulation saturation
	DpdoEngine -i input.wav output.dsf --oversampling 128 --harmonics tape,0.3
	

Supported types: tanh, poly, softclip, fullwave, tape.

Psychoacoustic Noise Shaping

--psy uses auditory masking to optimize the noise-shaping curve, distributing quantization noise into less sensitive frequency regions — good subjective sound even at lower oversampling rates.

Dynamic Range Processing

--lufs -16        # loudness normalize to -16 LUFS
	--rg              # ReplayGain normalization
	--lal             # look-ahead limiter to prevent clipping
	--apo             # anti-clipping filter
	--adaptive        # adaptive parameter adjustment
	

Metadata Support

Embed metadata into the output file during conversion:

DpdoEngine -i input.flac output.dsf --oversampling 64 \
	  --artist "Artist Name" \
	  --title "Track Title" \
	  --album "Album Name" \
	  --genre "Classical" \
	  --year 2024
	

Reverse Conversion (DSD → PCM)

DpdoEngine can also convert DSD back to PCM:

DpdoEngine -i input.dsf output.wav --reverse
	

The same 64-bit double-precision DSP engine is used in both directions, ensuring the same high precision in reverse conversion.


Analysis Reports

# Generate a PDF analysis report
	DpdoEngine -i input.wav output.dsf --oversampling 64 -pdfrp
	
	# Spectrogram generation
	DpdoEngine -i input.wav output.dsf --oversampling 64 --spectrogram
	
	# Noise analysis
	DpdoEngine -i input.wav output.dsf --oversampling 64 --noise-profiling
	

-pdfrp produces a comprehensive PDF report with conversion parameters, frequency response curves, noise-shaping characteristics and spectral analysis.


Output Formats

ExtensionFormatDescription
.dsfDSFDSD Stream File, the most common DSD format
.dffDFFDSD Interchange File Format, broadcast standard
.dstDSTDirect Stream Transfer, DSD with lossless compression
.wsdWSDKorg Wideband Single-bit Data, Korg recorder / AudioGate ecosystem format

More Documentation

DSD recording

DSD recording is supported: capture in real time from an ADC straight to DSD (DSF), or convert existing PCM material in batch — see “Batch conversion & recording”.

GUI edition

DpdoAudioTools GUI

Above: the audio toolkit GUI (DpdoAudioTools) — conversion options, DSD rate, modulator, DST compression, OpenCL. The CLI edition is DpdoEngine.

Frequently asked (PCM2DSD)

What does PCM2DSD mean? It is the conversion of PCM audio (samples quantized at a fixed rate) into a DSD bit stream. DSD is 1 bit at a very high rate (DSD64 = 2.8224 MHz), with quantization noise shaped above the audible band.

Does PCM to DSD conversion change the sound? Yes, but not automatically for the better: the conversion is a lossy reconstruction (one more quantization and filtering step) and the result depends on upsampling quality, noise-shaping order and dither. Done right, in-band distortion and noise sit below the source noise floor; done wrong, you get raised in-band noise and a modulated top end.

Do I need to upsample before converting to DSD? Yes, and the tool does it: the ratio has to be an integer multiple, which DpdoEngine derives from the source (64×–4096×). You do not pre-upsample by hand.

DSD64 or DSD128? It depends on the delivery medium and playback chain: DSD64 has the widest compatibility, DSD128 pushes the noise corner further out at twice the file size. See DSD64 vs DSD128 vs DSD256.