GithubHelp home page GithubHelp logo

Comments (11)

telephon avatar telephon commented on June 6, 2024

sure, there is already a synth that does it, called in, another one inr (pitch shifted). Take a look at the synths/default-synth.scd file, if you want to make variants.

Does that help?

from superdirt.

cannc4 avatar cannc4 commented on June 6, 2024

Ah well, how would I instantiate the synth without having to type anything in Tidal?
I am guessing I'd still need to use the getter function for sd orbit?

from superdirt.

telephon avatar telephon commented on June 6, 2024

hm, I think I don't understand yet. Do you want to constantly route the input through, that is globally into an orbit?

from superdirt.

cannc4 avatar cannc4 commented on June 6, 2024

Yes, that would be correct. SoundIn.ar([1,2]) -> dirt orbit

from superdirt.

telephon avatar telephon commented on June 6, 2024

check hacks/adding-global-effects.scd, there is basically the full explanation.

You basically need a synth like this:

(
var numChannels = ~dirt.numChannels;
(1..SuperDirt.maxSampleNumChannels).do { |numChannels|
	SynthDef("dirt_global_in" ++ numChannels, { |dryBus, effectBus, gate = 1, dry = 0|
		var signal = SoundIn.ar([0, 1]).wrapExtend(numChannels);
		XOut.ar(effectBus, 1 - dry, signal)
	}).add;
};
)

let me know if you need more help.

from superdirt.

cannc4 avatar cannc4 commented on June 6, 2024

Hey, I did some initial tests and got wrapExtend(numChannels) error. However, managed to get it working without it. thanks.
Another somewhat related question is, I'd like to use SuperDirt alongside with another framework I am working on so what I'd like to do is to target dirt orbit's within that other framework and get the audio out from SuperDirt orbits.

A pseudocode example would be something like: Out.ar(nonsuperdirt_audio, ~d1.dryBus.index)

from superdirt.

telephon avatar telephon commented on June 6, 2024

~dirt.orbits[0].outBus = your bus index you want to send audio to

from superdirt.

telephon avatar telephon commented on June 6, 2024

Hey, I did some initial tests and got wrapExtend(numChannels) error. However, managed to get it working without it

what was the error?

from superdirt.

cannc4 avatar cannc4 commented on June 6, 2024

ERROR: Message 'wrapExtend' not understood.

if I give ~dirt.orbits[0].outBus as an argument to a synth's out, it should just work right?
That didn't seem to have any effect when I tried it at first so thought I'd ask it here.

from superdirt.

telephon avatar telephon commented on June 6, 2024

no, don't worry about the synth. in your dirt startup you can specify the out bus.

from superdirt.

telephon avatar telephon commented on June 6, 2024

about the error: what was the receiver?

from superdirt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.