here is the eclipse tutorial i used to get the free toolchain with GDB
support working under windows
http://shareee.netne.net/wordpress/?p=5
there you will also find a simple LED blink example project.
afaik CodeSourcery lite and Yagarto don't support the hardware FPU at
the moment. They
It is, in fact, an aliasing problem.
I changed the code to use a sine table wich works fine.
Then I implemented a phase distortion saw oscillator similar to the
casio CZ series.
when i increase the harmonic content (morph more and more to saw) I get
the clicks again.
But this is a special
that frequencies that don't have an integer-sample
period will look different each cycle.
Ross.
On 9/04/2012 11:28 PM, Julian Schmidt wrote:
Hello all,
I'm trying to get an oscillator running on the STM32F4 discovery board.
I'm sending my audio with 44100Hz via I2S to the onboard codec.
However
oscillator at full-scale amplitude. Try reducing the wavetable
amplitude.
-olli
On Mon, Apr 9, 2012 at 4:28 PM, Julian Schmidt
julian_schm...@chipmusik.de wrote:
phase += phaseInc(440); // calculate the phase increment for 440 hz and add
it to phase
if(phase= TABLESIZE) phase -= TABLESIZE;
return
, what size?
On Apr 9, 2012, at 6:28 AM, Julian Schmidt wrote:
Hello all,
I'm trying to get an oscillator running on the STM32F4 discovery board.
I'm sending my audio with 44100Hz via I2S to the onboard codec.
However I'm experiencing strange problems.
my code ist quite straight forward
Am 09.04.2012 19:16, schrieb robert bristow-johnson:
i hadn't heard of this dev board before. at
http://www.st.com/internet/evalboard/product/252419.jsp it says that
the single unit prices is US$14.9 . is that right? that's nearly free.
yes exactly. it's cheaper than buying the cortex m4
.
julian
Am 09.04.2012 20:28, schrieb Olli Niemitalo:
On Mon, Apr 9, 2012 at 7:17 PM, Julian Schmidt
julian_schm...@chipmusik.de wrote:
setting the phase increment to an integer value solves the problem.
[...]
adding linear or cubic interpolation makes it a little better, but the
pulsing
here are some screenshots...
the beating bell shape on 440Hz sinus with 84 harmonics
http://i.imgur.com/B4s0M.png
a simple sine table 220Hz
http://i.imgur.com/hPKj1.png
julian
Am 09.04.2012 22:32, schrieb Julian Schmidt:
I think you win! ;)
first i tried switching to integer phase
Am 09.04.2012 23:22, schrieb Olli Niemitalo:
On Mon, Apr 9, 2012 at 11:32 PM, Julian Schmidt
julian_schm...@chipmusik.de wrote:
I really think it is an aliasing problem.
but not due to the wrong wavetable content, but due to a cheap audio codec
with poor filters.
[...]
even when i output