https://linen.dev logo
Join Discord
Powered by
# lime
  • a

    able-action-74275

    05/10/2023, 8:51 PM
    maybe with haxe bindings as well it would be special
  • b

    bulky-insurance-39338

    05/10/2023, 8:52 PM
    (remembers me into trisitter 😂 )
  • a

    able-action-74275

    05/10/2023, 8:52 PM
    web audio api is very similar to OpenAL in places
  • b

    bulky-insurance-39338

    05/10/2023, 8:52 PM
    (i mean also was from rust-spice there .)
  • a

    able-action-74275

    05/10/2023, 8:52 PM
    \:D yeah all cool stuff is rust
  • b

    bulky-insurance-39338

    05/10/2023, 8:54 PM
    its the rust
    sync
    into parallele computing what makes all this possible i am think .)
  • b

    bulky-insurance-39338

    05/10/2023, 8:55 PM
    anyway .. i am sometimes need to implement pure web-js AudioBuffer into
  • b

    bulky-insurance-39338

    05/10/2023, 8:55 PM
    sample there to test out all scopes
  • b

    bulky-insurance-39338

    05/10/2023, 8:57 PM
    also the
    mixing
    at runtime should be on GPU (^_^)
  • b

    bulky-insurance-39338

    05/10/2023, 8:59 PM
    by `adding`+`normalizing` the produced texture-datas into another pass
  • b

    bulky-insurance-39338

    05/10/2023, 9:00 PM
    before putting into the Audio->Queue (that should also be into really small
    continues
    buffers to have no
    lag
    ... not found best WaYet to doing this ~_~)
  • a

    able-action-74275

    05/10/2023, 9:01 PM
    with web audio there will be lag I think
  • a

    able-action-74275

    05/10/2023, 9:01 PM
    to get unbroken audio you need larger buffers
  • a

    able-action-74275

    05/10/2023, 9:01 PM
    it's kinda shitty
  • b

    bulky-insurance-39338

    05/10/2023, 9:01 PM
    oh nooo 😢
  • a

    able-action-74275

    05/10/2023, 9:01 PM
    gpu audio stuff is best on native
  • a

    able-action-74275

    05/10/2023, 9:01 PM
    and even open al is laggy
  • a

    able-action-74275

    05/10/2023, 9:02 PM
    need something more low level like portaudio
  • a

    able-action-74275

    05/10/2023, 9:02 PM
    (or maybe this cpal thing)
  • b

    bulky-insurance-39338

    05/10/2023, 9:02 PM
    my buffersize into testcase is like this now (~1-2seconds)
  • a

    able-action-74275

    05/10/2023, 9:03 PM
    grig is using portaudio but I think there are some problem because of the haxe garbage collector
  • b

    bulky-insurance-39338

    05/10/2023, 9:03 PM
    the rusty
    cpal
    thing and all can also not be more do as what browsers allow -_-
  • a

    able-action-74275

    05/10/2023, 9:04 PM
    yeah it will still rely on web audio
  • b

    bulky-insurance-39338

    05/10/2023, 9:04 PM
    then maybe better for me is to use web audio instead (to write haxe js externs is more easy for me)
  • a

    able-action-74275

    05/10/2023, 9:04 PM
    but I think it's doing wasm audio worklet (the new cool stuff)
  • a

    able-action-74275

    05/10/2023, 9:04 PM
    either way, I think there will always be latency via the browser
  • b

    bulky-insurance-39338

    05/10/2023, 9:04 PM
    oh ... but also supported by all most used web-browsers ?
  • a

    able-action-74275

    05/10/2023, 9:05 PM
    https://caniuse.com/mdn-api_audioworklet
  • a

    able-action-74275

    05/10/2023, 9:05 PM
    I think so nowadays
  • b

    bulky-insurance-39338

    05/10/2023, 9:05 PM
    ooh.. thats looks good then ^^
1...119120121...138Latest