Creating script-file in the SDK environment.

A place for developers to share ideas and assist each other in solving problems.

Moderators: valis, garyb

Post Reply
User avatar
HUROLURA
Posts: 1296
Joined: Tue Feb 21, 2006 4:00 pm
Location: FRANCE
Contact:

Creating script-file in the SDK environment.

Post by HUROLURA »

How to create/edit a script-file in the SDK environment.

I was thinking about an attempt to achieve somthing for this device wish:

http://www.planetz.com/forums/viewtopic.php?t=21456

Getting through Scope I just noticed the MRC was a PEP-script file.

Just general hints request or PM me for more SDK-confidential information.


CheerZ
User avatar
hifiboom
Posts: 2053
Joined: Thu Aug 03, 2006 4:00 pm
Location: Germany, Augsburg
Contact:

Post by hifiboom »

I think the free SDK does not allow scripting. Its sad but I didn`t found a way to use scripts.

but maybe I`m wrong.
User avatar
FrancisHarmany
Posts: 1078
Joined: Sun Jun 02, 2002 4:00 pm
Location: Haarmania

Post by FrancisHarmany »

I already stalked soniccore to include Python scripting for all events in SCOPE. Meaning you can script everything you can do with the mouse.

That would totally seriously rock imho!!

Have no idea if its possible, but they would forward my idae to the developpers, and havent heard anything since.... so I guess its a no/no :P
MCCY
Posts: 1204
Joined: Sun Mar 25, 2001 4:00 pm
Location: Germany

Post by MCCY »

It depends on what you call scripting. Just saying this because the term was used before in an irritating way I think. But you can see easily if a device uses extra script-files because they have of course to be installed. I've seen no non creamware-or softtube device that uses scripts in that sense. Correct me, if I'm wrong.
Internally many things are possible, but a hardliner wouldn't call that a script, I think. Nothing python-like & nothing in the direction you are pointing.
User avatar
HUROLURA
Posts: 1296
Joined: Tue Feb 21, 2006 4:00 pm
Location: FRANCE
Contact:

Post by HUROLURA »

I was talking about the script-file described in the SDK "documentation" and would more precisely talk about the modular MRC script-file.
In fact, the modular MRC IS a script-file (i.e. not a dev).

What I was wondering is the way to achieve such thing.
My purpose would be to provide an advanced MRC dedicated to modular control using the BCR-2000 from Behringer (56 pot + 20 switches + 32 push-button instead of the "limited" 16 pot MRC).
This would make Scope Modular much more fun I think...

CheerZ
User avatar
Spielraum
Posts: 602
Joined: Fri Apr 18, 2014 1:11 pm
Location: Raumschiff Erde

PEP Day |Re: Creating script-file in the SDK environment.

Post by Spielraum »

HUROLURA wrote: Sat Aug 18, 2007 2:25 am How to create/edit a script-file in the SDK environment.
I was thinking about an attempt to achieve somthing for this device wish:
https://forums.scopeusers.com/viewtopic.php?t=21456
Getting through Scope I just noticed the MRC was a PEP-script file.
Just general hints request or PM me for more SDK-confidential information.
CheerZ
the same to me PM please!

...
hello guys, for 2 years I am looking for a bug fix in the "ParameterContext" of Modular. holger doesn't answer my request, and now i want to write a script "pep" based on the scope script "voice of parent". unfortunately i don't have a plan yet, which format and program is needed for "pep". unfortunately there are hardly no more developers in the scope universe who could help. Nevertheless, my question asked in the room: Can someone give me approaches, recommendations, links, examples, etc.?
that would be wonderful

german:
hallo leute, seit 2 jahren suche ich nach einem bugfix im "ParameterContext" von Modular. holger antwortet nicht auf meine anfrage, und nun möchte ich ein eigenes script "pep" schreiben, das auf dem Scope-script "voice of parent" basiert. leider habe ich noch keinen plan, welches format und welches programm man für "pep" braucht. leider gibt es im Scope-Universum kaum noch Entwickler, die helfen könnten. Trotzdem meine im Raum gestellte Frage: Kann mir jemand Ansätze, Empfehlungen, Links, Beispiele etc. geben?
das wäre wundervoll

thx
Last edited by Spielraum on Thu Jun 10, 2021 6:13 pm, edited 2 times in total.
|̲̅̅●̲̅̅|̲̅̅=̲̅̅|̲̅̅●̲̅̅] Lange Welle ~ Mittelwelle ~ Kurze Welle ~ Ultra Kurze Welle
User avatar
Bud Weiser
Posts: 2129
Joined: Tue Sep 14, 2010 5:29 am
Location: nowhere land

Re: Creating script-file in the SDK environment.

Post by Bud Weiser »

Maybe you´ll find something here ...
https://file.org/extension/pep
When scrolling down there are some links for programs to open, view,- possibly also editing such filetype.

Possibly more to find in the web when investing some more time,-
https://duckduckgo.com/?t=ffab&q=.pep+file&ia=web

I understand this filetype can be used several ways,- so finding out what it really does in SCOPE is the target.
There may be competitive reasons Holger doesn´t answer,- at least for reasons of his own.

:)

Bud
User avatar
Spielraum
Posts: 602
Joined: Fri Apr 18, 2014 1:11 pm
Location: Raumschiff Erde

Python? |Re: Creating script-file in the SDK environment.

Post by Spielraum »

Bud Weiser wrote: Wed Jun 09, 2021 3:02 am Maybe you´ll find something here ...
https://file.org/extension/pep
https://duckduckgo.com/?t=ffab&q=.pep+file&ia=web
hey bud, thanks for participating in this very old thread.
followed your links,
and think that it is not going to the desired goal.
In the past, many 3party and cw developers worked together loyally,
and i was also happy to agree to a clause that everything stays in the family.
now i need such a contact in order to get safely through the next black hole,
which i am already focusing sharply through my S|C scope (~~)

