Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Audio Playing MP3s with MP3Sharp?

Discussion in 'Audio & Video' started by ZeroG677, Dec 24, 2018.

  1. ZeroG677

    ZeroG677

    Joined:
    Sep 30, 2016
    Posts:
    27
    Hello
    So i discovered the MP3Sharp library and it's just what i need since i want to load mp3 files in Unity, but i can't get it to work. The buffer it returns is in byte[] and Unity AudioClips take float[], i'd like example code on how to do this since i can't find anything online and can't get it to work...
    Thanks in advance!