I assume your using the desktop version, in that case “$” Should be the Self operator. You can use it to trigger commands like opening files and changing the bpm. Check the commands section of the documentation for the nitty grittys.

Thank you — but the $ operator must be typed into Orca itself, I believe, meaning that the process would not be automated by a script. If I’m misunderstanding you, though, I apologize and wonder if you could explain a bit more. Thanks!

What I have see people do is create a patch in orca which automates the launching of other orca patches inside of the parent.

seen in practice here, https://youtu.be/cHI4NOyk2gY

Ah thank you — I will take a look!

All right, that’s definitely helpful.

image

I made this little gizmo, which toggles back and forth to load e1.orca and e2.orca, each of which is the same width x height, so they overwrite each other. Perfect!

But I had to command-L (load) the files before attempting this, which is a manual step, not an automatic one. I wonder if there’s a way to instruct Orca to load every file in a directory?

2 Likes

Could I get some more detail on running Orca and Enfer in separate tabs? How does the configuration change when there is no external internet?

You don’t need anything special, once the two tabs are done loading, they don’t need anymore more internet access. If you close the repositories, or download them as zip files, they need to be loaded through localhost.

@P-Rhyme I wonder if there’s a way to instruct Orca to load every file in a directory?

There isn’t, I don’t want to give disk access to Orca.

2 Likes

So zip the repos, download and open them in the browser (Open file…)…so now I have Orca in one tab and Enfer in another

How does Enfer present itself to Orca? As MIDI devices? I’m looking at your video “Orca and Enfer (day 2)” on YouTube, and MIDI commands are being sent but I can’t tell where.

I found the run.sh script, but not sure what starts it.

Personally, I can use the apps, but I’d like to document the option for someone with a ChromeBook that can’t run the apps.

Thanks for your patience.

Ooh, that makes sense. But darn. My student was hoping to use Orca in a genetic algorithm, which takes many generations to produce results, and so cannot involve any steps that require human intervention.

1 Like

@P-Rhyme My student was hoping to use Orca in a genetic algorithm, which takes many generations to produce results

Oh cool, I’ve done a bit of that myself, it’s a lot of fun in orca. No need for the $ operator at all, just use G and Q.

How does Enfer present itself to Orca?

Just a midi device, if you send to midi-through from Orca, Enfer will recieve it. It should be fairly straightforward. Only thing tho, it only works in Chrome.

5 Likes

I’ve seen that, and I attempted to replicate (ha, ha) it myself. It was fun! I was looking for something more stable, like for a recursive function, but wasn’t able to find a solution – yet.

But by “genetic algorithm” I mean one that creates Orca code from “parent” code by combining parts of successful parents, and doing this thousands of times over many generations. I don’t believe that this task could be accomplished within Orca itself. My student was planning to write code in Rust that would supervise the child program creation, and Orca to play what the children sound like.

I think there are too many issues to overcome. For one, we have to command-L the files so that Orca could use the trick I showed above to play the files one after another. And then if one of the Orca programs plays something, even if we can figure out how to detect that fact, I don’t see how we could flag that program from within Orca as a keeper.

AWOH! took me hours to read all that! what a journey tho… i sailed The (English) Channel last year with a friend in his boat, took less than 24h but you were at sea for 50 days! I’ve done a hardcore week of canal boat stuff tho. did every lock on the K&A - 150 or so…

1 Like

Hi, I am building a standalone sequencer with Orca-c on a Rapsberry Pi 3 b+. I can achieve that only if I find a way to get a clockIn/start/stop/pause from external devices. I achieved that with udp in through max4live (with the patch provided here) and I don’t seem to be able to find a possibility for that with the C version of Orca. Is there any possibility to get data in from upd/osc/other with Orca-c?

1 Like

OSC and MIDI work with Orca C. UDP does not.

1 Like

@neauoire
I running it in Chrome. I start the web server (Enfer) then open Orca. Orca does not see any MIDI devices. I’m on a Mac FYI.

Thanks for your answer.
There is indeed midi and OSC output, but I would need to get some osc/midi input in order to control orca from external hardware/software (when I play with other people).
This is the only option I miss to finally sell my Octatrack in favor of Orca.

I believe that there have been discussions of time sync…I have not been involved with those…Orca is still quite new to me.

@metasyn hey…I’m trying to get Orca and Enfer running in a freestanding mode so internet would not be required.I load Orca in one browser tab, start the Enfer web server (start the run script), then open “localhost:8000”. From what I’ve seen, Orca should be seeing a MIDI THRU port, but I don’t see anything. What am I missing?

Yo @onewheeltom!

Yes - Enfer, at least last I looked, isn’t really set up to work directly to Orca without a midi instrument. @neauoire set it up specifically for a particular device - the Akai LPD8. If you don’t have a midi device connected, I don’t think it will work out of the box. Thankfully the code is concise and easy to read. The code where the midi controller is connected can be seen here: here.

In the learn-orca site, I sort of patch them together manually by monkey patching two things. The first is forcing Orca to see Enfer as a midi instrument, the second is slightly modifying the way Enfer sends data. You can see that code here.

This allows me to use enfer + orca on browsers that don’t support web midi, and also doesn’t require using a midi instrument.

Hope that helps!

2 Likes

Hello, guys. I’m a noob here. I had a volca FM, a audio interface. But I don’t know how to connect volca FM with Orca. Orca shows there has no input/output device. If I want to use Orca to record some midi with volca FM to PC, what should I do next? Sorry that it maybe It sounds confusing, I had not enough knowledge for this. I just want to make some music for game with Orca.