I can't really say that it's accurate, but I did a bit of looking up on this one to find the maths. probably not accurate... paragraph below, not too sure if I'm right... | V basically. Sound is a vibration, and a speaker shakes the air back and forth, which makes the shaking travel through the air to your ear. sine waves are like pictures (REPRESENTATIONS!!!) of that, the line goes up when air is pushed, and goes down when air is pulled frequency is how fast it shakes, so a high frequency means fast shaking, which makes a high note. frequency is heard by us as pitch. if you double the frequency, you increase the pitch by an octave. amplitude is how tall the wave is, which is basically like how hard it gets pushed. we hear this as volume. So, the higher the amplitude, the louder it is to us. in summary, frequency changes pitch, amplitude changes volume, you can have a quiet low note and a quiet high note, because frequency and amplitude are two different things
don't take my word for it, I'm pretty confident it's not entirely accurate, but hey, it's cool lmk if I got something wrong!!! I'll gladly explode yes I know if you change the variables mid-project it turns into spaghetti