orgasm.dev

Inputs

The face is the minimum. What the microphone, a body view and stimulation reports add, and what happens when an input is missing.

What each input unlocks

InputsImminenceSubject readOnset and end (women)Peak (men)End (men)
FaceYesYesNoNoNo
Face and microphoneYesYesYesYesYes
Face, microphone and body viewYesYesYes, corroboratedYes, corroboratedYes

Declare what the device will publish when you create the session (inputs.audio, inputs.body); the session's signals then lists the events it can produce.

Face (required)

The front camera, with the person's face in view and only that person in frame.

  • H.264 or H.265 video. Frames are scaled to a long edge of 1280 pixels; 30 frames a second is ideal.
  • Even, frontal light. The analysis corrects for a turned or tilted head, but not for a face in shadow or out of frame.
  • The first minute of visible face is the person's resting baseline. Imminence starts once it is in (baseline_pending until then); the subject read is made after the first 30 seconds.

Publish the microphone with the camera. The onset, peak and end detectors read the voice as well as the face and do not run without it. Sound is measured inside the enclave (classes of vocalization, level, pitch); no audio leaves it. In a live session it also gives signals.updated its vocalizations and loudness.

Without the microphone you still get imminence and the subject read, and an audio_absent warning says why the calls are missing.

Face only: no microphone: imminence and orgasm calls over 10 minutes00.510 min2 min4 min6 min8 min10 minbaselinesubject: woman
Face only: no microphone. The device publishes the camera without the microphone: imminence and the subject read arrive, onset, peak and end cannot, and an audio warning says why. With no orgasm called, the approach that recedes counts as an edge. Bold line: p30; light line: p60. Solid verticals: the moment a call names; dashed: when it was made.

Body view (optional)

A second camera that sees the person's body, published to ingest.bodyUrl when the session declares inputs.body: true. It corroborates onset, peak and end calls, so more of them arrive with confidence: high. Calls are still made without it. In a live session it also gives signals.updated its contractions and movement.

Stimulation (optional)

If your product controls stimulation, report when it starts, stops or changes with reportStimulation, or a stimulation message on the socket. Imminence from the face alone does not know how long the person has been stimulated; with reports, it does (stimulationAware: true). Report changes, not a heartbeat. A report can also carry the device's level, channels and mode, which every reader receives as stimulation.updated for its display (reporting the device).

When an input goes missing

  • input.warning events are raised and cleared as conditions start and stop: face_not_visible, multiple_faces, audio_absent, body_stream_absent, baseline_pending, low_confidence. Each has a message you can show the person.
  • The session's degraded flag is true while a declared input is missing or the face is out of view, and session.status events report the change.
  • While the face is out of view, imminence is null. Treat null as "unknown", never as "low": hold rather than increase.
Face lost for 20 seconds: imminence and orgasm calls over 12 minutes00.510 min2 min4 min6 min8 min10 minbaselinesubject: womanonsetend
Face lost for 20 seconds. The face leaves the frame at five minutes: imminence goes null, a warning is raised and the session is degraded until the face returns 20 seconds later. Bold line: p30; light line: p60. Solid verticals: the moment a call names; dashed: when it was made. Shaded: no face in view.

On this page