--- title: Telephony Audio Preview emoji: 🌖 colorFrom: red colorTo: yellow sdk: static pinned: false license: mit short_description: Hear what your speech model hears on a phone call --- # Telephony Audio Preview Clean benchmark audio is not what a voice agent hears. A call arrives narrowband, companded and occasionally missing packets, and that is usually where an agent that worked in the notebook starts to fall apart. This page runs that path over a sample of your own, in the browser. Nothing is uploaded. ## What it does - Resamples to 8 kHz, or 16 kHz if you want to compare with HD voice - Applies G.711 u-law or A-law companding, the codecs most PSTN calls still use - Drops 20 ms RTP packets at a rate you choose, in bursts rather than evenly, because that is how loss actually behaves - Lets you compare silence against repeating the previous packet as concealment - Gives you the result as a wav you can feed straight into your recogniser ## Suggested use Take an utterance your model currently gets right, run it through at 8 kHz u-law with 2 to 5 per cent bursty loss, and re-run your evaluation on the output. The gap between the two numbers is the part of your accuracy that lives in the network rather than in the model. Built by [PacketExchange](https://huggingface.co/PacketExchange). Questions about the telephony side of a project are welcome at contact@packetexchange.io, whether or not you use our platform.