---
title: "Discussion on \"Why Web Audio Changes a Keyboard Clip’s Sample Count\" | Hashnode"
description: "Discussion on \"Why Web Audio Changes a Keyboard Clip’s Sample Count\". Decode the same keyboard WAV at 44.1 and 48 kHz, compare frame counts, and calculate duration using the actual AudioBuffer sample rate."
url: "https://hashnode.com/posts/why-web-audio-changes-a-keyboard-clip-s-sample-count/6aec934b4fc36387246cd06c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why Web Audio Changes a Keyboard Clip’s Sample Count](https://keyboardtesterclick.hashnode.dev/why-web-audio-changes-a-keyboard-clip-s-sample-count?utm_source=hashnode&utm_medium=feed)

Decode the same keyboard WAV at 44.1 and 48 kHz, compare frame counts, and calculate duration using the actual AudioBuffer sample rate.

Nov 5 · 3 min read · keyboardtesterclick.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Nasir Aziz Awan](https://hashnode.com/@keyboardtester-click)

@keyboardtester-click

  
[View profile](https://hashnode.com/@keyboardtester-click)

Founder and Developer of http://keyboardtester.click

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
