MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / normalize_alignment_word

Function normalize_alignment_word

tests/warmbench.py:1513–1514  ·  view source on GitHub ↗
(value: str)

Source from the content-addressed store, hash-verified

1511
1512 audio, sample_rate = librosa.load(source, sr=None, mono=False)
1513 audio = np.asarray(audio, dtype=np.float32)
1514 if audio.ndim == 2:
1515 if audio.shape[0] <= 8 and audio.shape[1] > audio.shape[0]:
1516 audio = audio.T
1517 audio = audio.mean(axis=-1).astype(np.float32)

Callers 1

Calls 1

normalize_textFunction · 0.70

Tested by

no test coverage detected