ASM to Sega Genesis Platform

Would you like to react to this message? Create an account in a few clicks or log in to continue.
ASM to Sega Genesis Platform

All about assembly programming in the Sega Genesis console.


    IT'S CRINGE TIME!

    avatar
    Ralakimus1


    Mensagens : 468
    Data de inscrição : 2021-06-29
    Localização : Moved on.

    IT'S CRINGE TIME! Empty IT'S CRINGE TIME!

    Post  Ralakimus1 Sat Aug 14, 2021 1:19 am


    IT'S CRINGE TIME! M4xKMM6Fmwt8YYAFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV';(function() { function loopify(uri,cb) {  var context = new (window.AudioContext || window.webkitAudioContext)(),  request = new XMLHttpRequest();      request.responseType = 'arraybuffer';  request.open('GET', uri, true);      request.onerror = function() {   cb(new Error('Could not load audio from ' + uri));  };   request.onload = function() {   context.decodeAudioData(request.response,success,function(err){    cb(new Error('Could not decode audio from ' + uri));   });  };    request.send();    function success(buffer) {   var source;   function play() {    stop();      source = context.createBufferSource();    source.connect(context.destination);      source.buffer = buffer;    source.loop = true;      source.start(0);   }     function stop() {    if (source) {     source.stop();     source = null;    }   }     cb(null,{    play: play,    stop: stop   });  }  loopify.version = '0.1';  if (typeof define === 'function' && define.amd) {   define(function() { return loopify; });  } else if (typeof module === 'object' && module.exports) {   module.exports = loopify;  } else {   this.loopify = loopify;  } } loopify(uri,function(err,loop) {  if (err) {   return console.error(err);  }  loop

      Current date/time is Sun Apr 14, 2024 5:20 am