Kyma Forum
  Kyma Support
  earth loop? + Scripts

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   earth loop? + Scripts
garth paine
Member
posted 12 November 2001 21:30         Edit/Delete Message   Reply w/Quote
Hi all,

I have a queery re the MotorMix - I have noticed that I get a buzz in my audio path when the MotorMix is connected to the Capy. If I touch the metal part of the MM case, then the Buzz ceases - I assume therefor that there is an eath loop somewhere?? Has anyone else had this problem?

Also a question re scripts:

If I have a script
1 RepeatingRamp: 8 s

I would like to be able to change the time of the ramp and the direction of the ramp at random under control from MAX - so the changes would need to be MCC's - I se how to change the time, but can;t see how to change the direction - also i would want the ramp when changed to go to the target from it's current state, not from a new beginning number.

Thanks

IP: Logged

pete
Member
posted 13 November 2001 08:14         Edit/Delete Message   Reply w/Quote
Hi Gareth
One of the great things about Midi is that all the inputs are Opto isolated and that earth loops cannot happen. The midi input should have only two of the five pins connected, and they should be connected to the opto input and nothing else inside the midi recieving equipment. This is the theory but in the real world pin 4 and five are connected to the opto isolator but the middle and/or the sheald are sometimes connected to the case or ground of the equipment. This was to supply a screen for the midi signal but no one can deside wether it should be connected to the output only or the input only of the equipment (to maintain isolation). So you can endup with no isolation.

So the solution is to cut the wire going to the middle pin (or sheald)in the cable at one end. You obviously don't have isolation at the moment because touching the MM changes the buzz sound.

But I would expect this to work the other way round and that touching the MM would make the buzz louder. It could be that you are lacking an earth somewhere else, and that you are improving the problem by grounding it yourself via the motor mix (and the third connection in the midi lead).

But its all a black art and odd things happen that never follow an absolute rule.(here, two wrongs can make a right)

So cutting the wire in the midi cables is the first step, and even though it MAY make things worse, it will allow you to track down the true fault.

IP: Logged

SSC
Administrator
posted 13 November 2001 09:54         Edit/Delete Message   Reply w/Quote
One way to get a backwards ramp would be

1 - (1 repeatingRamp: 8 s)

To make this variable, you could use

!Rev + ((1 - (!Rev * 2)) * (1 repeatingRamp: 8 s))

This should give you an up-ramp when !Rev is 0 and a downramp when !Rev is 1. You could make !Rev a Switch or a Toggle and restrict its values to 0 and 1.

Another approach would be to paste an Oscillator or a Sample into your parameter field in place of the ramp expression. Set the wavetable of the Osc or Samp to #Ramp. Set its frequency to

default * !Direction

Then set !Direction to -1 when you want to go backward and set it to 1 when you want to go forward.

To set the rate of the ramp, modify the frequency parameter to read:

!Dur s hz * !Direction

then you can supply the duration of the ramp from a MIDI continuous controller as well.

(BTW, I like to call the parameter expression language "CapyTalk" because it looks a little like Smalltalk but is executed in realtime on the Capybara)

IP: Logged

photonal
Member
posted 13 November 2001 10:17         Edit/Delete Message   Reply w/Quote
Going slightly off topic...

I remember hearing the same during a lecture about MIDI - regarding the opto isolation - so how come my Philip Rees midi interface is powered solely by midi connections? Is there some kind of opto-dynamo in there!?!

IP: Logged

pete
Member
posted 13 November 2001 11:27         Edit/Delete Message   Reply w/Quote
I don't know that particular interface, but some interfaces derive power from the computers serial data (which is not isolated) , some interfaces are just a passive switch , but I suspect that the unit you are talking about has a non isolated input and as it is not connected to a power supply, and all other devices further on in the chain will be isolated by there own inputs, isolation as a whole is maintained.

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply

Contact Us | Symbolic Sound Home

This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.


Ultimate Bulletin Board 5.45c