Ask Your Question
0

How can i get delta?

asked 2016-11-03 04:04:23 -0500

Chanof gravatar image

updated 2016-12-16 02:35:45 -0500

lennart gravatar image

Hi there! after the last post I discovered cut that makes a virtually monophonic channel by choke the past note when one another come out.

But how can I get Delta? Delta or dur parameter for the inter onset time (time between two beginnings of synths).

To better control this kind of gate:

(
SynthDef(\mytutorial, {|out, sustain=1, pan,  pitch1, delta|
    var env = EnvGen.ar(Env.new([0,1,1,0],[0,delta-(delta/8),0]),doneAction:2);
    var sound = SinOsc.ar(pitch1);
    d = delta.poll;
    OffsetOut.ar(out, DirtPan.ar(sound, ~dirt.numChannels, pan, env));
}).add
);

I searched among the synths of the library folder, I could not find the parameter delta
Could you help me?
Thanks

edit retag flag offensive close merge delete

Comments

d4 $ pitch1 "[440 300 250 600 440 300 250 [600 1900]]" # s "mytutorial" --Clearly I can not get the delta if listening

Chanof gravatar imageChanof ( 2016-11-03 04:09:45 -0500 )edit

Where did I go wrong? Where i can find something to read about delta param? Thanks in advance

Chanof gravatar imageChanof ( 2016-11-03 10:45:59 -0500 )edit

3 answers

Sort by ยป oldest newest most voted
0

answered 2016-11-03 14:50:21 -0500

telephon gravatar image

updated 2016-11-03 14:50:50 -0500

In supercollider call this:

SynthDef(\deltaTest, { |delta| delta.poll }).add;

In tidal, this:

d2 $ sound "deltaTest*4 [deltaTest ~ deltaTest]*3"

You'll get posted all the delta values.

edit flag offensive delete link more

Comments

I thanks for your support, I've got only 1, everytime "1", also if i change the cps, from 1 to 0.5 to 2, the "delta" rest "1" I can't understand

Chanof gravatar imageChanof ( 2016-11-03 15:22:06 -0500 )edit

UGen(OutputProxy): 1

Chanof gravatar imageChanof ( 2016-11-03 15:26:07 -0500 )edit

What can be goes wrong?

Chanof gravatar imageChanof ( 2016-11-03 15:26:31 -0500 )edit
0

answered 2016-11-03 15:28:59 -0500

bgold gravatar image

I'm still a little confused - SuperDirt should take care of this automatically without you having to do much.

If I define a fairly simple synthdef

SynthDef(\superdur, {|out, sustain=1, pan, freq |
  var sound, env;
  env = EnvGen.ar(Env.linen(0.001, 0.998, 0.001), timeScale:sustain, doneAction:2);
  sound = LFTri.ar(freq);
  OffsetOut.ar(out, DirtPan.ar(sound, ~dirt.numChannels, pan, env));
}).add;

And then use it in Tidal like

d1 $ n "c e g [d e]" # s "superdur"

Then I get nice non-overlapping notes. SuperDirt automatically calculates the proper sustain to feed the SynthDef that will "fill" the space of each note. Is this not working for you?

edit flag offensive delete link more

Comments

