Better HN
topnewbestaskshowjobs
Log inSign up

evilkrow

2 karma · joined Mar 3, 2015 (11y ago) · 1 submissions

Submissions

comment 11y ago · link · parent

I sent this to jliat and he had this to say:

"Oops indeed! but not me! :-)

they have confused THREE! works. The 1 TB set of disks was not made using the Java code! but made from samples of Harsh noise.... as MP3 files = 1 TB - Harsh Noise not HNW! Each MP3 being made of random chunks of MP3s spliced together using a VBnet program. The other piece 510 disks is HNW but again not made using the JAVA code he refers to, and this uses .WAV files.... not .AU !!! (it layers randomly HNW noise to create a .WAV)

Now as to the JAVA code - I wrote this must be 6 - 7 years ago as an exercise- but i've just run the program which creates the .AU file of HNW... max value in the file is +32729 minimum -32720... were found in a small chunk of the .AU file.... so?

here is a sample of the .AU file actually produced by the code to which he refers...

-12248 -30299 5627 -12218 6453 6684 6991 6832 6059 -30395 -30301 -30188 -30270 -12141 -30911 -32020 -32664 32208

Now i'm ready to admit i'm no JAVA expert...!!! which is why i use .Net! But this was an exercise in seeing how to make HNW using Java. It was never released as a piece. I used some code I found for making sine waves and plugged in my random algorithm... nothing smart. But it did work! Why it seems IDK.

As a rule of thumb i tend to look at the output of any programs...

Feel free to post this response as i'm not a member of the group, but would think as the code and program is there a simple test run would show its harsh. That my attempt to not use wimpy numbers doesnt seem to work as it should is besides the point. From memory i probably just tweaked these numbers until the results were harsh - that in the above data set (only a small number of samples above) gives a standard deviation of 29101.09796...

http://www.jliat.com/pics/graph.JPG

If you look at this you can see a plot for the output of the JAVA HNW.... its high! I gave the source so anyone into JAVA could play with this... as i say its not a piece but a by-product on seeing how HNW / Noise has large Standard Deviation and low SNR and as one might expect produces HNW. The harshness being a product of sudden and large changes in values...

In fact i like the fact that in spite of the (MY) mistake it still works - can you fail in noise? :-)

best

James

P.S. The JAVA HNW is way too slow to make these big terrabyte files... it would take much longer to write them than they sound when played!!!"