Transaction 09741cfa3582c39c5cfcfba774105fd4f4e3bfdc96d6744b3bc76b45b33177e5
1 Input
-
cb8b14d64400e3ec5a8cc2a8dbdc02973374862dcff4152926925b6232dae2a9:0
OP_DATA_32(32) aad57f6db4f1ea8e92dacf25e0f2e557df8c6ceddfc932090073f1626948b263OP_CHECKSIG(172)OP_0(0)OP_IF(99)OP_DATA_3(3) ordOP_DATA_1(1)OP_DATA_23(23) text/html;charset=utf-8OP_0(0)OP_PUSHDATA2(77) <html><head><style> html,body { margin: 0; padding: 0; height: 100vh; width: 100vw; background-color: black; } #preview { display: none; } .framed { display: flex; justify-content: center; align-items: center; height: 100vh; width: 100vw; } .framed img { height: 100vh; width: 100vh; cursor:pointer; } @media (orientation: portrait) { .framed img { height: 100vw; width: 100vw; } } .loader { display: none; justify-content: center; align-items: center; position: absolute; height: 100vh; width: 100vw; margin: auto; }</sOP_PUSHDATA2(77) tyle><meta property="og:title" content="Chordinals - making noise on BTC"><meta property="og:type" content="audio.midi" /><meta property="og:description" content="Generative music and art from spZjulien and onomous."><meta property="og:url" content="https://chordinal.com"><meta property="og:image" content="https://chordinal.com/BybiteNote.png"><meta property="twitter:image" content="https://chordinal.com/BybiteNote.png"><meta name="twitter:card" content="summary_large_image"></head><body><div id="loader" class="loaOP_PUSHDATA2(77) der"><img src="/content/57372b9d385f852bbe3bfd79ca7f30dab571feaed8d577e8398a193f6ae7051ai0" height="135" width="135" /></div><div class="framed"><img id="preview" src="/content/82ac266a367600658ec6ec27ef58559d2afe7d20bc0823c9e4bab5e7c4dd27a3i0" /></div><script src="/content/eafb859825cd843587d39552eb7a52f352e9621cd16b63b8702c1b8ea44faf1ci0" type="application/javascript"></script><script src="/content/20334250e286a9d508f239983adba18742f6f3f299a613dba4b050d6ef3d5581i0" type="application/javascript"></script><script sOP_PUSHDATA2(77) rc="/content/cabe663484e6159a2a20a35ecb51ad1a8db633408ba67ca632d8ae00e7d80b3bi0" type="application/javascript"></script><script src="/content/38e5864b0e33873ec8aee9d37e685d5ee024ee0d9ed02116e671b02d4fb17aaai0" type="application/javascript"></script><script src="/content/1f38f03b6987871ce4a315e3b227a95c420c8dd00a83bcf0ddd33f3888032aa8i0" type="application/javascript"></script><script>window.hue=64,window.sat=72,window.light=30,window.pick=2;</script><script> let{src,background,primary}=window.renderSVG(window.hue,wiOP_PUSHDATA2(77) ndow.sat,window.light,window.pick); let preview=document.getElementById("preview"); let img=new Image(); img.height=4096; img.width=4096; let roll=window.Mozart.rollDice(); let encoded=window.btoa(window.Mozart.getMinuet(0,2,roll).bytes); let minuet=`data:audio/midi;base64,${window.encodeURI(encoded)}`; let player; document.getElementById("loader").style.display="flex"; MIDI.loadPlugin({ instruments: MIDI.Player.getFileInstruments(), soundfontUrl: "/content/", onsuccess: ()=>{ preview.addEventListener("click",eventOP_PUSHDATA2(77) ful); preview.addEventListener("touch",eventful); document.getElementById("loader").style.display="none";}}); const showCanvas=()=>{ preview.style.display="none"; preview.src="/content/82ac266a367600658ec6ec27ef58559d2afe7d20bc0823c9e4bab5e7c4dd27a3i0"; document.body.style.backgroundColor='#000000'; preview.style.display="block";}; const queueShow=()=>{ roll=window.Mozart.rollDice(); encoded=window.btoa(window.Mozart.getMinuet(0,2,roll).bytes); minuet=`data:audio/midi;base64,${window.encodeURI(encoded)}`;}; const eOP_PUSHDATA2(77) ndShow=()=>{ queueShow(); document.getElementById("loader").style.display="none"; showCanvas(); MIDI.Player.stop(); MIDI.Player.removeListener();}; const startShow=()=>{ MIDI.Player.addListener(midiEvent); MIDI.Player.start(); document.getElementById("loader").style.display="none"; preview.style.display="none"; preview.src=src; document.body.style.backgroundColor=background; preview.style.display="block";}; const eventful=async ()=>{ if (preview.src===src){ document.getElementById("loader").style.display="flex"; enOP_PUSHDATA2(77) dShow();} else{ document.getElementById("loader").style.display="flex"; MIDI.Player.loadFile( minuet, startShow)}}; const midiEvent=async(event)=>{ if (event.now===event.end){ await eventful();}}; img.onload=function(){ preview.style.display="block";}; img.src=src; </script></body></html>OP_ENDIF(104)
1 Outputs
- 09741cfa3582c39c5cfcfba774105fd4f4e3bfdc96d6744b3bc76b45b33177e5:0
value 600
address bc1p2a743c4nukrffr7lm4pp77svynx67cgkqa4e9vkz73fxhemsa3dqfu2cvp