- Música i só amb SDL_mixer

This commit is contained in:
2023-01-12 19:02:17 +01:00
parent 7ecd11a169
commit 9c24d33782
7 changed files with 121 additions and 389 deletions

View File

@@ -2,9 +2,6 @@ x=0
function _init()
text="HOLA MINI"
playchirp("{0w3vs-10000000ps0-5-6-90000}{1w5v0-1-2-30000p00000000}!t9v4o2 l3i0f l6r i1l3f l5r l3f i0f r f r i1f l6r=") -- drums
playchirp("t9v4{0w0v0-1-2-30000}o2 ! l9 rrrrrrrr l3 [0 frrfg#rgr][1 frrfa#>c<a#g#]@0@1@0@1@0[2 f>fr<f>frfr<] =") -- bass
playchirp("t9v1 {1w0v44422211p037037037} l9 rrrrrrrrrrrrrrrr i1 [0 l5frfl3rl5dl3rl5<a#raa#ra#l3rl5al3rl8r>]") -- arp
end
function _update()
@@ -13,14 +10,3 @@ function _update()
x=x+1
if x>160 then x=-strlen(text)*4 end
end
-- 0 *
-- 1 **
-- 2 ***
-- 3 ****
-- 4 ******
-- 5 ********
-- 6 ************
-- 7 ****************
-- 8 ************************
-- 9 ********************************