SynthMaker

Mid side encoder, decoder failure

Archive · 2011 10 old posts

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

maestro ·

hello friends. I have a problem with my encoder / decoder Mid / Side, not working properly and not to be. Only sounds in L. .. I need your help .... thank you very much to all

(translated with google, sorry for mistakes)

cyto ·

maestro wrote: hello friends. I have a problem with my encoder / decoder Mid / Side, not working properly and not to be. Only sounds in L. .. I need your help .... thank you very much to all

(translated with google, sorry for mistakes)

In your "decoder," your last line of code had the wrong variable name. Should be...

streamin mid; streamin side; streamout left; streamout right; left = ( mid + side ); //in original, you had "side = ( mid - side )"; right = ( mid - side );

-cyto

maestro ·

Decoder

streamin mid; streamin side; streamout left; streamout right; left = ( mid + side ); side = ( mid - side ); ahhhh ok ok hahhaha I fail dumbest

So, I need not divide by two?

thanks for the help 🙂

cyto ·

maestro wrote: ahhhh ok ok hahhaha I fail dumbest

It happens to me all the time 😉

maestro wrote: So, I need not divide by two?

I didn't look right to me at first. But after testing, your method works just fine, which is why I edited out that line.

-cyto

maestro ·

I tried to remove the division to 2 in encoder and decoder, but increases the volume doubled (6 dB) and place the encoder and decoder division was reduced by half (-6), in the end I put the division only encoder and gives the correct volume. I always thought that had to be put in the two hahhahaha 🙂 well now working properly, thank you very much for making me see the fault. Another question, would know how I can panning mid and side? is how does bx_cotrol plugin of Brainworx. thank you

cyto ·

maestro wrote: Another question, would know how I can panning mid and side?

Here is one (easy) approach...

-cyto

lesobrod ·

In fact you can bring a bit madness into Panning, using general "panning law": NewLeft = L( OldLeft, OldRight) NewRight = R( OldLeft, OldRight) where L and R - any functions of two variables with values in [-1..1] range. If no volume changes needed, there should be OldLeft + OldRight == NewLeft + NewRight.

For one Mono input I use sometimes a kinda of Quasi-Stereo emulation:

streamin in; streamout L; streamout R;

float old; float k = 2;

L = (k*in - old)/(k+1); R = (k*old - in)/(k+1); old = in;

maestro ·

ohhh thank you very much, had a time without Internet connectivity hahah, I'll try, thank you very much cyto

Lesobrod thanks I'll try, though not quite understand why I do not speak English and the translation with google hahaha ... This code is to convert the mono to stereo? good, write it down

lesobrod ·

maestro wrote: I do not speak English and the translation with google hahaha ...

Well well .. I'm industrial alpinist from Moscow so can speak (a bit )) many languages: Deutch, Ukrainian, Belorussian, Kirghiz... 😈 It seems English is IMHO best language for science and culture interaction between people of the world. So we should learn it...And I don't feel grievance at all, just cheer about English! 😀 What about emotions and feelings.. Welcome to the infinite world of Russian slang hehehe :p))

maestro wrote: This code is to convert the mono to stereo?

Well it's just improvisation about it 😊 For real Stereo we need two reallly different Mono channels. The primary, natural difference is a delay , cause' sound arrives to our ears with vary of time. http://en.wikipedia.org/wiki/Interaural_time_difference

But the more you experimentes with Pan the more questions arise..

maestro ·

hehehe yeah, well I speak some languages ​​but English always cost me a lot more work for not being a Latin language, though I agree that it is the best language for the interaction of different cultures (at the moment I'm translating with google heheh)

I have already implemented a delay to my plugins, one for each channel, with whom you have sent I can control both with the same knob, thank you very much friend. 🙂

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.