ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

Janady13/ai-music-system / tools/resample_to_32k.py

Source identity, revision, and recovered contents.

GitHub sourceSource text recovered

Source identity

FieldRecorded value
Source typeGitHub source
Original recordJanady13/ai-music-system / tools/resample_to_32k.py
DateNot specified in source
RepositoryJanady13/ai-music-system
Revision9a816470ef81edba7a5d8f3aae62c05eead638a7
Branchmain
Path or archive membertools/resample_to_32k.py
Original SHA-256705ea7a7472d1628ce515e05fb4684918b53a556a580981b01dbb2a595e7ea61
Git blob SHA415fe8665fcbfb7c1226879e91c2a9d3c09257a7
Reading-copy SHA-256705ea7a7472d1628ce515e05fb4684918b53a556a580981b01dbb2a595e7ea61

Original source ↗

Every recorded occurrence

These 3 records contain identical original source bytes. Their paths and revisions remain part of the archive.

Original recordBranch or archiveRevision / identifierOriginal location
Janady13/ai-music-system / tools/resample_to_32k.pymain9a816470ef81edba7a5d8f3aae62c05eead638a7Open original
Janady13/ai-music-system / tools/resample_to_32k.pycodex/create-ai-for-music-generation-ifwcfccd5207850253ee238f8a267c043b1e3c070ed81aOpen original
Janady13/ai-music-system / tools/resample_to_32k.pycodex/create-ai-for-music-generation017052c0e72c6175378aebb7a7f9dd96e82c3ce2Open original

Recovered source transcript

import os, sys, soundfile as sf, librosa, glob src = sys.argv[1]; dst = sys.argv[2] os.makedirs(dst, exist_ok=True) for f in glob.glob(os.path.join(src, "**", "*.*"), recursive=True): if os.path.isdir(f): continue try: y, sr = librosa.load(f, sr=32000, mono=True) out = os.path.join(dst, os.path.splitext(os.path.basename(f))[0] + ".wav") sf.write(out, y, 32000) print(out) except Exception as e: print("skip", f, e)

Search equations, builds, manuscript text, and recovered sources.