https://www.google.com/search?q=script+.pep&ie=utf-8&oe=utf-8&client=firefox-b
... mmhh ? script language .pep > python ?

https://www.python.org/
was ich hier so sehe sieht nicht verkehrt aus, denke ich...
# Python 3: Simple arithmetic
>>> 1 / 2
0.5
>>> 2 ** 3
8
>>> 17 / 3 # classic division returns a float
5.666666666666667
>>> 17 // 3 # floor division
5
|̲̅̅●̲̅̅|̲̅̅=̲̅̅|̲̅̅●̲̅̅] Lange Welle ~ Mittelwelle ~ Kurze Welle ~ Ultra Kurze Welle
soren_jepsen
Posts: 83
Joined: Sat Feb 06, 2010 12:52 pm

Re: Creating script-file in the SDK environment.

Post by soren_jepsen »

I would be very interested in this!

I haven't dabbled in python - is it a Runtime Environment? From what I gather, this is what Scope is, and what the scripts are running "on".

Up until now I've resolved missing features with C++ .dll's But there are several scripts I'd like to either fix or extend.


Cheers
Søren
User avatar
Spielraum
Posts: 602
Joined: Fri Apr 18, 2014 1:11 pm
Location: Raumschiff Erde

Re: Creating script-file in the SDK environment.

Post by Spielraum »

soren_jepsen wrote: Thu Jun 10, 2021 7:09 am Runtime Environment?
...found this:
The runtime environment is literally python.exe or /usr/bin/python . It's the Python executable that will interpret your Python code by transforming it into CPU-readable bytecode. When you multithread, you only have one python running. When you multiprocess you have multiple python s running.18.02.2020

in this forum:
https://stackoverflow.com/questions/60273813/what-is-runtime-in-context-of-python-what-does-it-consist-of
soren_jepsen wrote: Thu Jun 10, 2021 7:09 am I've resolved missing features with C++ .dll's But there are several scripts I'd like to either fix or extend.
which tool do you use?


cheers
ron

#actionlog 210613a01
found this:
Think DSP: Digital Signal Processing in Python
v
Image
|̲̅̅●̲̅̅|̲̅̅=̲̅̅|̲̅̅●̲̅̅] Lange Welle ~ Mittelwelle ~ Kurze Welle ~ Ultra Kurze Welle
User avatar
spacef
Posts: 2998
Joined: Sun Jun 17, 2001 4:00 pm
Contact:

Re: Creating script-file in the SDK environment.

Post by spacef »

you'll probably need a few dsp kits too :-)
i don't use any of those. I have seen many others of all kind.
i am not sure you need books though

https://www.minidsp.com/products/minidspkits

accepts lots of languages/patches (max msp)
https://youtu.be/fbd1CASqUmI?t=62
https://www.electro-smith.com/daisy/patch
https://www.electro-smith.com/daisy/field
plug-ins for scope
SpaceF website
SC website
User avatar
Spielraum
Posts: 602
Joined: Fri Apr 18, 2014 1:11 pm
Location: Raumschiff Erde

Re: Creating script-file in the SDK environment.

Post by Spielraum »

GEIL, but to much for me synthesist. scope is enouth here.
maxing out the scope platform would make me happy [o~]
more in next life. hihi...
|̲̅̅●̲̅̅|̲̅̅=̲̅̅|̲̅̅●̲̅̅] Lange Welle ~ Mittelwelle ~ Kurze Welle ~ Ultra Kurze Welle
nebelfuerst
Posts: 306
Joined: Tue Jun 23, 2009 10:55 am

Re: Creating script-file in the SDK environment.

Post by nebelfuerst »

Is it possible to write modules of the SDK by my own ? What kind of tools are required ? Where to get the #includes to interface with scope ?
\\\ *** l 0 v e | X I T E *** ///
User avatar
spacef
Posts: 2998
Joined: Sun Jun 17, 2001 4:00 pm
Contact:

Re: Creating script-file in the SDK environment.

Post by spacef »

I don't think it is possible for us mortals :-)
plug-ins for scope
SpaceF website
SC website
User avatar
astroman
Posts: 8217
Joined: Fri Feb 08, 2002 4:00 pm
Location: Germany

Re: Creating script-file in the SDK environment.

Post by astroman »

Afaik the only impossibility is to write Sharc DSP code and add it as a .dsp atom to Scope.
Back then this case was covered by a special license (there are 3rd party .dsp files), but the „regular“ SDK either hides or lacks this feature.
Interfacing Windows native code should be possible (as in that juce based attempt I vaguely remember), but may lack documentation.
User avatar
Spielraum
Posts: 602
Joined: Fri Apr 18, 2014 1:11 pm
Location: Raumschiff Erde

Re: Creating script-file in the SDK environment.

Post by Spielraum »

astroman wrote: Fri Jun 18, 2021 4:45 pm but may lack documentation.
and scope engine command overview...
|̲̅̅●̲̅̅|̲̅̅=̲̅̅|̲̅̅●̲̅̅] Lange Welle ~ Mittelwelle ~ Kurze Welle ~ Ultra Kurze Welle
soren_jepsen
Posts: 83
Joined: Sat Feb 06, 2010 12:52 pm

Re: Creating script-file in the SDK environment.

Post by soren_jepsen »

which tool do you use?
I think you need a Sharc-rig and a licence from Scope to make dsp modules.

You can make your own .dll modules in C++ that'll show up in Scope just like the scripts. If you look thru the code for ScopeSync, you can see how to do it:

https://github.com/bcmodular/scopesync
Post Reply