Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Sounds in Binary

Author
Message
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 9th Feb 2011 07:23
So im wondering, what would sound on computers sound like if there was no binary to analog converter? Is there some software that could simulate this?? Thanks for your answers

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 9th Feb 2011 08:26
It wouldn't sound like anything as you'd need to have to convert it into analogue to be able to drive the speaker.

TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 9th Feb 2011 08:50 Edited at: 9th Feb 2011 08:55
The binary data for the sound is usually 32-bit, so try connecting 33 wires to a speaker (32 for data, 1 for GND)

Unless of course he means to listen to this:



Instead of this:



[EDIT] Why can't Bill Gates' FABULOUS Microsoft Internet Explorer 8 copy links to images?

Then you'd hear a distorted form of the sound.

TheComet

Fatal Berserker
14
Years of Service
User Offline
Joined: 2nd Jul 2010
Location:
Posted: 9th Feb 2011 09:06
lol.. 33pin connector, would be huge.

Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 9th Feb 2011 11:10
Sure you'd be able to make it sound like something! Ever heard of a square wave? It's not pretty but it works! You just flip an output pin between high and low rull rull fast.
like this:


Of course, you can't make sound with "true" or "false", but you can with a tiny speaker and +5v/-5v

The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 9th Feb 2011 18:51
Quote: "The binary data for the sound is usually 32-bit"

Sorry that's not true, most sound is 16-bit. I can't think of anything where 32-bit sound is used, 24-bit is standard in studios.

Diggsey
19
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 9th Feb 2011 19:17 Edited at: 9th Feb 2011 19:17
Actually, it is semi-true Most sound has 2 channels, for left and right, and so the total size of a sample is usually 32-bit.

[b]
The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 9th Feb 2011 19:42
But two 16-bit channels doesn't give you a range of a single 32-bit channel - in audio it's all about the range, so even if it was 16-bit stereo, you'd still class it as 16-bit because that's what your dynamic range is.

Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 9th Feb 2011 23:30
Interesting, i meant if the individual one's and zero's were channeled into the speaker. Like if a value was say 79 you would hear the sound equivalent to if a 1001111, kinda like NeuroFuzzy said with the square wave. One would be a high, zero would be a low. In other words if the binary signals were sent to the speaker without the binary to analog converter. Thanks for all the answers though

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
thenerd
16
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 10th Feb 2011 02:29
Quote: "Interesting, i meant if the individual one's and zero's were channeled into the speaker. Like if a value was say 79 you would hear the sound equivalent to if a 1001111, kinda like NeuroFuzzy said with the square wave. One would be a high, zero would be a low. In other words if the binary signals were sent to the speaker without the binary to analog converter. Thanks for all the answers though
"

It would likely sound like static.

Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 10th Feb 2011 02:56
I figured. I dont suppose there is any software to simulate this, is there?

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
CodemanV
19
Years of Service
User Offline
Joined: 25th Aug 2005
Location: South Wales Valleys, UK
Posted: 10th Feb 2011 03:51 Edited at: 10th Feb 2011 03:55
Hello

A lot of people here may not remember this. In the olden days of home coding, we used cassette-tapes to save and load data.

If you left the speaker on, the data went through cycles something like
Quote: "
beeeeeeeeeeeeeeeeep wughwahwughwaghughwaghuwaghwauughhuaghwa beep
"

and continued like that until all data had been loaded. It might sound a bit like that.

Some people refer to this audio phenomenon as "Minimal Techno".
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 10th Feb 2011 04:34
That is interesting i must say

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.

Login to post a reply

Server time is: 2025-05-22 11:41:06
Your offset time is: 2025-05-22 11:41:06