Menu

#867 Audio/Sound: Replace PLIB with SDL

to be defined
assigned
nobody
None
enhancement
major
Sound engines
2.1.0-dev
2024-03-10
2013-12-19
simon wood
No

At some point, we are planning to kill off plib in favour of OSG. We currently have a plib audio engine which should be replaced, possibly with one base on SDL.

If so, then this library may be of use:
http://sol.gfxile.net/soloud/index.html

It does clip repeating, level, etc.

Discussion

  • beaglejoe

    beaglejoe - 2013-12-19

    There is also:
    SDL_Audio and SDL_Mixer
    that I looked at a while back.
    We should see if they are updated in SDL2

     
  • simon wood

    simon wood - 2014-06-09
    • Description has changed:

    Diff:

    
    
    • assigned_to: Boris Antonevich --> nobody
     
  • beaglejoe

    beaglejoe - 2022-01-27
    • status: new --> assigned
    • assigned_to: beaglejoe
     
  • beaglejoe

    beaglejoe - 2023-07-15

    I recently tried to create a new sound FX module with SDL2_Mixer.
    Unfortunately SDL2_Mixer does not provide a means to adjust the pitch of a playing sound.
    This is required for SD's engine sounds and others.
    I was able to successfully add support for this single-header file library:
    miniaudio

     
    • Robert Reif

      Robert Reif - 2023-07-19

      I have used the SoundTouch library https://www.surina.net/soundtouch/ to do pitch shift in the past. Can you add an effect to the SDL2_Mixer using this library?

       
      • beaglejoe

        beaglejoe - 2023-07-21

        soundtouch
        looks a little too low-level for me.
        The miniaudio has
        playsound()
        setvolume()
        setpitch()

         
  • beaglejoe

    beaglejoe - 2023-07-21

    When SDL3_mixer is released, we can recheck if they have added pitch control.

     
  • xDraconian

    xDraconian - 2024-03-10
    • assigned_to: beaglejoe --> nobody
     

Log in to post a comment.