If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Clock Accuracy - 10ms?
Re: Clock Accuracy - 10ms?
Todays hardware performance is amazing, isnt it?
-
martinvicanek - Posts: 1328
- Joined: Sat Jun 22, 2013 8:28 pm
Re: Clock Accuracy - 10ms?
Yeah man,
FS is sample by sample.
You can get 128k out of it too.
FS is sample by sample.
You can get 128k out of it too.
-
nix - Posts: 817
- Joined: Tue Jul 13, 2010 10:51 am
Re: Clock Accuracy - 10ms?
martinvicanek wrote:Todays hardware performance is amazing, isnt it?
Hahah, I don't mean this. I mean that such code:
- Code: Select all
i = i + speed;
i = i&(i<samples);
processed at different clock (44100hz as you noticed) instead of 48Khz, makes huge differents if I use it for read sample from a Read module (as you suggested). Because it increase the speed of the whole process.
It is not a simple "for statement" that try to iterate in the slower time (more CPU you have, more faster it will be). Its a "for" that must iterate in a fixed time (i.e. sync). Am I right?
nix wrote:Yeah man,
FS is sample by sample.
You can get 128k out of it too.
But not every kind of processing inside FS! Ruby code is way more slower.
For what I see, only DSP code get and stay in synch at that speed (and maybe also Assembler code).
- Nowhk
- Posts: 275
- Joined: Mon Oct 27, 2014 6:45 pm
Re: Clock Accuracy - 10ms?
Anyway I think I'm making some other mistakes:
Without rely on Graph (I removed it; could be delayed as suggested), every time an integer in INDEX module is outputted, I should immediatly see the current sample of that index changing in the other SAMPLE module.
Instead they are way (waayy) to async. What am I missing dudes? Its somethings like 3/4 seconds delayed. Too heavy...
can't figure it out!
I guess that:
when i==0 output => -0.693325
when i==1 output => 0.755871
and so on. Instead it "change" around i=1.78 for example, and the first step is quicker than the others (i=1 happens quickly).
Without rely on Graph (I removed it; could be delayed as suggested), every time an integer in INDEX module is outputted, I should immediatly see the current sample of that index changing in the other SAMPLE module.
Instead they are way (waayy) to async. What am I missing dudes? Its somethings like 3/4 seconds delayed. Too heavy...
can't figure it out!
I guess that:
when i==0 output => -0.693325
when i==1 output => 0.755871
and so on. Instead it "change" around i=1.78 for example, and the first step is quicker than the others (i=1 happens quickly).
- Nowhk
- Posts: 275
- Joined: Mon Oct 27, 2014 6:45 pm
Re: Clock Accuracy - 10ms?
Yep- only streams use samples.
I'll have a peek at your schematic over the weekend
I'll have a peek at your schematic over the weekend
-
nix - Posts: 817
- Joined: Tue Jul 13, 2010 10:51 am
Re: Clock Accuracy - 10ms?
nix wrote:Yep- only streams use samples.
I'll have a peek at your schematic over the weekend
Wow, thanks! You will make me very happy, because I need to made this kind of stuff for the project Ive in my mind. Stay tuned...
- Nowhk
- Posts: 275
- Joined: Mon Oct 27, 2014 6:45 pm
Re: Clock Accuracy - 10ms?
hmm-
can I get the whole LFO schematic?
Do you need to use ppq?
ps- when you use .00001 as the counter iter,
it takes very long to count to 1, which is where it will register an integer step in the wave read
can I get the whole LFO schematic?
Do you need to use ppq?
ps- when you use .00001 as the counter iter,
it takes very long to count to 1, which is where it will register an integer step in the wave read
-
nix - Posts: 817
- Joined: Tue Jul 13, 2010 10:51 am
Re: Clock Accuracy - 10ms?
Hey again Nowhk,
I saw your post at Fruity, so I learnt more about the ppq hack.
Here is the counter I have modified->
So the string array and the counter read the same.
Does that help?
http://imageshack.com/a/img633/1214/qJgkVp.png
I saw your post at Fruity, so I learnt more about the ppq hack.
Here is the counter I have modified->
So the string array and the counter read the same.
Does that help?
http://imageshack.com/a/img633/1214/qJgkVp.png
-
nix - Posts: 817
- Joined: Tue Jul 13, 2010 10:51 am
Re: Clock Accuracy - 10ms?
This might help.
Check the blue section in this modulator. (It's an old 'myco' circuit from way back.)
Check the blue section in this modulator. (It's an old 'myco' circuit from way back.)
BV MUSIC SYDNEY AUSTRALIA..Songwriting and Software development
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
- billv
- Posts: 1157
- Joined: Tue Aug 31, 2010 3:34 pm
- Location: Australia
Re: Clock Accuracy - 10ms?
nix wrote:Hey again Nowhk,
I saw your post at Fruity, so I learnt more about the ppq hack.
Here is the counter I have modified->
So the string array and the counter read the same.
Does that help?
http://imageshack.com/a/img633/1214/qJgkVp.png
Uhm, I don't understand your schematic: it's identical to mine! And in fact using "i + .00001" I've the same problem.
billv wrote:This might help.
Check the blue section in this modulator. (It's an old 'myco' circuit from way back.)
Uhm, not really The method is the same (stream->read mem->ppq tick->out), but the problem is that the index/output of the stream seems not aligned with the DSP code. I can see the values change, but not at the correct integer time/index
- Nowhk
- Posts: 275
- Joined: Mon Oct 27, 2014 6:45 pm
Who is online
Users browsing this forum: No registered users and 54 guests