Git Product home page Git Product logo

drmeter's Introduction

Hi there ๐Ÿ‘‹

My name is Jan,
I do things on the internet.

  • ๐Ÿง‘โ€๐Ÿ’ป Iโ€™m a Senior Software Engineer and Tech Lead at @planetlabs
  • ๐Ÿ”ญ Iโ€™m currently working on podcast-archiver, a small tool to create a local archive of all your favorite podcasts
  • ๐Ÿ“ซ You can reach me via email or on Mastodon
  • ๐Ÿ˜„ Pronouns: he/him/his

drmeter's People

Contributors

janw avatar pre-commit-ci[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

drmeter's Issues

Feature request: percentage of clipping

A nice addition would be including a new column with the percentage of time the audio clips. You can use Audacity as a reference (menu View -> Show Clipping).

Thanks a lot for this project! It works flawlessly :)

RuntimeError: Internal psf_fseek() failed.

Hi Jan,

I'm trying to incorporate DR calculation into a FLAC file organisation & renaming script, and in a handful of occasions I'm getting this error:

File "/Volumes/Data/src/discogs/drmeter.py", line 120, in calc_drscore
curData = np.array(data.read(NblockLen), ndmin=2)
File "/opt/homebrew/lib/python3.10/site-packages/soundfile.py", line 867, in read
frames = self._array_io('read', out, frames)
File "/opt/homebrew/lib/python3.10/site-packages/soundfile.py", line 1312, in _array_io
return self._cdata_io(action, cdata, ctype, frames)
File "/opt/homebrew/lib/python3.10/site-packages/soundfile.py", line 1324, in _cdata_io
self.seek(curr + frames, SEEK_SET) # Update read & write position
File "/opt/homebrew/lib/python3.10/site-packages/soundfile.py", line 773, in seek
_error_check(self._errorcode)
File "/opt/homebrew/lib/python3.10/site-packages/soundfile.py", line 1357, in _error_check
raise RuntimeError(prefix + _ffi.string(err_str).decode('utf-8', 'replace'))
RuntimeError: Internal psf_fseek() failed.

The FLAC files are fine and are playing OK. Other tools like MAAT DROffline handle the files just fine.

Many thanks,
Frank.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.