[LAU] Sampling an external oscillator waveform

pierre jocelyn andre temps.jo at gmail.com
Tue Feb 10 13:26:37 UTC 2015


Hello,
oscillator is a bad idea.
I create the sound with :

// son "i" api 301
  int tabamplitude[38] =
    {
132, 123, 142, 121, 144, 124, 140, 123, 141, 121, 137, 125, 130, 124,
130, 122, 126, 122, 129, 118, 130, 120, 128, 122, 131, 121, 131, 126,
129, 126, 131, 125, 128, 123, 127, 123, 128, 128
};
  int tabdurer[38] =
    {
7, 6, 7, 7, 7, 6, 7, 6, 7, 7, 7, 7, 5, 6, 6, 5, 7, 4, 6, 7, 7, 6, 7,
6, 6, 6, 7, 7, 5, 5, 5, 8, 7, 14, 9, 6, 21, 2

};

No oscillations in the sounds. There fronts equilibria

look at forum ubuntu here

http://forum.ubuntu-fr.org/viewtopic.php?id=1781631

to get an idea for how make the sounds

Best Regards

2015-02-10 14:10 GMT+01:00 Clemens Ladisch <clemens at ladisch.de>:

> F. Silvain wrote:
> > I want to sample the waveform of an oscillator of a hardware synth.
> > One period of the waveform must have 65536 points in the end.
> >
> > Will the following process work:
> > Samplerate 48kHz, Oscillator pitch 71.0449218750000Hz
>
> You synth's oscillator really has a precision of 0.1 picoseconds?
>
> Anyway, the two devices' clocks are not synchronized.  Just record the
> waveform so that it has way more than 2^16 samples, then determine how
> many samples you actually have, and resample them.
>
>
> Regards,
> Clemens
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user at lists.linuxaudio.org
> http://lists.linuxaudio.org/listinfo/linux-audio-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20150210/0dea494f/attachment.html>


More information about the Linux-audio-user mailing list