I extracted audio files from Heroes IV video game. But they all RAW and every file has own format: some 8-bit, some 16-bit unsigned, some 16-bit signed big-endian. Are there a way to guess audio format from content? Preferably non-calculus based.
Name:
Anonymous2011-09-16 11:20
Yuyuko
Name:
Anonymous2011-09-16 11:21
That's an interesting problem. The only thing that comes to mind for me is to have an ideal of an acceptable range of values for the frequencies in the audio, and then calculate some of the approximate frequencies prevalent in the audio clip, when interpreting the clip as of various formats, and then selecting the format that yields the most reasonable frequency range.
Sound, in LoseThos will function with just PC speaker. I'd like frequency and waveforms. It had HDAudio support, but not likely to work. Tough love might be limiting to just PC speaker.
The songs I've written are a significant asset. They are single-voice and there is support for an elegant single-voice musical notation. I'm convinced single-voice music is the way to go.
You have to experience the pleasure of how simple, easy and elegant music is in LoseThos, to appreciate it.
You can make a .SND file to export. I chose SND because it is raw waveforms. It's limited to 8000Hz.
LoseThos has buffer-based HDAudio support for recording and playing-back, but it's not very finalized. It seems impossible that it will work on very many machines. Might be wise to eliminate it.
>>16
People with your ideology would have invented something by now if it was feasible. The fact that it doesn't exist today suggests that the concept of infinite sets is sound as evidenced by our ability to use the ideas of calculus and infinite sets to model our observations of reality.
Name:
Anonymous2011-09-16 21:31
>>17
Lisp OS doesnt exist today. Does that means, that Unix's C/C++ is the only way?
>>19
Your answer shows that you're out of viable arguments. I will interpret it as your surrender.
Name:
Anonymous2011-09-17 0:22
http://libtiff.maptools.org/man/raw2tiff.1.html
raw2tiff can guess image width and height in case one or both of these parameters are not specified. If you omit one of those parameters, the complementary one will be calculated based on the file size (taking into account header size, number of bands and data type). If you omit both parameters, the statistical approach will be used. Utility will compute correlation coefficient between two lines at the image center using several appropriate line sizes and the highest absolute value of the coefficient will indicate the right line size. That is why you should be cautious with the very large images, because guessing process may take a while (depending on your system performance). Of course, the utility can’t guess the header size, number of bands and data type, so it should be specified manually. If you don’t know anything about your image, just try with the several combinations of those options.
There is no magic, it is just a mathematical statistics, so it can be wrong in some cases.
>>23
Long story short, he doesn't believe in the concepts of Zermelo–Fraenkel set theory and anything that depends upon them, such as calculus. Why? He rejects religion and he believes that set theory is a zionist conspiracy to turn mathematics into religion.
Name:
Anonymous2011-09-17 5:31
Also, it seems that russian modding comunity is full greedy retards. Nobody of them want to share heroes 4 map file formats (they reversed it to create random map generator) or executable memory mappings. Does this apply to modding scene in general or only to russian modding scene?
>>25
I'd say the general modding scene is like that. There is prestige in reversing hidden knowledge and many modders use their skills as a way to signal their superior intelligence rather than using those skills to uncover knowledge for society's sake.
>>26
Basically acting like /prog/-like elitist cunts.
Name:
Anonymous2011-09-17 6:28
>>26
What about Paul Siramy (who published open source diablo 2 engine) or Exult team (who reversed ultima games)?
Name:
Anonymous2011-09-17 6:41
>>27
I publish my source codes... wait! I have no source code!!!
Name:
FrozenVoid2011-09-17 7:27
>(who published open source diablo 2 engine)
He didn't. he just reversed engineered parts of d2.
orbis terrarum delenda est
Name:
Anonymous2011-09-17 7:59
>>30
His code correctly displays all diablo 2 content. Everything else is in plain text files. You can add a few Lisp scripts to implement game logic, or use it as a skin for nethack.
>>28
I suspect their motivation for doing that is to contribute to their communities for pleasure and prestige. This is certainly my motivation when I publish software patches to free software project maintainers.
Name:
Anonymous2011-09-17 8:37
>>32
They can keep code for themselves and act like complete jerks (the way russian coders do).