GithubHelp home page GithubHelp logo

Comments (7)

surikov avatar surikov commented on May 18, 2024

Not enough information. Open
https://surikov.github.io/webaudiofont/examples/drums.html
Does it work?

from webaudiofont.

vgordievskiy avatar vgordievskiy commented on May 18, 2024

Sorry for long response.

From IPad (Safari - latest version):

[Log] WebAudioFont Player v2.59 (WebAudioFontPlayer.js, line 87)
[Log] WebAudioFont Loader v1.06 (WebAudioFontPlayer.js, line 3)
[Log] load _drum_35_17_JCLive_sf2_file (12835_17_JCLive_sf2_file.js, line 1)
[Log] load _drum_40_1_JCLive_sf2_file (12840_1_JCLive_sf2_file.js, line 1)
[Log] load _drum_42_1_JCLive_sf2_file (12842_1_JCLive_sf2_file.js, line 1)
[Log] load _drum_51_1_JCLive_sf2_file (12851_1_JCLive_sf2_file.js, line 1)
[Log] load _drum_50_1_JCLive_sf2_file (12850_1_JCLive_sf2_file.js, line 1)
[Log] load _drum_48_1_JCLive_sf2_file (12848_1_JCLive_sf2_file.js, line 1)
[Log] load _drum_41_1_JCLive_sf2_file (12841_1_JCLive_sf2_file.js, line 1)
[Log] empty buffer (WebAudioFontPlayer.js, line 104)
Object
coarseTune: 8
file: "T2dnUwACAAAAAAAAAABjbwAAAAAAAG+2oyoBHgF2b3JiaXMAAAAAAUSsAAAAAAAAAHECAAAAAAC4AU9nZ1MAAAAAAAAAAAAAY28AAAEAAAAq2Cy7ETL////////////////////VA3Zv…"
fineTune: 5
keyRangeHigh: 51
keyRangeLow: 51
loopEnd: 0
loopStart: 0
midi: 128
originalPitch: 5900
sampleRate: 44100
sustain: 5900

from webaudiofont.

surikov avatar surikov commented on May 18, 2024

iOS prevent from using AudioContext without user interaction.
see https://developer.apple.com/library/content/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/PlayingandSynthesizingSounds/PlayingandSynthesizingSounds.html

from webaudiofont.

vgordievskiy avatar vgordievskiy commented on May 18, 2024

Do you use for decode ogg vorbis? Seems safari not supported ogg((

from webaudiofont.

surikov avatar surikov commented on May 18, 2024

Try to use instruments with 'SBLive' or 'SoundBlaster' in name. They doesn't have compression.

from webaudiofont.

surikov avatar surikov commented on May 18, 2024

try mixer
this page doesn't use compressed sounds. The example starts init after user press Play link.

Use modern browser like Chrome for other examples.

from webaudiofont.

vgordievskiy avatar vgordievskiy commented on May 18, 2024

I use data from old commit: c249e5a for instruments. We develop mobile RIA(http://test2.dnotation.com).

from webaudiofont.

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.