Giter Site home page Giter Site logo

instruments about lofi HOT 3 CLOSED

AmirMz1 avatar AmirMz1 commented on August 23, 2024
instruments

from lofi.

Comments (3)

jacbz avatar jacbz commented on August 23, 2024 1

The library only loads the notes that are provided, such as A, C, D#, and F# across 5 octaves in the piano folder. If you wish to play a C note, for example, the library will play the corresponding provided sound. However, if you intend to play a C# note, there is no provided sound available. In such cases, the Tone.js Sampler will use the C sound and adjust its pitch to sound like a C#.

from lofi.

jacbz avatar jacbz commented on August 23, 2024

Hi, I'm not sure what you mean by "full instrument". The folder you linked contains instrument samples. Since this is a web app, we "cheat" and do not have a sample for every note, but rather samples for every major third, which reduces the number of samples and hence makes the site faster to load. The Tone.js library uses pitch correction to fill in the remaining notes. This reduces the audio quality somewhat, but since the sound is meant to be "lo-fi", there is no issue with that. If you implement an offline Python project though, you can of course add a sample for every note.

from lofi.

AmirMz1 avatar AmirMz1 commented on August 23, 2024

Hi, thank you for your answer. I'm loading all notes from mido library in python but the sound of each note has a little different and I need to add some effects and filters from another library

@jacbz you said :
"The Tone.js library uses pitch correction to fill in the remaining notes" Do you mean that this library changes the notes and turns them into the notes that are in the instruments folder? Or add the notes from another link...

from lofi.

Related Issues (20)

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.