hypnoticdesign said:
Its the damn term sample that gets me, why this term is used for so many things in music production is beyond me, it just creates confusion
As do many of the terms that are used in Engineering. But there is just one 'official' meaning and that is the instantaneous value of the input waveform, that is measured and stored / processed. Reading the popular press for 'enlightenment' is usually a forlorn hope. 'Sampling' often means taking a long string of samples - but that's another topic.
hypnoticdesign said:
Surely frequency would make a difference. I mean if a sound never lands on a zero crossing that would have to sound different to a sound that always lands on a zero crossing?
The only instance of this is when you are sampling at exactly twice the signal frequency. Nyquist demands that your input signal frequency must be
lower than that. I made a point, earlier, of saying that the process of reconstitution may take some time and, if you have an input tone that's 1Hz below the Nyquist frequency and you want to avoid your zero crossing problem, then you may need to take a half second for the samples to coincide with max and min of the waveform. Note - you couldn't have a very short burst of this frequency and still comply with the Nyquist criterion because the input signal would have components, higher than f
s/2 so, by definition, your input waveform would have to have a long enough stretch of high frequencies for the zero crossing problem to be avoided. The consequences of sampling are very much dependent upon the filtering that's used and that tends to get ignored in discussions; the basic theory assumes 'perfect pre and post filtering - to keep the signal within the Nyquist limits in a healthy way..
hypnoticdesign said:
A lot of you are saying that there's no point sampling at higher rates, but that's not actually true.
Absolutely. But first, remember that basic sampling theory relates to Analogue samples. Mr Shannon was around before the age of digits. If you want to introduce the consequences of digitisation / quantisation of your samples then that's a new ball game. as soon as the samples are quantised, there is
distortion and this distortion is often described as Quantisation Noise because of what it can sound like. Quantisation noise can sound a bit like crossover distortion (buzz buzz during low level passages). There is a tradeoff between sample rate and the number of bits needed per sample. Gross oversampling can have massive advantages and the 'bit slice' ADC, which uses single bit quantisation and many MHz of sample rate can give very low quantisation noise because this noise energy is spread over the whole spectrum and the post filter will remove all but the audio components of the noise. There is so much to read about this topic and, of course, there is a lot of BS in the Hi Fi mags.
hypnoticdesign said:
Soooo... Samples are little snapshots(so to speak) of amplitude that make up waveforms depending on the arrangement of the samples. So if I've got a sine wave at 44khz samplerate and play 1 bar at 60 bpm.. I will have 44000 samples in a bar regardless of frequency.
I just found this. You are jumping from basics to practicalities here. If you have a simple sampling synthesiser then each note for a particular sound could be based on a recording of a number of cycles of just a single source sound, scaled up or down in frequency. Between this and the playback, there must be a re-sampling, to stretch or compress the available string of samples so that they are avaiable at the standard sample rate of the downstream circuits. This involves re-timing and interpolating between the recorded samples.