Jump to content
IGNORED

making sounds/music with 0's and 1's


Recommended Posts

Guest JohnTqs

i have just read that it is possible to make sounds in a hex editor by typing 0's and 1's. What program can do this? Like you type in the numbers and then save as a wav or mp3 etc...

 

of course it would take a while to type just a few seconds of noise, but it would be a fun thing to try out.

Link to comment
https://forum.watmm.com/topic/40188-making-soundsmusic-with-0s-and-1s/
Share on other sites

Guest spraaaa

not exactly what you're looking for maybe, but you can open any file as raw data in audacity, try a text editor plus that, you will probably need to type a lot of 0s and 1s before you get anything other than a 1 ms long screech though.

 

I want to know how to open the resulting sound as the original file type... put a flanger on a jpeg and then see what it looks like. usually the file is just unreadable if I change the extension.

Guest JohnTqs
  spraaaa said:
not exactly what you're looking for maybe, but you can open any file as raw data in audacity, try a text editor plus that, you will probably need to type a lot of 0s and 1s before you get anything other than a 1 ms long screech though.

 

I want to know how to open the resulting sound as the original file type... put a flanger on a jpeg and then see what it looks like. usually the file is just unreadable if I change the extension.

 

gave that a shot all i got was a clicking at the beginning, then white noise for 3 seconds. maybe i need more numbers

Guest hahathhat

you're probably best off doing it in max/msp or something. it's not as simple as you'd think, the wav file format is a real hairball. raw probably didn't work because it needs headers etc. to tell the editor about the file parameters (sample rate, loop points, you name it).

 

you might be able to kludge something up by figuring out what format sound forge etc uses when you copy a bit of audio to the clipboard, and figure out how to write your own clipboard contents to paste back in... would that work at all? i dunno.

Edited by hahathhat

Open Gimp, select A4 template, type in a bunch of 0 and 1, save it then open Metasynth and convert that sucker.

  JohnTqs said:
i have just read that it is possible to make sounds in a hex editor by typing 0's and 1's. What program can do this?

A hex editor.

I haven't eaten a Wagon Wheel since 07/11/07... ilovecubus.co.uk - 25ml of mp3 taken twice daily.

Guest hahathhat

okay, so, you can all thank me via sending massive $$ to my paypalz accounts:

 

http://www.nevenen.com/apps/wat2wav.zip

 

requires .NET runtime. proof of concept class code, this app is shit but it works.

 

 

HOW TO USE:

 

1. You need .NET runtime

2. Click Browse, load a wave file. This will set the sample rate/bit depth/stereo etc. so you have to do this. if you load most anything other than a wave file via browse, it'll probably crash, and it will definitely fail to export.

3. do whatever to the text. delete it, replace it with your own, blah blah

4. set desired file name for export

5. click "save as..." button

 

notes:

 

- if you load more than ~100000 bits of wave data, well, be prepared for a long-ass wait. the default number of bits to load is 32000 for a reason. in fact, too large and it'll probably crash.

 

- 32000 bits, the default, is a mere fraction of a second at 44110hz/16bits/stereo. probably the only way to get useful results is to work in 11025/8bit/mono or such.

 

- for best results, the number of bytes should probably be a multiple of the sample size

 

- this app is a piece of shit, i should rewrite it in C++ so it can handle larger datas, and, like, not crash, but im bored coding for now

Edited by hahathhat
Guest hahathhat

i should have just included this:

 

http://www.nevenen.com/apps/shitsin.wav

 

11025, 8bit, mono, 1second sin wave @ 440hz.

 

i used it for testing. i was able to get some harsh mother glitchy crap easily by copying and pasting bits of the sin wave around.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   1 Member

×
×