Author |
Message |
Tim Kleinert
Joined: Mar 12, 2004 Posts: 1148 Location: Zürich, Switzerland
Audio files: 7
G2 patch files: 236
|
Posted: Sun Jun 14, 2009 5:54 am Post subject:
128 word virtual RAM memory Subject description: with read and store functionality |
|
|
Here's something the G2 hasn't been able to pull off up to now, and brings it further into Reaktor-territory.
It's a dynamic memory array of 128 words that can be read from or stored into. Use for eg. dynamic lookup tables, live 128-note sequencers with record function, algorithmic stuff, etc.
Due to its design, it updates at most every 256 samples (it fluctuates when the read/write address is changed, but it's never more than 256). This equals max. 2.66 milliseconds, or 375 Hz, which still compares very well to the refresh rate of the mod engines of many synths. However, this means some precautions when integrating it into a circuit which clocks higher, depending on it has to be implemented.
With this technique, larger and smaller RAM memories which follow numerical row of the power of 2 (64, 128, 256, 512 etc) can easily be made. The update rate will go higher or lower accordingly, as well as the DSP usage, in the case when more than one clocked delay module is required. Eg., a 512 word RAM array would need 4 extra modules (3 delays, one for calibration) and refresh every 10.666 msec, which might still be usable for many applications.
The memory content is preserved over the variations. Naturally, it cannot be saved with the patch however.
The details are described in the patch itself.
DSP usage (the raw circuit without the demonstrational extras):
8.5% cycles, 9.4% memory. Not bad.
cheers,
tim
Description: |
128 word virtual RAM memory with read and store functionality |
|
Download |
Filename: |
128 Word RAM TK.pch2 |
Filesize: |
1.95 KB |
Downloaded: |
1606 Time(s) |
|
|
Back to top
|
|
|
jksuperstar
Joined: Aug 20, 2004 Posts: 2503 Location: Denver
Audio files: 1
G2 patch files: 18
|
Posted: Sun Jun 14, 2009 9:40 pm Post subject:
|
|
|
Nice! They say Necessity is the Mother of Invention....so, what's the mother - are you working on more grainular synthesis engines? loopers? |
|
Back to top
|
|
|
Tim Kleinert
Joined: Mar 12, 2004 Posts: 1148 Location: Zürich, Switzerland
Audio files: 7
G2 patch files: 236
|
Posted: Mon Jun 15, 2009 1:35 am Post subject:
|
|
|
jksuperstar wrote: | Nice! They say Necessity is the Mother of Invention....so, what's the mother - are you working on more grainular synthesis engines? loopers? |
Ha, you got me! Yes, this indeed is a subcircuit of something new I'm working on. Not granular -I think I've taken that as far as I can.
I won't tell yet because the chance of it working is still 50/50. But if it does, it's going to be a new step for the G2. |
|
Back to top
|
|
|
dorremifasol
Joined: Sep 28, 2006 Posts: 814 Location: Barcelona, Spain
Audio files: 7
G2 patch files: 49
|
Posted: Thu Jun 18, 2009 4:32 am Post subject:
|
|
|
dorremifasol sets mode LURKER=ON _________________ Cheers,
Albert |
|
Back to top
|
|
|
seb
Joined: Aug 12, 2007 Posts: 11 Location: Berlin
|
Posted: Tue Jul 07, 2009 3:01 pm Post subject:
|
|
|
Hi Tim, that looks really nice! But unfortunately it doesn't work for me: I just loaded your patch and hit the store button and tried some addresses, but the memory readout is always 0. Do I need to change anything? I'm working on an unexpanded G2 version 1.40.
cheers,
Sen _________________ http://www.myspace.com/sebastianarnold |
|
Back to top
|
|
|
Tim Kleinert
Joined: Mar 12, 2004 Posts: 1148 Location: Zürich, Switzerland
Audio files: 7
G2 patch files: 236
|
Posted: Fri Jul 10, 2009 3:41 am Post subject:
|
|
|
Hi Seb,
Hmm, hard to say. It works fine for me on the demo version. I downloaded it again right now from this thread and tried it. Also, I'm already using it in other patches on the hardware. No problem.
The most probable issue is that you are not using the right pointer values for the store and write addresses. In order to access the 128 words, you have to use values 0-63.5 (equalling 128 steps) in discrete increments of 0.5, otherwise the circuit doesn't recognise them.
cheers,
tim |
|
Back to top
|
|
|
Chrono
Joined: May 18, 2008 Posts: 229 Location: NL
Audio files: 37
G2 patch files: 38
|
Posted: Thu Jul 16, 2009 4:39 pm Post subject:
|
|
|
is it possible to share us a Camtasia Studio tutorial:D some stuff of yours is way above my knowledge, as my mathematics are really low developed. But i do know how to use most of your patches.
Do you think a basic DIY tutorial can be found for the g2? |
|
Back to top
|
|
|
cappy2112
Joined: Dec 24, 2004 Posts: 2465 Location: San Jose, California
Audio files: 2
G2 patch files: 1
|
Posted: Thu Jul 16, 2009 9:38 pm Post subject:
|
|
|
Chrono wrote: | is it possible to share us a Camtasia Studio tutorial:D some stuff of yours is way above my knowledge, as my mathematics are really low developed. But i do know how to use most of your patches.
Do you think a basic DIY tutorial can be found for the g2? |
One of your neighbors already has one available. Send a PM to Roland Kuit
It's easy for you to get to. Not so easy for the rest of us outside of Europe. _________________ Free Tibet. Release the Panchen Lama from prison. Let the Dalai Lama return to his home. |
|
Back to top
|
|
|
Chrono
Joined: May 18, 2008 Posts: 229 Location: NL
Audio files: 37
G2 patch files: 38
|
Posted: Mon Jul 20, 2009 5:35 am Post subject:
|
|
|
true, i've noticed his tutorial a while ago. Ill see if i can order it. thnks |
|
Back to top
|
|
|
seb
Joined: Aug 12, 2007 Posts: 11 Location: Berlin
|
Posted: Tue Jul 21, 2009 3:47 am Post subject:
|
|
|
tim wrote: |
Hmm, hard to say. It works fine for me on the demo version. I downloaded it again right now from this thread and tried it. Also, I'm already using it in other patches on the hardware. No problem. |
Hi Tim,
now I tried your patch in the demo version. I load the patch, hit "Store!" and the value (=frequency) changes, so all seems to be fine. On my G2 Key (v1.40) this does not work. I also tried saving the patch to the G2 and restarting it. But the RAM readout is always 0. What is going on...?
Seb _________________ http://www.myspace.com/sebastianarnold |
|
Back to top
|
|
|
Tim Kleinert
Joined: Mar 12, 2004 Posts: 1148 Location: Zürich, Switzerland
Audio files: 7
G2 patch files: 236
|
Posted: Tue Jul 21, 2009 6:30 am Post subject:
|
|
|
seb wrote: | tim wrote: |
Hmm, hard to say. It works fine for me on the demo version. I downloaded it again right now from this thread and tried it. Also, I'm already using it in other patches on the hardware. No problem. |
Hi Tim,
now I tried your patch in the demo version. I load the patch, hit "Store!" and the value (=frequency) changes, so all seems to be fine. On my G2 Key (v1.40) this does not work. I also tried saving the patch to the G2 and restarting it. But the RAM readout is always 0. What is going on...?
Seb |
hmm, I'll look into this. I'm very busy right now, perhaps Friday. |
|
Back to top
|
|
|
stock
Joined: Jul 11, 2005 Posts: 10 Location: Tokyo
G2 patch files: 10
|
|
Back to top
|
|
|
varice
Joined: Dec 29, 2004 Posts: 961 Location: Northeastern shore of Toledo Bend
Audio files: 29
G2 patch files: 54
|
Posted: Wed Dec 16, 2009 2:39 pm Post subject:
|
|
|
stock,
There is a bug with BinCounter module used in your patch. Read this topic for more information:
http://electro-music.com/forum/topic-23906.html
In your patch, you may be able to connect the unused 128 output the reset input on the BinCounter module to get around this bug. You should test this to see if that works. _________________ varice |
|
Back to top
|
|
|
stock
Joined: Jul 11, 2005 Posts: 10 Location: Tokyo
G2 patch files: 10
|
|
Back to top
|
|
|
Tim Kleinert
Joined: Mar 12, 2004 Posts: 1148 Location: Zürich, Switzerland
Audio files: 7
G2 patch files: 236
|
Posted: Sun Jan 17, 2010 3:57 pm Post subject:
|
|
|
Thanks for sorting this out Cedric.
Virtual ROM memory (yes) coming soon. |
|
Back to top
|
|
|
3phase
Joined: Jul 27, 2004 Posts: 1183 Location: Berlin
Audio files: 13
G2 patch files: 141
|
Posted: Wed Jan 20, 2010 1:22 am Post subject:
|
|
|
?? really? i would like to beef up my old sequencer concepts.. this might be the way...
do you know when this might be a reality? |
|
Back to top
|
|
|
3phase
Joined: Jul 27, 2004 Posts: 1183 Location: Berlin
Audio files: 13
G2 patch files: 141
|
Posted: Fri Jan 22, 2010 9:04 pm Post subject:
|
|
|
what is the reason this patch has to be fixed for Os1.40
is ir working in 1.62? are there other bug fixes or changes in 1.62 that should made us change to 1.62? |
|
Back to top
|
|
|
|