- It is currently Thu Jun 30, 2022 7:22 am • All times are UTC - 8 hours [ DST ]
using slower sample rate
3 posts
• Page 1 of 1
Re: using slower sample rate
i would suggest running the sine_generator test code, and seeing if you can generate a 1khz tone by turning the knob. what im suspecting is happening, is that your increment calculation is turncating, and you are jumping ahead by 512 samples each time. but, if you start at position 0, you jump to 512, and then to 0, etc. the values at 0 and 512 are identical, and therefore no output is produced.
- guest
- Site Admin
- Posts: 449
- Joined: Thu May 20, 2010 11:58 pm
Re: using slower sample rate
Thanks, that is exactly what happened. I tried to generate a little bit higher frequency (i.e. at 1.25 kHz), and it worked.
- rputra
- Posts: 3
- Joined: Thu Apr 10, 2014 10:42 pm
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest