Kyma Forum
  Tips & Techniques
  trig list of oscillator frequencies

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

next newest topic | next oldest topic
Author Topic:   trig list of oscillator frequencies
LuisAly
Member
posted 27 June 2012 11:26         Edit/Delete Message   Reply w/Quote
Hi SSC

Is there a way of sending different frequency values to the same oscillator by dedicated triggers ( for example: !trig1 100hz; !trig2 400hz; and so on ...)?. Not arrays? Or simpler?

Many thanks

Luis Aly

IP: Logged

SSC
Administrator
posted 27 June 2012 11:47         Edit/Delete Message   Reply w/Quote
Hi Luis,

Maybe one way to do it is with a fader that selects from an array. You could put labels on the fader by unlocking the VCSEditor, double click fader, under Options select Set tic marks and labels.

((!Fader * 4) of: #(200 500 800)) hz


IP: Logged

SSC
Administrator
posted 27 June 2012 11:48         Edit/Delete Message   Reply w/Quote
P.S. If you prefer to use triggers, what should the behavior be when there is no trigger? Should the oscillator maintain the previous frequency? Or should there be a resting frequency? Or silence?

IP: Logged

LuisAly
Member
posted 27 June 2012 12:02         Edit/Delete Message   Reply w/Quote
Hi SSC

Many thanks for your answer. I am creating a patch that makes telephone dial tones where each trigger works as the telephone keyboard (each key number has its own frequency associated). When no trigger the objective is silence.

Creative regards

Luis Aly

IP: Logged

SSC
Administrator
posted 27 June 2012 20:13         Edit/Delete Message   Reply w/Quote
So for one of the Oscillators in the pair, you could have an expression something like this in the Frequency field:

!Key1 true: 697 false: (!Key2 true: 1336 false: (!Key3 true: 1477 false: (!Key4 true: 1633 false: 0)))

and in the Envelope field, something like the OR of all the Keys, so:

!Key1 + !Key2 + !Key3 + !Key4

where you would add more keys and more cases to the expressions.

Looking forward to seeing/hearing your results!

IP: Logged

LuisAly
Member
posted 29 June 2012 05:11         Edit/Delete Message   Reply w/Quote
Hi SSC

Many thanks for your answer. It worked (of course it´s Kyma!!)
I am transcribing to Kyma the examples programmed in Pure Data found in the book "Designing Sound" by Andy Farnell. As I teach Sound Design in a high school I wanted to use this examples to show students how to create sounds from the scratch using synthesis techniques. I am developing the other examples and I will post them as I am programming. It will be divided in classes of sounds (artificial, sci fi, nature, and so on).
So if you don´t mind I will be posting some doubts along the way ;-)

Creative regards

Luis Aly

IP: Logged

LuisAly
Member
posted 29 June 2012 06:33         Edit/Delete Message   Reply w/Quote
Hi SSC

A simple question has (probably) a simpler answer. I am using a sine oscillator that has an amplitude envelope controlled by a 2 Hz LFO square wave. The problem is that the sound is always clicking ... How can I round the shape of the square wave so it does not click?

Creative regards

Luis Aly

IP: Logged

SeanFlannery
Member
posted 29 June 2012 07:22         Edit/Delete Message   Reply w/Quote
Instead of the Square wave, try SmoothedSquare

IP: Logged

LuisAly
Member
posted 29 June 2012 10:13         Edit/Delete Message   Reply w/Quote
Hi Sean

Thanks for your answer. I tried already with smooth square but it clicks anyway... With sine wave it´s okay but as I am designing some alarm sounds the osc freq should be ruled by a squareLFO.

Creative regards

Luis Aly

IP: Logged

SSC
Administrator
posted 29 June 2012 10:35         Edit/Delete Message   Reply w/Quote
Have you tried using an AR? You could trigger the AR at the alarm rate and set the attack and release to some minimal amount like 10 ms. Or you could try multiplying your source by a FunctionGenerator triggered at the alarm rate and using a waveshape similar Sean's suggestion: RectangularSmoothed. If you use a purely square shape, you will generate an infinite number of harmonics and a click.

[This message has been edited by SSC (edited 29 June 2012).]

IP: Logged

LuisAly
Member
posted 29 June 2012 11:03         Edit/Delete Message   Reply w/Quote

alar_sound_test.kym

 
First of all many thanks for your kind help. Kyma forum is great!
I tried the solution with function generator but it still clicking and not behaving as I expected. I will upload my test patch so if you could give a check it would be nice. Sorry but until now I program Kyma as an art of combining modules but now I dig on programming modules...

Creative regards

Luis Aly

IP: Logged

LuisAly
Member
posted 29 June 2012 11:06         Edit/Delete Message   Reply w/Quote

dial_keypad.kym

 
... and by the way this my phone dial pad made in Kyma. Simple solutions for simple designs. Many thanks SSC

Regards

Luis Aly

IP: Logged

LuisAly
Member
posted 29 June 2012 11:09         Edit/Delete Message   Reply w/Quote

waiting_tone.kym

 
... and a waiting tone

;-)

Kyma is so cool!!!

IP: Logged

SSC
Administrator
posted 29 June 2012 11:43         Edit/Delete Message   Reply w/Quote

alarmvariations.kym

 
I tried two variations: one with AR and one using a single oscillator and just switching the frequency. That seemed to smooth it out.

IP: Logged

SSC
Administrator
posted 29 June 2012 11:46         Edit/Delete Message   Reply w/Quote
You got it! Now hold a landline handset up to the speaker and see if you can call someone!

A little known fact: the predecessor to the Platypus (which is the predecessor to the first Capybara) was a Blue Box developed by Sherwin Gooch at the CERL Sound Group at the University of Illinois. A blue box was a tone generator that could be used to fake out the telephone network allowing you to make free long distance calls. Rumor has it that Sherwin once managed to make a connection from Urbana through Australia, back to another phone in the same office and used it as a delay line...but that is just a rumor, we're sure he never did anything remotely illegal with the device and used it for music educational purposes only).

[This message has been edited by SSC (edited 29 June 2012).]

IP: Logged

LuisAly
Member
posted 29 June 2012 11:52         Edit/Delete Message   Reply w/Quote
Hi SSC

Once again many thanks. It is really this with some great upgrades that I did not think about the rate is great.
I promise I will not ask for anything else this week (oh! it´s friday)

Creative regards

Luis Aly

IP: Logged

LuisAly
Member
posted 29 June 2012 12:23         Edit/Delete Message   Reply w/Quote
Hi

Sorry I couldn´t resist: one more question pleease... On the "alarm alternating freq only" patch if I want to put a three tone alarm (3 frequencies) where should I add them?
Thanks for the info on Sherwin

Creative regards

Luis Aly

IP: Logged

SSC
Administrator
posted 29 June 2012 12:48         Edit/Delete Message   Reply w/Quote
Maybe you could count triggers? Something like this:

((1 bpm: !BPM) countTriggersMod: 3) of: #(600 800 1000)

Would that work?

IP: Logged

LuisAly
Member
posted 29 June 2012 12:57         Edit/Delete Message   Reply w/Quote
Hi
It worked perfectly. Thanks again.
I am noticing that my problem in programming Kyma is that I think normally too complex (other software vicious) but Kyma "thinks" naturally I will dig deeper in Capytalk and start to think simple.
But it´s nice to know I can count on Kyma forum

Creative regards

Luis Aly

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