Kyma Forum
  Tips & Techniques
  pause in ascii

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

next newest topic | next oldest topic
Author Topic:   pause in ascii
SamuelSacher
Member
posted 15 April 2011 14:29         Edit/Delete Message   Reply w/Quote
Hi Kymunity!

When importing *.txt into "Text to Pitch90" script, is it possible to
transform (before importing of course, in a text processor)some signs into pauses of the same duration.
I tried with alt+0 (º) but it seems that system connect all those zeroes into one - so instead of, let's say, CººG, plays CºG.

Thnx!
ss

IP: Logged

SSC
Administrator
posted 15 April 2011 15:37         Edit/Delete Message   Reply w/Quote
Hi Samuel,

Would you like the letter 'O' to be interpreted as a rest (a silence)? Are you using the exact example from the Prototypes or have you already modified the script (if you have modified it, could you please attach it here and say which characters should be interpreted as silences of a certain duration)? There might be a way to interpret those characters as rests without having to modify the text itself.

IP: Logged

SamuelSacher
Member
posted 15 April 2011 17:23         Edit/Delete Message   Reply w/Quote

Pause.zip

 
Hi!

again, I'm amazed with you ....
I barely asked a question ... and there you are ...

o.k.

I want to make 2 separate sequences of voices of the first 2000 bits of the Rabbit Sequence

see 2000zajcih.txt

1 .... voice 1- freq 1
0 .....voice 2- freq 2

in sequence "voice 1", the other voice, or voice 2 should be muted ..
so first line would be:
1011010110 1101011010 1101101011 0110101101 0110110101
but instead of "0" or "voice 2 - freq 2"
there should be pause - silence, but of course, in the duration of beat

and opposite for the other voice, where the "1" should be silent
for "11" - double duration of silence

the whole idea is about "One clock to rule them all"
I want to make 4 copies of same pattern, but in different tuplets - 3,5,8,13

yes, if I make 2 voices for each one voice of original Sound it will be 8 voices all together, but every 2 of them will play same pattern - with different frequencies ....


A
1 voice1-freq 1
0 voice2-freq 2

will play !bpm*3

B
1 voice1-freq 1
0 voice2-freq 2

will play !bpm*5

and so on

Sorry for my poor english, I really hope that you can understand what I wanted to ask
http://www.maths.surrey.ac.uk/hosted-sites/R.Knott/Fibonacci/fibrabBITS.html

is the address where I've found this 2000 bits

is there a script in Kyma that can do rabbit seq longer than that?
it is really interesting when one listen to those patterns
rhythm without repetition ... mesmerizing
even my friend, drummer, liked it

thank you

greetings from berlin

s

IP: Logged

SSC
Administrator
posted 16 April 2011 00:42         Edit/Delete Message   Reply w/Quote

alternatingVoices.kym

 
Since you want one voice to play the 1s and the other voice to play the 0s, I tried to do that in one script by giving the 1s one frequency and the 0s a different frequency. Inside the loop is:

nbr := f next digitValue.

oneOrZero := nbr between: 0 and: 1.
oneOrZero ifTrue: [
t := t + 1.
self
keyDownAt: t beats
duration: 1 beats
frequency: (nbr * 12) nn + 36 nn
velocity: 1.

IP: Logged

SamuelSacher
Member
posted 16 April 2011 03:48         Edit/Delete Message   Reply w/Quote
Thank you, but I still don't know how to mute 1s or 0s in performance ...
-for duration of the beat-so only 0s or 1s would play

IP: Logged

SSC
Administrator
posted 16 April 2011 16:53         Edit/Delete Message   Reply w/Quote

mute01.kym

 
Hi Samuel,

By changing the Scale field of the AR to this:

0.2 * (1 - ((!KeyVelocity eq: 0.5) true: !Mute00 false: !Mute01))

the attached example lets you selectively mute either the 0s or the 1s.

IP: Logged

SamuelSacher
Member
posted 17 April 2011 08:35         Edit/Delete Message   Reply w/Quote
Hi SSC!

yes, that's it ...
thank you for your time and effort!

and please one more thing,

Is it possible to change the freq of 0 and/or 1 more "freely"?
because,if I understand it correctly, they depend on acsii, being
1s - 48 nn and 0s - 49 (+36 nn in our case) nn
I replaced 1 and 0 with 5 and 9, and everything is o.k.,
but what if I want it micro-tonal ?

is it possible to get options for those freq on VSC?
maybe somewhere in Frequency field of the Input?

Thank you again!

s

IP: Logged

SamuelSacher
Member
posted 17 April 2011 10:55         Edit/Delete Message   Reply w/Quote
Hi!

update:
at
frequency: (nbr * 12) nn + 36 nn
I can add hz or nn ...
to make it micro-tonal
but it seams that with that both voices are affected..
is there a way to address them separately?

thnx
s

IP: Logged

SSC
Administrator
posted 18 April 2011 23:32         Edit/Delete Message   Reply w/Quote

hotFreqRabbits.kym

 
In the Script, you could send the value of nbr (which is either 0 or 1) as the frequency. Then, in the Sound's Frequency field, if you use:

(!KeyNumber of: #(!Freq1 !Freq2)) hz

A nbr value of 0 selects !Freq1 and a nbr value of 1 selects !Freq2. Then you can adjust Freq1 and Freq2 as faders in the VCS.

IP: Logged

SamuelSacher
Member
posted 19 April 2011 06:11         Edit/Delete Message   Reply w/Quote
Hi SSC!

and thank you once again ....

Sound hotFreqRabbits is exactly what was looking for ...

BW

s

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