Giter VIP home page Giter VIP logo

lunarwave's Introduction

Welcome to LunarWave!

Ícone SVG

LunarWave is a powerful tool for creating audio samples using Lua. With LunarWave, you can easily create a variety of sound waveforms and explore the magic of music in a whole new way!

About LunarWave

LunarWave is an open-source tool designed to provide a simple and accessible experience in audio sample creation. Developed with Lua, a powerful and easy-to-learn programming language, LunarWave empowers users to express their musical creativity in a unique and intuitive way.

Key features:

  • Easily Create: Use Lua to generate a variety of sound waveforms, including sine, square, triangular, sawtooth, and more.
  • Total Flexibility: Adjust parameters such as frequency, amplitude, and duration to create the perfect sound.
  • Wide Compatibility: Export your audio samples to a variety of popular formats, such as WAV, MP3, and OGG.
  • Fully Customizable: Adapt the LunarWave source code to your specific needs and add new features with ease.

Usage Example

See how easy it is to create a simple sine wave in Lua using LunarWave:

function PLAY(no_sample, time, frequency_hz)
    local cycles = time * frequency_hz

    local position = no_sample / SAMPLE_RATE * frequency_hz

    local is_positive = (position % 1) < 0.5

    if is_positive then
        return 1
    else
        return -1
    end
end

Here's how you can run this script.

    ./build/lunarwave ./test/basics.lua -o basics.wav

lunarwave's People

Contributors

theolomeubraga avatar

Watchers

 avatar

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.