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
HardSync FM problem
25 posts
• Page 3 of 3 • 1, 2, 3
Re: HardSync FM problem
I do hope there comes a solution which satisfies you Adam, and I would indeed love to see it.
One thing that bothers me about Martin’s idea is that it would surely involve a small delay while the simulation takes place. This would manifest as latency and could be up to 50mS, depending on frequency and phase adjustment. If this would be acceptable (which I doubt) then tulamide’s approach of blanking the first part-cycle would be a solution. Simply wait for the first sync pulse to arrive before allowing the output through.
The big issue would be with playing chords, since each note would start at a slightly different time I think.
Anyway, good luck!
Spogg
One thing that bothers me about Martin’s idea is that it would surely involve a small delay while the simulation takes place. This would manifest as latency and could be up to 50mS, depending on frequency and phase adjustment. If this would be acceptable (which I doubt) then tulamide’s approach of blanking the first part-cycle would be a solution. Simply wait for the first sync pulse to arrive before allowing the output through.
The big issue would be with playing chords, since each note would start at a slightly different time I think.
Anyway, good luck!
Spogg
-
Spogg - Posts: 3358
- Joined: Thu Nov 20, 2014 4:24 pm
- Location: Birmingham, England
Re: HardSync FM problem
1. Start simulation at a sync point
2. simulate master and slave including FM up to the point where your real oscillator starts (no need to simulate a full cycle)
3. use the osc states at the end of the simulation as initial values for the real oscs
In blue stream you can do that in stage0. I don't think that's possible in poly, though.
2. simulate master and slave including FM up to the point where your real oscillator starts (no need to simulate a full cycle)
3. use the osc states at the end of the simulation as initial values for the real oscs
In blue stream you can do that in stage0. I don't think that's possible in poly, though.
-
martinvicanek - Posts: 1328
- Joined: Sat Jun 22, 2013 8:28 pm
Re: HardSync FM problem
martinvicanek wrote:In blue stream you can do that in stage0. I don't think that's possible in poly, though.
Hmm, in a poly stream you can do a stage0 hack with bitmasks I think?
So you do declare:
int true = -1; //true bitmask
int false = 0; //false bitmask
then do some calculation and get values with: val & true;
then at the end of the code:
true = false;
from, there the "val" will not be active in the code anymore?
- adamszabo
- Posts: 667
- Joined: Sun Jul 11, 2010 7:21 am
Re: HardSync FM problem
I have played around with it some more and I think I might have something! If I modulate the synced saw with a static number (like 0.5 for example) I can get the phase1 to align correctly with any fm or semi1 or semi2 combination, but when I switch it to an osc wave (which is the whole point of FM) then it gets messed up again. The 3.0.8 FS version does not have some functions as in the Beta version, so I had to use assembly to simulate the stage 0 for poly signals. Martin (or anyone else) do you have any ideas why the static number works but the not the osc?
- Attachments
-
- hardSync_prob_adam_halfwaythere.fsm
- (36.38 KiB) Downloaded 1241 times
- adamszabo
- Posts: 667
- Joined: Sun Jul 11, 2010 7:21 am
Re: HardSync FM problem
OK I have implemented my proposal. It does work in the demo, however I am not sure it can be applied in poly?
- Attachments
-
- hardSync_prob_adam_MV'd.fsm
- (61.13 KiB) Downloaded 1285 times
-
martinvicanek - Posts: 1328
- Joined: Sat Jun 22, 2013 8:28 pm
25 posts
• Page 3 of 3 • 1, 2, 3
Who is online
Users browsing this forum: No registered users and 26 guests