SFXR Like Program

Topics on software tools like TileStudio, comments on documentation and tutorials (or the lack of) should go here.
Post Reply
User avatar
Posts: 72
Joined: Sat Mar 14, 2015 5:43 am

SFXR Like Program

Post by kivan117 » Wed May 13, 2015 2:02 am

Looked very (emphasis very) briefly at the source to sfxr on github and saw it uses the same basic waveforms as the Uzebox (sine, square, sawtooth, and noise). Since patches take up much less room than PCM sound effects and multiple of them can be played on different channels simultaneously, I think having a tool that randomly generates effects the way sfxr does but outputs patches instead of wav files is something that would benefit the community greatly. Like a faster automated version of D3thAdd3r's patch tool. Play with some sliders, mash randomize, and voila! Not volunteering myself, must pitching ideas. Anybody else think this would be useful?

User avatar
Posts: 2424
Joined: Wed Apr 29, 2009 10:00 am
Location: Minneapolis, United States

Re: SFXR Like Program

Post by D3thAdd3r » Wed May 13, 2015 9:12 pm

I had a similar interest a while back after I made that (semi-broken) patch tool(which I would like to redo in the new 80 columns mode). That is pretty cool, I didn't look at the source code, but it seems promising.

Sound effects are an elusive thing on Uzebox, so I thought something like that could be coupled with a "survival test" using the non-inline mixer. Basically compare the wave form of the output of the random patch every 1/60th second to a PCM of the sound you are trying to get(in much smaller form)and save the cumulative error across the entire length. Then randomly create new patches, only keep ones that beat the old best one(simpler), or doing more of an "evolution" thing where multiple best ones above a threshold are kept and blended together. So to me this is interesting even without the additional stuff I mentioned and I think it would find use for people.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests