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)
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].