this post was submitted on 07 Mar 2024
50 points (84.7% liked)

Ask Lemmy

26875 readers
3289 users here now

A Fediverse community for open-ended, thought provoking questions

Please don't post about US Politics. If you need to do this, try [email protected]


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either [email protected] or [email protected]. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email [email protected]. For other questions check our partnered communities list, or use the search function.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 1 year ago
MODERATORS
 

Also: can mp3s be totally represented as a text file?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 47 points 8 months ago* (last edited 8 months ago) (8 children)

Everything is just vibrations; vibrations are just waves. Vinyl records make a physical copy of the sound wave. As the needle drags across it at the correct speed it starts vibrating, reproducing the sound that went into the groove in the first place.

Sound files are more tricky: Basically you need to measure the wave as it goes up and down, store it into a file, and then have a computer convert it back into vibrations with the help of a loudspeaker. The more times you measure the sound wave per second, the better quality your recording will be.

As we know that sounds are waves, it's not so hard to imagine a text file containing sound. Below is a very simple wave form represented with numbers:

- _ - ⁻ - _ - ⁻ - _ - ⁻ - _ - ⁻ - _ - ⁻ - _ - ⁻ - _ - ⁻ - _ - ⁻ - _ _ - - ⁻ ⁻ - - _ _

1 0 1 2 1 0 1 2 1 0 1 2 1 0 1 2 1 0 1 2 1 0 1 2 1 0 1 2 1 0 1 2 1 0 0 1 1 2 2 1 1 0 0

In theory, a computer could convert this into sound. It would sound awful.

[–] [email protected] 15 points 8 months ago (7 children)

While it sounds simple enough to say 'waves captured in media reproduce sounds' it's still pretty mind bending to note that we can capture all the distinct parts of a symphony in that one wiggly little groove of a record.

[–] [email protected] 21 points 8 months ago (4 children)

That is because of linearity/superposition - look up both of those concepts for more info. Basically, you can add as many sounds together as you'd like and it is the same as a single, different sound - so if you can recreate the one sound, you can recreate all of them.

The speaker doesn't know "this part of the wave is from the drum and that part is from the guitar", etc

[–] [email protected] 8 points 8 months ago* (last edited 8 months ago)

Which is still mind blowing in its own right. What's incredible in the end is not so much the process of sound recording as the nature of reality itself.

For this part of the equation I find it useful to think of two tin cans with a string between them, which is a perfectly capable microphone/loudspeaker set-up.

load more comments (3 replies)
load more comments (5 replies)
load more comments (5 replies)