Mod Archive Forums Mod Archive Forums
Advanced search  

News:

Please note: Your main modarchive.org account will not work here, you must create a forum account to post on the forums.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - clear2ooo

Pages: [1]
1
HivelyTracker / random create "ins" lua script
« on: April 28, 2024, 09:39:48 »
create "ins"

in a few days i will not have internet anymore.

although probably there are a few more of this kind of program. i provide here. to use how you want. a simple program which is a lua script. to create "ins" file for hivelytracker. it creates a silly sound from two to four steps in size. it is very limited. sometimes it creates sound effect, all keys give the same sound sequence. sometimes it create instrument which doesn't have sequence notes in key of "c". i did something because it kept giving me illegal waveform of "5" on first position. then try to play note and it crashes hivelytracker. so ensure waveform is "1", "2" or "4" for first position only.

this script create file called "createins.ins" in your user's "documents" directory. change it what makes you comfortable. path name assumes linux. but could be changed easily to save file in windows.

Code: [Select]
ran, floor = math.random, math.floor
insfile = {
84, 72, 88, 73, 32, 3, 1, 32, 32, 32, 128,
1, 0, 0, 0, 0, 1, 0, 0, 0, 32, 32, 0,
1, 2, 4, 128, 129, 0, 16, 160, 13, 0, 0, 0,
25, 0, 0, 0, 37, 0, 0, 49, 50, 51, 52, 53,
54, 55, 56, 0
}

binlift_pow2 = { 128, 64, 32, 16, 8, 4, 2, 1 }
function binlift(num, dolift)
    local i
    local iret = 0
    local s = { }
    for i = 1, 8 do
        if floor(num - binlift_pow2[i]) > 0 then
            s[i] = 1
            num = num - binlift_pow2[i]
        else
            s[i] = 0
        end
    end
    if dolift then s[2] = 1 else s[2] = 0 end
    for i = 1, 8 do
        if s[i] == 1 then iret = iret + binlift_pow2[i] end
    end
    return iret
end

numsteps = ran(2, 4)
if numsteps > 2 then
    insfile[31] = 0
    if numsteps == 3 then
        insfile[35] = 160 + ran(0, 2)
    else
        insfile[39] = 160 + ran(0, 2)
    end
end
seqspeed = ran(2, 6)
if seqspeed > 2 then
    insfile[25] = seqspeed
end
-- change "wavelen"
insfile[6] = ran(2, 4)
-- change note in "c" key
--   note: this doesn't always work
insfile[28] = ran(0, 3) * 12 + 129
insfile[32] = ran(0, 3) * 12 + 1
insfile[36] = ran(0, 3) * 12 + 1
insfile[40] = ran(0, 3) * 12 + 1
if ran(1, 2) == 1 then
    -- make all notes fixed!
    insfile[28] = binlift(insfile[28], true)
    insfile[32] = binlift(insfile[32], true)
    insfile[36] = binlift(insfile[36], true)
    insfile[40] = binlift(insfile[40], true)
end
-- change first sequence waveform
if ran(1, 3) == 1 then
    insfile[27] = 129
    if insfile[28] >= 128 then insfile[28] = insfile[28] - 128 end
elseif ran(1, 3) == 1 then
    insfile[27] = 130
    if insfile[28] >= 128 then insfile[28] = insfile[28] - 128 end
elseif ran(1, 3) == 1 then
    insfile[27] = 129
end
-- invent instrument name
for i = 0, 7 do
    insfile[0x2b + i] = ran(97, 122)
end
-- output file
outf = io.open(os.getenv("HOME") .. "/Documents/createins.ins", "wb")
if outf then
    for i = 1, #insfile do
        outf:write(string.char(insfile[i]))
    end
    outf:close()
end


this space is intentionally left blank.

2
Tracking / schism tracker c00 small problem
« on: March 30, 2024, 21:21:33 »
schism tracker

i found a bug with schism. but i cannot reproduce it now. or show anyone what happened. i could only describe what happened to me.

i ran on endeavouros, based on arch linux, budgie desktop, "galileo" release. i use 20240129 application version. don't tell me to use latest version. because "changelog" in github has nothing about what i'm about to say.

sometimes the player ignores "c00" command.

