namke
wonkystuff
electronics and sound, what's not to like?!
Posts: 691
|
Post by namke on Dec 3, 2020 17:03:17 GMT
(and if it is, how can I fix it?) So today I decided to try and port the wonkystuff 'Core1' firmware to Grains (It actually turns out that there are some fundamental differences which will need some thinking about, but that's beside the point) I was wondering why the output was sounding horrible, so I fired up my oscilloscope and found that the output is clipped horribly. Since my Braedboard module is next to the Grains, and the Grains output pin is easily accessible on the PCB, I quickly put together a simple reconstruction filter (10k resistor + 2 1nF capacitors in parallel) …and compared the results: The Grains output is noticeably clipped/overdriven. This is more obvious when looking at a sawtooth output: I have just built the reconstruction filter from the Core1 board, and the output is even smoother (which is nice!) So, to my question - does anyone elses Grains behave like this? I hope that it is just mine that is faulty, and that I can repair it (of course). For reference, I've added the sine-wave Grains code to my github here — also useful if anyone just wants a sinewave generator ( slowscape ?!): minimism's GitHub
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Dec 3, 2020 20:03:56 GMT
Interesting how the sawtooth has been turned into more of pulse wave. I always thought a signal that was too hot would simply clip at the peak, but in this cases it altered the wave shape even at low voltage. Strange
|
|
namke
wonkystuff
electronics and sound, what's not to like?!
Posts: 691
|
Post by namke on Dec 3, 2020 20:16:38 GMT
Interesting how the sawtooth has been turned into more of pulse wave. I always thought a signal that was too hot would simply clip at the peak, but in this cases it altered the wave shape even at low voltage. Strange Yeah, to me it looks like the op-amp reconstruction filter has too much gain and, because the signal is biased to half of the supply voltage, its clipping top and bottom. But that’s just what it looks like to me. I’m interested to see if they’re all like that or if it’s just mine
|
|
cpruby
Junior Member
Posts: 73
|
Post by cpruby on Dec 4, 2020 4:41:42 GMT
I gave it a go. I loaded up your code into my Grains. I don't have an oscilloscope, so I just recorded it in Ableton and zoomed into the waveform. The waveform is a low frequency tone. As I go up in frequency the waveform becomes more squared. (x-axes are different scales in each picture)
|
|
|
Post by slowscape on Dec 4, 2020 4:50:53 GMT
I NEEDS ALL THE SINEWAVES!!!1
I'm listening to your sinewave now, it's not a sinewave. Sounds like what I expect your scope'd wave to sound like, a less harsh square wave resembling an engine idle.
If we don't have any solid answer by tomorrow I'll get my scope out
|
|
namke
wonkystuff
electronics and sound, what's not to like?!
Posts: 691
|
Post by namke on Dec 4, 2020 9:07:22 GMT
Thanks cpruby and slowscape — seems like it’s not just me then I shall spend a little time today tracing out the board to see if I can make mine sound better (even if it’s like that by design, I’d prefer a cleaner signal). Onward!
|
|
|
Post by Dalarne on Oct 9, 2022 11:23:51 GMT
Hi guys, maybe I did not find the proper place for this question, but the subject title 'Is my Grains' broken?' definitely matches my question. The signal out from my Grains is extremely low. Looking at Carsten's video about the module it seems that the signal is much stronger on the module. I have tried all the firmware I could find but they all give very low signal out. I need to use 2signalamp at max level to get a signal that is about the same level as from for instance the VCO module. I think I read somewhere that someone else had the same experience but could not find any discussion about it.
|
|
|
Post by tIB on Oct 9, 2022 15:49:40 GMT
I had a quiet output at one point, but I solved the issue with a firmware reload
|
|
|
Post by rockysmalls on Oct 9, 2022 21:30:28 GMT
ah! it’s at this point i wish i had some kind of scope .. i’ve got 3 grains ( 2 early & one with the mozzi switch ) and could have compared them
|
|
|
Post by Dalarne on Oct 11, 2022 15:27:15 GMT
At least I managed to get a decent signal when trying the west coast osc software. Routed to 2signalamp and then to kuzmin I get a signal good enough.
|
|
|
Post by Dalarne on Oct 11, 2022 21:25:52 GMT
Beginning to really like this little guy. Definitely has character when I am able to look into this microcosm with the help of 2signalamp (adding even more character) and then through kuzmin filter (fantastic filter!). So I don't consider my Grains broken, only somewhat shy... just like me then...
|
|
pol
Wiki Editors
Posts: 1,365
|
Post by pol on Oct 13, 2022 20:07:01 GMT
Beginning to really like this little guy. Definitely has character when I am able to look into this microcosm with the help of 2signalamp (adding even more character) and then through kuzmin filter (fantastic filter!). So I don't consider my Grains broken, only somewhat shy... just like me then... The Kuzmin is my favourite AE filter, use it all the time!
|
|