llama-cpp-d ~master (2026-03-20T18:06:26.5280947)
Dub
Repo
MtmdBitmap.fromAudio
llama
mtmd
MtmdBitmap
Create from float PCM audio samples (mono, any sample rate).
struct
MtmdBitmap
static @
trusted
@
nogc
nothrow
MtmdBitmap
fromAudio
(
scope
const
(
float
)[]
samples
)
Meta
Source
See Implementation
llama
mtmd
MtmdBitmap
functions
id
setId
mixins
__anonymous
properties
data
isAudio
nx
ny
static functions
fromAudio
fromRGB
Create from float PCM audio samples (mono, any sample rate).