i create song. without instruments because this program is annoying about it. at beginning i have one pattern. which has four "sb1" commands. _w_i_t_h_o_u_t_ "sb0" that should match each loop definition. each pattern loop is at least two beats long. this one pattern became 10 patterns. while i develop the song i play back pressing "f7" key. sometimes i have play back start from song beginning.

then finally i create pattern which has the "c00". i go to "f11" screen and put this pattern first. before the ones with pattern loops. i play back song from beginning. i notice weird behavior which might be expected from impulse tracker. there are no "sb0" whatsoever. so every other pattern, right at the first "sb1", it gives up playing the rest of the pattern. just skips to the next one. which processes the pattern loops correctly.

then suddenly i play back from beginning again. player ignores "c00" command. i put this on line 47 on pattern 0-63 of lines. this is first pattern of the song. it is played entirely. it's supposed to play 3 bars only.

later i was forced to put "sb0" at places where a pattern loop begins. the song plays correctly after that. related to pattern loops. but "c00" thing remained. i quit schism. start it again and it behaves normally again.

it's no use providing "it" suffix file. because it is over 5 mib, i have to make severe cutbacks. the song is not ready for release yet.

i forgot to mention. tracker speed of 5. no commands on patterns.


i am clear2ooo. i am string space. nothing else.

3
The Lobby / opinion recent music
« on: March 28, 2024, 12:15:14 »
reputation

yes i like to review other people's songs.

the reason why i don't do it on review board. on song pages on this site. because i would have to do it for a few hundred songs. i might get accused of spamming and get banned. i wrote much of this comment. and almost left out why i am really writing this. reputation points. i don't care about them for offering music. or for reviewing anything. it will not buy me an ice cream. it is not transferrable to another site. btw i'm glad this is not the forum handlers which rhyme with "horse."

my reviews are not to be taken seriously. when i say "this artist sucks" or "he needs to fix this." or i say "i don't like (this music style)." these are just my opinions. even to be funny. some people cannot respond, one for himself now. because someone could lose interest. otherwise internet could be costly privilege. this is like grain of sand in a large beach. but i don't like anti-spiritual suggestion. i don't like vulgar slang in song name. i don't like pornographic suggestions or black humor or anything like that. one day i found a module where "wxyz" was written. start and end the same, but it was supposed to be five letters. but i will not ever write it plainly. it is a moderator's job to do that. while he is telling the rules of what cannot be done.

another reason why i don't review. where some people think i'm supposed to be writing in. because at least three artists, i have taken them completely as trollers. i have not said anything about them yet. and will not. they do not deserve to be taken to dinner. if i even mention one name. it's like giving him a cookie bought at subway.

this is beside some of my reservations about artists. from my "recent" topic. cs127 doesn't really need this site, but github. jeslan unable to come up with good enough song. have to call "gpj" that way because otherwise really nasty insect. (wrote most stuff before discovered they might be brother and sister.) and so on.

again, my reviews. and my statements here. are not to be taken seriously. this is a forum.


i am clear2ooo. i am string space. i have a female cohort. her name is "memend."

4
The Lobby / new string space
« on: March 26, 2024, 00:24:17 »
clear2ooo

get used to me. i am a part-time computer programmer. also a less-successful electronic musician.

primarily i use openmpt. because sometimes i have to work with clunky plug-ins. but i have also used milky tracker and schism tracker. the latter program is better. but the keystroke combinations are not.

now i use 64-bit linux exclusively. beginning in 2014 i used ubuntu. before that i used windows. but i preferred xp and 32-bit. i had enough with "full screen menu" and broken "standard" apps of windows 8. however i had difficulty adjusting to gimp, libreoffice and other programs i found on ubuntu. in recent year i distro-hopped a bit. now i have spirallinux with kde plasma desktop on my older laptop. but it is older debian base "bullseye". meanwhile on my newer computer i'm using debian "bookworm" with mate desktop.

i shall look into "noble numbat." i hope is not too bloated. i don't mind snaps that well but i wish it could be snappy like 32-bit way back then. other things before i could return to ubuntu, which is what i prefer.

i have downloaded many modules from this site. since 2011 but there is a break of many years. i couldn't have internet. before too long i post about my first brushings with this site.


read my post again more carefully if:
* i post an emoticon.
* i reply to someone else.
* i provide link to another web site.

Pages: [1]