|
Post by admin on Feb 26, 2020 11:52:27 GMT
|
|
|
Post by NightMachines on Feb 26, 2020 12:03:07 GMT
This will be amazing for us Arduino fans! I assume that the D output on the module is the unfiltered digital PWM signal, which would be a really funny little addition to the Grains ... or is that output an extra digital pin output we can program individually (which would also be cool)?
|
|
|
Post by robertlanger on Feb 27, 2020 8:47:52 GMT
The D output is an extra output from Pin PB0 of the ATMEGA328 (Arduino digital pin 8). Additionally the AUDIO IN goes to the ADC4 input (Arduino analog input 4); it has a simple lowpass filter and is meant primarily as an audio input. Both are not part of the original GRAINS, but I added them to get a digital output and an audio input (for making digital FX stuff).
|
|
|
Post by NightMachines on Feb 27, 2020 12:14:09 GMT
Awesome! It’s so great to see that you always try to find ways to further enhance modules
|
|
|
Post by pampel on Feb 28, 2020 9:57:11 GMT
What is the effective sampling rate and bit depth for the audio in/out on this module? I read the Atmega328 docs but I'm not sure if there's anything about how this module is built that might effect it. I'm really interested in being able to upload my own DSP code!
|
|
|
Post by robertlanger on Feb 29, 2020 12:09:26 GMT
What is the effective sampling rate and bit depth for the audio in/out on this module? I read the Atmega328 docs but I'm not sure if there's anything about how this module is built that might effect it. I'm really interested in being able to upload my own DSP code! Basically, the ADC in the ATMEGA328 can go up to 15kHz sampling rate with full 10-bit resolution; with lower resolution even higher. It depends on the processing you want to do for each sample, but with a sample rate of 10-12 kHz a lot of nice things can be done, I think!
|
|
Lugia
Wiki Editors
Ridiculously busy...ish.
Posts: 556
|
Post by Lugia on Feb 29, 2020 23:26:25 GMT
Whooo...15k sample rate, 10 bit audio! This thing sounds like it's going to have a really nice, CRUNCHY sound to it! I'm no stranger to this sort of thing, either...my beloved Yamaha R1000s are 12-bit/20 kHz, and they have a VERY distinct sound to them. So distinct, that after I had one for a while, I realized that I needed TWO! Great stuff...you can either roll off the top end and get a more typical digital reverb result, or you can punch the highs with its parametic EQ and get that gritty aliasing and crud that was almost a lost sound when everyone making studio effects went to higher sample rates and bit rates for "better fidelity". Sometimes that might be a good thing...but not here!
|
|
|
Post by admin on Mar 8, 2020 4:08:24 GMT
|
|
|
Post by spacedog on Mar 8, 2020 10:37:28 GMT
Really interesting, thanks. I can see my digital row coming over the horizon.
|
|
|
Post by bearheadwood on Apr 4, 2020 2:47:20 GMT
Is there any video of the audio input and what that can be used for? I'd like to see how it could be used for processing.
|
|
|
Post by admin on Apr 4, 2020 3:05:46 GMT
Is there any video of the audio input and what that can be used for? I'd like to see how it could be used for processing. So far there doesn't exist a firmware that makes use of the audio input. However visuellemusik has done a tremendous amount of coding on new firmwares and we are soon announcing a new Github repository where we will store community firmwares. There will be tutorials on how to code and I hope that soon we will have an example of audio processing as well.
|
|
|
Post by bearheadwood on Apr 4, 2020 4:40:13 GMT
Is there any video of the audio input and what that can be used for? I'd like to see how it could be used for processing. So far there doesn't exist a firmware that makes use of the audio input. However visuellemusik has done a tremendous amount of coding on new firmwares and we are soon announcing a new Github repository where we will store community firmwares. There will be tutorials on how to code and I hope that soon we will have an example of audio processing as well. Good to know, thanks admin !
|
|
|
Post by admin on Apr 4, 2020 5:33:41 GMT
By the way ... I have now finally finished my long overdue video of the Grains module .. not my best work, but with the whole family at home nowadays it's hard to find a quiet moment to record ....
|
|
|
Post by MikMo on Apr 4, 2020 16:50:26 GMT
Ohh, it is even more versatile than i imagined. i need more than one now :-)
Mikael / MikMo
|
|
bert
Junior Member
Posts: 54
|
Post by bert on Apr 9, 2020 10:13:05 GMT
So far there doesn't exist a firmware that makes use of the audio input. However visuellemusik has done a tremendous amount of coding on new firmwares and we are soon announcing a new Github repository where we will store community firmwares. There will be tutorials on how to code and I hope that soon we will have an example of audio processing as well. Github repo is a great idea! I had the following idea for a firmware to help me tune an oscillator. Not sure if it makes sense? Let me know what you think.
- audio in: a constant tone from your oscillator
- cv in: 1v/oct - audio out: either - a copy of the input if the tone matches the frequency given by the cv input, silence otherwise - or a sound synthesized by the module with the frequency given by the 1v/oct input - digital out: a signal to control a LED or something to indicate a match
The module would do pitch detection on the audio signal and compare it with the 1v/oct input to see if the two frequencies lie within each other's range.
I wanted to do this because I'm finding it a bit of a hassle to having to play a reference note with some other instrument, and also because it's not so easy to compare frequencies by ear if they have different timbres and coming from different sources (especially if it's not a trained ear). Another reason could be that if your 1v/oct signal is not perfect (theoretically speaking), this method would take that into account.
There is one thing I don't understand. I've played around with the GRAINS a bit and I'm finding that none of the oscillator firmwares can give me a decent tracking. How can this be an issue with a digital oscillator?
By the way maybe it's worth mentioning on the wiki that for MacOS Mojave+ there is no need to install any drivers?
|
|
|
Post by admin on Apr 9, 2020 14:46:33 GMT
Hi bert, great idea about the tuner firmware. Maybe some of the code wizards out there can program something like this. About the pitch tracking, I think that the Nano is a bit on the weak side and that may be why it's hard to code a good tracking oscillator. Mind you, the firmwares that are out there for Grains have all been written by hobbyists and are not in any way guaranteed to work 100%. Grains is more an open platform for experimentation than a bread-and-butter sound module. Thanks for the hint about the drivers for Mac OSX, I'll add this to the wiki.
|
|
|
Post by admin on Apr 12, 2020 6:50:28 GMT
|
|
|
Post by bearheadwood on Apr 12, 2020 8:43:49 GMT
Cheers, admin I'll give it a wee look over
|
|
|
Post by admin on Apr 28, 2020 1:58:31 GMT
Check out the progress on the Github! These are some really awesome effects and experimental sequencers here many thanks to visuellemusik who created all of those! I'm slowly making tutorials for each of those firmwares, but I'm not keeping up with the rate these are getting developed Check it out at github.com/aemodular/GRAINS
|
|
|
Post by Gaëtan on Apr 28, 2020 5:06:54 GMT
Ooh interesting, I didn't know the firmware could be used for creating tools ! That gives me some swiss-army ideas... Too bad I don't have a Grains to try it out.
|
|
|
Post by lukylutte on Apr 28, 2020 6:34:28 GMT
I should have order several... Well there's always the next order...
|
|
|
Post by Gaëtan on Apr 28, 2020 8:20:01 GMT
Considering the low-pass and the fact that it is made to output audio, how well does it output CV ?
|
|
|
Post by visuellemusik on Apr 29, 2020 9:19:23 GMT
Hi gaetan, in principle CV-output is working quite good and already got used with the alternative Firmwares Grains-MIDI-out and Grains-EnvelopeFollower here: github.com/aemodular/GRAINSBut there is a so called "ripple effect" because the output from GRAINS, as you already mentioned, is optimized for analogue output and not DC / CV. Yet adding a so called "low-pass RC filter" the ripple effect can be eliminated. Some have good results using a 4.7k resistor and caps from 0.1 to 1.0 uF. A good picture of the curcuit would be this one for instance: www.werkstattworkshop.com/sites/default/files/media/projects/acc/lowpass_bb.png
Please note: you would have to adjust the values of the resistor and cap from the picture to the values given above (for instance 4.7k / 1.0 uF).
If you search the net for "arduino convert PWM to voltage" you will find many tutorials, for instance this one: provideyourown.com/2011/analogwrite-convert-pwm-to-voltageTo use the output for pitch CV can be a bit tricky (pitch drift over wider ranges) but results for other things like modulating a filter or VCA and alike will be very good!
In case you don't have a breadboard and the required capacitors / resistors at hand, you could get the new BRAEDBOARD module instead:
The module comes with the required components and many more that enable you to build the before-mentioned low-pass RC filter and a vast amount of other projects to work with AE Modular. Also this way you'd have full integration into the platform, saving wires because the module picks up the bus-signals instead of bits and pieces scattered on your desk.
All the best, Mathias
|
|
|
Post by rodney on Jul 25, 2020 6:25:31 GMT
how much surgery would it require for me to modify my existing Grains for Mozzi. Tim is an old friend so I'd love to show him the AE with his library in full flight.
I have no qualms about avoiding warranties, and postage from Oz to Germany and back is probably half the price of the module itself.
|
|
|
Post by admin on Jul 25, 2020 6:28:15 GMT
how much surgery would it require for me to modify my existing Grains for Mozzi. Tim is an old friend so I'd love to show him the AE with his library in full flight. I have no qualms about avoiding warranties, and postage from Oz to Germany and back is probably half the price of the module itself. Hi rodney, check out the updated schematic wiki.aemodular.com/pmwiki.php/AeManual/GRAINSBasically it's only that the original GRAINS uses Pin 11 to output PWM audio and that Mozzi sends to Pin 9 by default which is hard to change apparently.
|
|