peaks.js | JavaScript UI component for interacting with audio waveforms | Generator Utils library

 by   bbc JavaScript Version: 3.3.0 License: LGPL-3.0

kandi X-RAY | peaks.js Summary

kandi X-RAY | peaks.js Summary

peaks.js is a JavaScript library typically used in Telecommunications, Media, Media, Entertainment, Generator, Generator Utils applications. peaks.js has no bugs, it has no vulnerabilities, it has a Weak Copyleft License and it has medium support. You can install using 'npm i peaksjs-custom-test' or download it from GitHub, npm.

Peaks.js was developed by BBC R&D to allow users to make accurate clippings of audio content in the browser, using a backend API that serves the waveform data. Peaks.js uses the HTML canvas element to display the waveform at different zoom levels, and has configuration options to allow you to customize the waveform views. Peaks.js allows users to interact with the waveform views, including zooming and scrolling, and creating point or segment markers that denote content to be clipped or for reference, e.g., distinguishing music from speech or identifying different music tracks.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              peaks.js has a medium active ecosystem.
              It has 2798 star(s) with 272 fork(s). There are 73 watchers for this library.
              There were 4 major release(s) in the last 6 months.
              There are 51 open issues and 233 have been closed. On average issues are closed in 437 days. There are 7 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of peaks.js is 3.3.0

            kandi-Quality Quality

              peaks.js has 0 bugs and 0 code smells.

            kandi-Security Security

              peaks.js has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              peaks.js code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              peaks.js is licensed under the LGPL-3.0 License. This license is Weak Copyleft.
              Weak Copyleft licenses have some restrictions, but you can use them in commercial projects.

            kandi-Reuse Reuse

              peaks.js releases are available to install and integrate.
              Deployable package is available in npm.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of peaks.js
            Get all kandi verified functions for this library.

            peaks.js Key Features

            No Key Features are available at this moment for peaks.js.

            peaks.js Examples and Code Snippets

            No Code Snippets are available at this moment for peaks.js.

            Community Discussions

            QUESTION

            Turning audio data into waveform data?
            Asked 2021-Jan-03 at 21:54

            I don't understand how this https://github.com/bbc/peaks.js/blob/master/demo/TOL_6min_720p_download.json can be turned into a waveform visualization with peaks.

            I see the data in that file is a flat array of numbers. I am trying to understand how to convert those numbers into something meaningful for visual drawing.

            Check out this fiddle to see a deeper look into the code https://codesandbox.io/s/cool-dijkstra-fyw25?file=/src/App.js

            The goal is to create peaks with a high and low that looks like the image. I assume every 2 indexes represent a peak, but I don't want to assume anything.

            I am pulling the JSON and passing it into the draw function like this

            ...

            ANSWER

            Answered 2021-Jan-03 at 21:54

            Expanding on my comment on getting the max and min then us those to get a relative value, I'm doing the 15px bounds as you suggested, so the center will be 0 and the upper bound will be 15px, and the lower bound -15px that will be used in our calculations...

            Here is what we can do:

            Source https://stackoverflow.com/questions/65547255

            QUESTION

            Webpack package.json not running
            Asked 2018-Jun-13 at 14:05

            I have used webpack on a project a while ago, when i have to update the project front-end, and running scripts from package.json i get following erros, so i cannot do nothing :

            ...

            ANSWER

            Answered 2018-Jun-13 at 14:04

            The log answer your question: -> When using npm: npm install webpack-cli -D -> When using yarn: yarn add webpack-cli -D

            Install it using npm or yarn.

            Apparently one package has separated in two others.

            Source https://stackoverflow.com/questions/50837009

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install peaks.js

            You can install using 'npm i peaksjs-custom-test' or download it from GitHub, npm.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • npm

            npm i peaks.js

          • CLONE
          • HTTPS

            https://github.com/bbc/peaks.js.git

          • CLI

            gh repo clone bbc/peaks.js

          • sshUrl

            git@github.com:bbc/peaks.js.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link