Speaking style
Sarcasm detection from voice
“Great, thanks.” Sincere or biting? In text they are identical; in audio they rarely are. This page explains what acoustic models can honestly detect about sarcasm — the delivery, not the intent — and how to score it through an API.
The honest framing: delivery, not intent
Sarcasm is ultimately a claim about what a speaker meant, and no model can verify intent from sound alone. What audio does carry is the performance of sarcasm: speakers mark it acoustically so listeners catch it. oruk scores that marking as a calibrated sarcastic speaking-style label — one of 16 — and states the limit plainly in its capabilities and scope: no intent detection, ever. Treat a high sarcastic score as “this sounded sarcastic,” a strong prior for a human reviewer, not a verdict.
The acoustic cues
- Exaggerated prosody
- Sarcasm often over-performs: stretched vowels, sing-song contours, theatrical stress ("Oh, greeeat").
- Flattened delivery
- The opposite pattern also signals it: deliberately affectless, deadpan phrasing where enthusiasm would be expected.
- Tone–word mismatch
- Positive words carried by negative or flat prosody. The contradiction between channels is the cue humans use most.
- Timing
- Delayed onsets, drawn-out syllables, and pointed pauses that frame the utterance as performance.
Scoring sarcastic delivery via API
One request against a prerecorded English audio file returns all 16 style scores; labels crossing their held-out-calibrated threshold are selected.
curl https://speech-api.oruk.ai/v1/audio/styles \
-H "Authorization: Bearer $ORUK_API_KEY" \
-F file=@clip.wav -F model=oruk-spectra-1{
"object": "audio.styles",
"model": "oruk-spectra-1",
"styles": [
{ "label": "sarcastic", "score": 0.81 },
{ "label": "deadpan", "score": 0.64 }
],
"usage": { "audio_seconds": 6.2, "billable_seconds": 7 }
}Pair with /v1/audio/analysis to get the transcript and emotion labels in the same response — useful for surfacing tone–word mismatches, where positive words meet a sarcastic or deadpan delivery.
Where teams use it
- QA review queues: flag calls where “satisfied” words carried sarcastic delivery, so sentiment dashboards stop counting them as wins.
- Research coding: pre-annotate interview audio with style labels for human coders to confirm, instead of listening to everything.
- Agent evaluation: measure whether voice-agent conversations end with sincere versus sarcastic acknowledgments.
In every case the label routes attention; a person makes the judgment. See responsible use.
FAQ
- Can AI detect sarcasm in speech?
- Partially, and the framing matters. Acoustic models can detect sarcastic-sounding delivery — the exaggerated or flattened prosody speakers use to signal sarcasm — with useful accuracy. No system can verify a speaker’s actual intent. oruk scores "sarcastic" as one of 16 calibrated speaking-style labels and is explicit that this describes how the speech sounds.
- What is the difference between sarcasm detection and sarcastic-style detection?
- Sarcasm detection implies knowing what the speaker meant — an intent claim that audio alone cannot support. Sarcastic-style detection scores the acoustic delivery pattern associated with sarcasm. oruk deliberately offers the second and not the first; the capabilities page states that API v1 does no intent detection.
- Why do text-only models miss sarcasm?
- Because "great, thanks" transcribes identically whether sincere or biting. On speech-emotion-bench, text-only LLMs working from transcripts scored 37–41% seven-class emotion accuracy — the acoustic channel carries the signal the words leave out.
- How do I get sarcasm scores from the oruk API?
- POST an audio file to /v1/audio/styles (or /v1/audio/analysis for the transcript, emotion, and style together). The response scores all 16 style labels including sarcastic and deadpan, with thresholds calibrated on held-out audio. Style requests on Spectra 1 cost $0.0060 per audio minute.
Try it live with your voice Glossary: every label defined Emotion API
