Coder Social home page Coder Social logo

cagpie / picoaudio.js Goto Github PK

View Code? Open in Web Editor NEW
45.0 3.0 9.0 1.89 MB

A JavaScript library for playing MIDI (Standard MIDI File) on Web.

License: MIT License

JavaScript 100.00%
midi webaudio webaudio-api music music-player webmidi webmidi-api javascript chiptune picoaudio

picoaudio.js's People

Contributors

at-sushi avatar cagpie avatar hoge1e3 avatar luimoiper avatar makkii-bcr avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

picoaudio.js's Issues

PicoAudio midi latency bug

Dear cagpie,

I am writing to report a bug in the PicoAudio library that I have noticed while using it to control the playback of MIDI devices. Specifically, I have noticed that there is a significant latency when performing actions such as pausing, resuming, seeking, and song switching.

As a user of the library, I have been otherwise very satisfied with its performance and have found it to be very useful in building my software. However, this latency issue is causing some problems and I would appreciate any assistance in resolving it.

Thank you for your time and consideration.

Sincerely,
haveyouwantto

Feature Request - Detailed SMFData and Bug Fix for MIDI Mode Switching in PicoAudio

Dear cagpie,

I am an avid user of the PicoAudio MIDI player JavaScript library and would like to request a new feature that would greatly enhance its functionality. Additionally, I have identified a bug related to switching MIDI modes that I believe this feature implementation could address.

Firstly, I kindly request the addition of an option to always include detailed SMFData in the parsed MIDI object. This inclusion would provide users like me with comprehensive information about the MIDI files, enabling deeper analysis of them. Additionally, it would enable us to implement advanced playback controls, such as displaying synchronized lyrics alongside the MIDI playback.

Furthermore, I have noticed a bug when switching MIDI modes on and off in PicoAudio. It seems that the current implementation encounters certain issues during this transition. To ensure a smoother transition and eliminate this bug, I propose that the parsed MIDI object includes detailed SMFData, regardless of the selected mode.

Thank you for considering my feature request and for addressing the bug related to MIDI mode switching. I eagerly anticipate any updates or improvements that may result from these suggestions.

Best regards,
haveyouwantto

stopの修正

PicoAudio.stop が実質pauseの機能なので修正したい

  • pause実装
  • stop実装変更
  • 各所に対応のお願いをする

あってもよさそう

あっても良さそうな機能

getCurrentTime

現在の再生時点を取得

(picoAudio.context ? picoAudio.context.currentTime : 0) - picoAudio.states.startTime

setCurrentTime

再生時点の変更

ESModule対応

ESModule化 + npmにpublish
Webpackのビルドを複雑にするより、組み込むなら組み込む目的でやってもいい気がする

& マッキーさんとかこのリポジトリのコラボレータにしたい(コラボレータが何できるのかあまりわかってないが)

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.