SynthMaker

reducing the De-zipper

Archive · 2006 12 old posts

From the original SynthMaker forum (2004–2014), with its members’ names and dates.

infuzion ·

I like to hack SM's modules to make them smaller (& hopefully faster). Here is my De-zipper:

1) Can someone (or tell me how) test this to make sure the output is equivalent to SM's? 2) What was the resync supposed to do? (the code was commented out in SM's version) 3) Seems to my that the Code part runs only for 1 cycle? cheers

doug4350 ·

Hi Infuzion,

Wow, I'm acually giving you advice this time... I'm honored 😀

1) Can someone (or tell me how) test this to make sure the output is equivalent to SM's?

I'd start by connecting your new-&-improved-zipper-upper and the dezipper in parallel. Next, connect the outputs to a != comparator. If the value is true, you could trigger an event from that to find out where it went off course.

2) ???

3) Seems to my that the Code part runs only for 1 cycle?

I believe that's because you're feeding it a float (or the In connector didn't change. Try reconnecting it with the select at 0. I haven't fooled with the code component yet, so I'll let my ignorance rest at this point 🙂 .

Hope that helps... Aloha, Doug

infuzion ·

doug4350 wrote: Wow, I'm acually giving you advice this time... I'm honored 😀

Heh, actually, I need lots of help, just taking it 1 step at a time 🙂

1) Can someone (or tell me how) test this to make sure the output is equivalent to SM's?

I'd start by connecting your new-&-improved-zipper-upper and the dezipper in parallel. Next, connect the outputs to a != comparator.

Good idea! I'm not sure if that is possible though :/ compare = waveforms?

2) = this is the original Code: streamin in; streamout out; streamin resync; float sync= 0; float cutoff; cutoff = 0.001; out = out*(1.0-cutoff)+in*cutoff; out = (sync>0.5)&out + (sync<=0.5)&in; sync = 1; // sync= (resync<0.5)&1; I commented out the streamin resync line. I don't know whay the resync was included at all?

3) Seems to my that the Code part runs only for 1 cycle?

Try reconnecting it with the select at 0. I haven't fooled with the code component yet, so I'll let my ignorance rest at this point 🙂 .

That was just a fresh connector thing; when used, it normalizes back to 0. I meant reading the (above) Code code; it seems not to last but 1 iteration?

thanks for the help!

doug4350 ·

Hi Infuzion,

Looks like your in for an interesting w/e 🙂

Good idea! I'm not sure if that is possible though :/ compare = waveforms?

That's not quite how I envisioned it. Let's try this... Bear with me, I'll eventually get my php setup to make life easier for all... 🙂

Ok, nuke everything to the right of the dezippers. Add a stream ">" to the right of the top zipper and a stream "<'" to the right of the bottom one. Connect the top zipper stream out to the top ">" top connector and the bottom zipper stream out to the top ">" bottom connector.

Do the same to the bottom stream "<" component.

Pass the bool outs of the ">" and "<" comp's to an or gate.

Pass the out of the or gate to 2 float sam/hold components and the outs of those to data components.

(Pretend the dots don't exist. They were added to get things to line up.)

............................_ ......_|d-zip SM|-./...(>)...........sam/hold("SM") ...../....................\. /....\......./ [7].......................X.......(OR) .....\_|d-zip INF|-./..\..../.......\ ..........................\_(<)..........sam/hold("Inf")

In pseudo code, this would be

if (dzip_SM < dzip_Inf || dzip_SM > dzip_Inf) then display(dzip_SM) display(dzip_Inf) else display("My Mojo's Workin'") endif

If they had a stream != or stream == that would cut out some leg work.

Anyway, my point here is to compare the values at the zipper out's like you are, but use the compare to trigger when it's being naughty 🙂 [/img]

infuzion ·

can't seem to get where you're comming from, sorry :/

malc ·

Just wanted to answer your Q about resync. I can't remember what it was for it's left over from something and should have been removed.

doug4350 ·

Hi Infuzion.

I understand what you're askin' on #2, just I don't know what resync is 🙂

Ok, I got my bare minimum php setup, so see if you can get this:

ftp://[email removed]/Infuzion_dezipper.osm

I hope that makes things clear as mud 🙂

http://synthmaker.com/forum/viewtopic.php?t=1936

It looks like you're hangup here is you're looking at a bool in your p-f component when I suspect you're more interested in the ~ value.?.?

Aloha, Doug

-- Edit The right of the compares isn't exactly how I'd do it, but it's just to show an example up through the OR gate. b-sides, I found I attached an "S" dater to watch a float 😊 I think you'll want to do some more with the output of the OR. My approach here is I'm only interested when the output of the two zippers are not equal to each other --

Tom7777 ·

doug4350, the link doesn't work, it asks for a password. 🙁

infuzion ·

malc wrote: Just wanted to answer your Q about resync. I can't remember what it was for it's left over from something and should have been removed.

thanks!

doug4350 ·

doug4350, the link doesn't work, it asks for a password.

Gonfonnit! 😊 (that's a politically correct way in Hawaiian to say $h1t). I checked that it worked, probably b-4 logging out. Must've been superbowl fever. For now, try this guy and it'll give you a dir listing (there's only one file...). http://home.hawaii.rr.com/doug4350/

I'll try to get the page things fixed up on the flip side 🙂

Ok, itmt, I'm off to do fun stuff like laundry & ironing for the big M(onday).

Aloha, Doug

Tom7777 ·

Thanks doug4350, it works now 🙂

infuzion ·

OK, I've got your file; thanks Doug. doug4350 wrote: ............................_ ......_|d-zip SM|-./...(>)...........sam/hold("SM") ...../....................\. /....\......./ [7].......................X.......(OR) .....\_|d-zip INF|-./..\..../.......\ ..........................\_(<)..........sam/hold("Inf")

Problem is, you can't directly connect stream/poly outs to green connectors:

If you plop in my fillper-light (found in skOre's mega-pack) in after the green OR, you'll see there is no signal flow after the poly compares. cheers

Wrote something here? To have a post removed or your name hidden, write to [email protected].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.