lordpil's blog


hmm
so i can have multiple phase accumulators and then like average samples
i think it needs an LFO

Posted by renesis at 15:12 | permalink | 0 comments


HYPE
they prob had to like finish the box and the manual and like actuall make 10,000 of them
music and gaming industry bitches about their shit being stolen but they give that shit away to all sorts of people

Posted by renesis at 14:58 | permalink | 0 comments


omgno
haha, k
dont like like just leavin your soon new games out in a retail environment

Posted by renesis at 14:53 | permalink | 0 comments


the tv show is like cg futurama but worse
but like they all feel like they could be futurama ep plots
i dont have a wii
but i want one

Posted by renesis at 14:48 | permalink | 0 comments


s/your\ nuts/pussy how i usually hear it

Posted by renesis at 14:24 | permalink | 0 comments


heh
i hope they make bugs go away
blackmoon: its prob not as bad as everyone holding microwave trancievers up to their face for hours a day
haha awesome show
i have the whole series on discs somewhere
blackmoon: its like the part in between your balls and your butthole
but thats more a term for girls
ha i remember that vid

Posted by renesis at 14:19 | permalink | 0 comments


yeah the analog sine looks pretty but bit unfocused
on the dso in sampling mode you can see al the uneven steps, its neat
funku like current or funky voltage?
blackmoon: national overture 8dips
and ti has headphone amps too
heh, tall chip
heh, the one i used was like locked in inverting mode with ganged Vin+ for mute
and an extra supply bypass pin

Posted by renesis at 14:14 | permalink | 0 comments


ghostman: theyre all audio or gen purpose stuff made for like +-15v supply
they dont spec for below like 6V on any of the curves
yeah im just gonna make a transistor amp
its just for a pc speaker
i dont wanna buy stuff
i have enough parts to make stuff
yeh, heheh
its just to throw onto a project r2r dac, is not for a board
oh
kevtris: i coded the dds phase accumulator thing
omg its like perfect accurate, sub 1% at every freq according to the tek

Posted by renesis at 14:09 | permalink | 0 comments


yeah none of my opamps will wanna work at 5v
so i gotta bust a discrete amp

Posted by renesis at 13:51 | permalink | 0 comments


i have tl072, lf412, lf353
shit i should prob go sleep
i was up all night no sleep doing DDS code and debugging
then 10 hour school day

Posted by renesis at 12:44 | permalink | 0 comments


speaker
i made it with an avr
ohsixi: the psrr on those is not so awesome
lots of legend opamps
plus i dont have them

Posted by renesis at 12:39 | permalink | 0 comments


heh, i need to hax up a little amp for my DDS
CLASS A, WOOO
heh, prob go for like .1w output
well only conceptually right now
but i got sot23 3904 and mad tiny resistors and caps
so anything is possible
direct digi synth
i dont have any rail to rail opamps, i dunno how kickass tl042 or lf412 will be in 5v single supply mode

Posted by renesis at 12:34 | permalink | 0 comments


my pcb drills have arrived \o/
cold air in my ears while riding bike kinda hurts

Posted by renesis at 12:29 | permalink | 0 comments


heh i have digital attenuators i can do ADSR with

Posted by renesis at 04:57 | permalink | 0 comments


w00t, midi note selection table operational
so like, optos and the uart and its a midi synth

Posted by renesis at 04:49 | permalink | 0 comments


charles: theres just too many =\
meh
instead of doing dds synth i should have been sleeping or doing homework or reading or some shit
weird

Posted by renesis at 02:45 | permalink | 0 comments


square waves are HF =(
NO MERCY FOR TWEETERS OR EARDRUMS
be pretty neat to do this with an 8pin avr and a serial dac
just google gw and hit print

Posted by renesis at 02:36 | permalink | 0 comments


im looking at a 23KHz sine and its beyond good enough for audio
keep in mind cd quality is 44.1KHz, im doing 500KHz
its not hooked up to a speaker
only future nanopets can hear it
im gonna make a midi time value table
and i dont think i want any filtering, cuz i want it to do square/tri/saw waves at least

Posted by renesis at 02:31 | permalink | 0 comments


ha wicked, i had the DSO in like 1Hz sample mode, and somehow a 23000Hz sine showed up as like a 1.3Hz sine
yeah i always say it like that in my brain
macegr: omg dds phase accumulator sine waves are like perfect
synthesizer
i was doing fixed sample quantity at variable output freqs, very pretty waves
but accuracy got shitty as you went up in freq for wavetable
so kevtris said use phase accumulator
so i did and its like perfect
none

Posted by renesis at 02:26 | permalink | 0 comments


wow it did it again
cursors are exactly at 1Hz

Posted by renesis at 02:13 | permalink | 0 comments


so like 525KHz max sample out rate
heh, i love rolling trace mode

Posted by renesis at 02:08 | permalink | 0 comments


mine can be as big as you have flash
stupid avrsim set to 4mhz
i was bustin impossible sample rates for a sec there =\
1.9uS

Posted by renesis at 02:03 | permalink | 0 comments


sample_no=(output_freq*2^32)/sample rate works perfect
heh, tek says at cursor deltaV=0.00 freq=1.0000KHz
wow
kevtris: ty
some guy did a 256 sample dds synth on a tiny2313 with some nice asm hax for speed and space conservation
but its like hard limited at 256 samples cuz of the cool shit he did

Posted by renesis at 01:58 | permalink | 0 comments


((F_out*2^10)/F_sample)*2^22 is the secret
atmega avr
tho itll work on any of them
i just have a mega164p plugged into my stk500
haha man i was chasing some error forever
i think it was like something shorting some of the dac circuit
i flipped it upside down and stared at it a bit and it fixed the dac
c?
no i did the fixed point in asm
its a 32bit phase accumulator
and im using the last 10 bits with a 1024 sample sine table
just 8bit samples

Posted by renesis at 01:51 | permalink | 0 comments


ooo
the dds freq had like a 1% error in 100KHz output rate, 5% at 500KHz
i think its an n-1 error tho
like i put 40 in a count register for 40 counts
you gotta put 39 to get 40
so its like perfect now
i put in 440Hz value
the tek says its 439.5Hz
and i dont think this was a special super accurate 20MHz xtal

Posted by renesis at 01:45 | permalink | 0 comments


yay i figured out the maths

Posted by renesis at 01:21 | permalink | 0 comments


w00t
dds synth output working
i gotta figure out the maths tho =\

Posted by renesis at 01:11 | permalink | 0 comments


Top | Add to Technorati Favorites


© 2007 lordpil.   XHTML 1.0! CSS! Site design by GNAA  Blog Engine by pbx | MULTI2 | ian hanschen | lolwat