Hi,I still hear the notes one over other one, like polyphonic synth with too much decay :( On Sc forum, someone say that "maybe you have an older SuperDirt version, if this is not the case. Then best open the terminal, go to the superdirt folder and call git pull" May be a setup issue?

Chanof gravatar imageChanof ( 2016-11-03 15:52:42 -0500 )edit

I do what he say without result, still play the notes without transmit the delta

Chanof gravatar imageChanof ( 2016-11-03 16:07:44 -0500 )edit

maybe i can try with another text editor from atom?

Chanof gravatar imageChanof ( 2016-11-03 16:43:22 -0500 )edit

maybe your tidal version is outdated, can you have a look which version you have?

telephon gravatar imagetelephon ( 2016-11-04 03:09:15 -0500 )edit

Hi telephon, im' sorry, i don't know how can i check the version, i tried to lunch again the command include("SuperDirt")

Chanof gravatar imageChanof ( 2016-11-04 06:00:22 -0500 )edit
0

answered 2016-11-04 19:20:36 -0500

Chanof gravatar image

updated 2016-12-16 02:35:08 -0500

lennart gravatar image

Hi there, I just reinstall everything on my Mac and I do the same on a Mac of my friend, we all have no control on /dur param of Supercollider:

SynthDef(\deltaTest, { |delta| delta.poll }).add;

In tidal, this:

d2 $ sound "deltaTest*4 [deltaTest ~ deltaTest]*3"

i get posted all the delta values. but the only things sent is

UGen(OutputProxy): 1
UGen(OutputProxy): 1
FAILURE IN SERVER /n_set Node 1032 not found 
UGen(OutputProxy): 1 
UGen(OutputProxy): 1 
UGen(OutputProxy): 1

The "failure server" occurred when I change the cps (cycles per second ) from 1 to 2 to 3

This is my log: also are missing some class end Synthdef who I don't know where to find them

loading synthdefs in /Users/gianmariaallibrante/Library/Application Support/SuperCollider/downloaded-quarks/SuperDirt/classes/../synths/core-modules.scd
exception in GraphDef_Recv: UGen 'SwitchDelay' not installed.
---- core synth defs loaded ----
loading synthdefs in /Users/gianmariaallibrante/Library/Application Support/SuperCollider/downloaded-quarks/SuperDirt/classes/../synths/core-synths.scd
loading synthdefs in /Users/gianmariaallibrante/Library/Application Support/SuperCollider/downloaded-quarks/SuperDirt/classes/../synths/default-synths.scd
exception in GraphDef_Recv: UGen 'MdaPiano' not installed.
exception in GraphDef_Recv: UGen 'MembraneHexagon' not installed.
exception in GraphDef_Recv: UGen 'SawDPW' not installed.
exception in GraphDef_Recv: UGen 'SawDPW' not installed.
exception in GraphDef_Recv: UGen 'AY' not installed.
loading synthdefs in /Users/gianmariaallibrante/Library/Application Support/SuperCollider/downloaded-quarks/SuperDirt/classes/../synths/try-load-extra-synths.scd
exception in GraphDef_Recv: UGen 'BMoog' not installed.
loading synthdefs in /Users/gianmariaallibrante/Library/Application Support/SuperCollider/downloaded-quarks/SuperDirt/classes/../synths/tutorial-synths.scd

loading 201 sample banks:
808 (6) 808bd (25) 808cy (25) 808hc (5) 808ht (5) 808lc (5) 808lt (5) 808mc (5) 808mt (5) 808oh (5) 808sd (25) 909 (1) ab (12) ade (10) ades2 (9) ades3 (7) ades4 (6) alex (2) alphabet (26) amencutup (32) armora (7) arp (2) arpy (11) auto (11) baa (7) baa2 (7) bass (4) bass0 (3) bass1 (30) bass2 (5) bass3 (11) bassdm (24) bassfoo (3) battles (2) bd (24) bend (4) bev (2) bin (2) birds3 (19) bleep (13) blip (2) blue (2) bottle (13) breaks125 (2) breaks152 (1) breaks157 (1) breaks165 (1) breath (1) bubble (8) can (14) casio (3) cc (6) chin (4) chink (1) circus (3) clak (2) click (4) co (4) cosmicg (15) cp (2) cr (6) crow (4) d (4) db (13) diphone (38) diphone2 (12) dist (16) dork2 (4) dorkbot (2) dr (42) dr2 (6) dr55 (4) dr_few (8) drum (6) drumtraks (13) e (8) east (9) electro1 (13) erk (1) f (1) feel (7) feelfx (8) fest (1) fire (1) flick (17) foo (27) future (17) gab (10) gabba (4) gabbaloud (4) gabbalouder (4) glasstap (3) glitch (8) glitch2 (8) gretsch (24) h (7) hand (17) hardcore (12) haw (6) hc (6) hh (13) hh27 (13) hit (6) hmm (1) ho (6) house (8) ht (16) if (5) ifdrums (3) incoming (8) industrial (32) insect (3) invaders (18) jazz (8) jungbass (20) jungle (13) jvbass (13) koy (2) kurt (7) latibro (8) led (1) less (4) lighter (33) lt (16 ...
(more)
edit flag offensive delete link more

Comments

I don't think Atom is the problem. How did you install SuperDirt?

bgold gravatar imagebgold ( 2016-11-04 20:51:38 -0500 )edit

Hi, cabal install tidal on terminal, it ask me about Xcode, I download it and then the setup is done, include("SuperDirt") on Supercollider 3.8

Chanof gravatar imageChanof ( 2016-11-05 06:42:47 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-11-03 04:04:23 -0500

Seen: 656 times

Last updated: Dec 16 '16