Skip to content

japajoe/MiniAudioPlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MiniAudioPlayer

Example audio player using MiniAudioExNET.

Preview

Features

  • Play audio files by selecting them from a folder or open an entire directory.
  • Loop audio.
  • Shuffle playlist.
  • Visualization using OpenGL shaders.

How to shader

// You can use these existing uniforms, don't declare them, this is just an example!
uniform sampler2D uTexture; //Texture of the previous frame
uniform sampler2D uAudio; //Texture containing PCM data in the red channel, FFT in the first half of the green channel
uniform vec2 uResolution; //The resolution of the visualization window.
uniform float uTime; //The elapsed time

//Existing variants, don't declare, just use!
in vec2 TexCoords;
out vec4 FragColor;

void main() {
    // Do something fancy
    FragColor = vec4(1, 1, 1, 1);
}

About

An audio player using MiniAudioEx

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages