Git Product home page Git Product logo

gm82snd's Introduction

gm82snd

This is a replacement audio engine for Game Maker 8.2. Adding the extension completely replaces the builtin sound functions, bringing the audio engine near up to spec with GM:Studio.

Features:

  • many common audio formats are supported
    • wav, ogg, mp3, midi, mod, it, s3m, xm, aif, flac, wma
  • stream music from files on disk
  • create and control individual sound instances
  • pitch, loop points, pause, seek, pan, etc
  • positional 3d sound
  • chainable sound effects

Read the [included manual](Game Maker 8.2 Sound.txt) for usage instructions.

notes

This extension requires gm82core.

Moreover, usage of this extension is bound by Firelight's licensing terms due to usage of legacy FmodEx technology.

gm82snd's People

Contributors

omicronrex avatar skyfloogle avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

john-kun cam900

gm82snd's Issues

Loop Points Not Working

When I try to make a loop points it doesn't work.
Create:
bgm_play(bgm_test, 1, 1, true, 81000, 1816000, 44100);
Begin Step:
/// Loop music using samples.

if(bgm_sample_loop == true)
{
if(bgm_handle != noone)
{
if(sound_get_length(bgm_handle) >= bgm_sample_end/bgm_sample_rate)
{
sound_set_loop(bgm_handle, bgm_sample_start/bgm_sample_rate, bgm_sample_end/bgm_sample_rate);
}
}
}
Bgm Script:
// Check if there's music already playing.
if(SFX.bgm_handle != noone)
{
if(sound_isplaying(SFX.bgm_handle))
{
sound_stop(SFX.bgm_handle);
}
SFX.bgm_handle = noone;
}

// Set music handle and other things.
SFX.bgm_handle = sound_loop_single(SFX.argument0);
sound_volume (SFX.bgm_handle, argument1);
sound_pitch (SFX.bgm_handle, argument2);
SFX.bgm_sample_loop = argument3;
SFX.bgm_sample_start = argument4;
SFX.bgm_sample_end = argument5;
SFX.bgm_sample_rate = argument6;

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.