Welcome to %s forums

BrainModular Users Forum

Login Register

Search found 1276 matches

by bsork
24 Jan 2020, 12:31
Forum: Patching questions
Topic: Minimum Velocity Filter?
Replies: 14
Views: 22200

Re: Minimum Velocity Filter?

It looks as if whoever programmed this keyboard has misunderstood the use of velocity in Note messages: A NoteOn message (status 90 in your screenshot) with a velocity of 0 (zero) is, and has always been, a NoteOff, which MidiOx (of course) shows. In other words, the minimum velocity for a NoteOn is...
by bsork
28 Apr 2017, 20:49
Forum: General discussion
Topic: Roland FC300 owners wanted!
Replies: 32
Views: 50728

Well, I used the manual as my basis for the programming. As it happpens, just over a month ago I uploaded updated scripts for Hollyhock: http://www.sensomusic.org/forums/uploads.php?file=FC300_SendSYX_Messages.fastscript . Those might help you. I don't have any list to show you. A couple of things t...
by bsork
15 Mar 2017, 21:51
Forum: Add-ons discussion
Topic: Roland FC300 SysEx
Replies: 16
Views: 46419

I have sorted out various issues (and found that the external MIDI in on my Axiom doesn't like SysX,,) and have uploaded two working scripts: http://www.sensomusic.com/forums/uploads.php?file=FC300_GetSYX_Messages.fastscript http://www.sensomusic.com/forums/uploads.php?file=FC300_SendSYX_Messages.fa...
by bsork
15 Mar 2017, 08:06
Forum: Add-ons discussion
Topic: Roland FC300 SysEx
Replies: 16
Views: 46419

FYI: I ironed out some errors due to changes in the scripting engine from v5 yesterday, but so far I haven't had the chance to try things out for real with the whole setup. Maybe tonight...
by bsork
13 Mar 2017, 16:20
Forum: Add-ons discussion
Topic: Roland FC300 SysEx
Replies: 16
Views: 46419

Thanks for the file. I have also experienced trouble with accessing this and that outside of the forums before, so I have already tried to log out and in again several times with no success. I guess some data on my profile needs updating(?). The error message is: Forbidden You don't have permission ...
by bsork
13 Mar 2017, 13:54
Forum: Add-ons discussion
Topic: Roland FC300 SysEx
Replies: 16
Views: 46419

Well - I haven't done much at all with Usine the last couple of years, except browsing through the forum. Not much music related at all, in fact. The rehearsal room burnt down, etc etc.... Maybe about time to do something about that. I could start with digging through my old files and see if I could...
by bsork
29 Apr 2015, 08:34
Forum: Add-ons discussion
Topic: Add-Ons - What do you want to see more of?
Replies: 64
Views: 146864

r.erorr wrote:But in your example I got output 13, 14, 12, 11 not 13, 14, 11, 12, isn't it?
Ooops! Quite right! :)
by bsork
28 Apr 2015, 22:01
Forum: Add-ons discussion
Topic: Add-Ons - What do you want to see more of?
Replies: 64
Views: 146864

This doesn't look like one of my scripts stylewise, but who cares... :) At first there's a little "precaution" so to speak, in that the length of the output and the loop is restricted to the shortest of the two input lengths. Then the loop fetches the new index values and so the values are copied in...
by bsork
28 Apr 2015, 08:38
Forum: Add-ons discussion
Topic: Add-Ons - What do you want to see more of?
Replies: 64
Views: 146864

I should have added that I haven't got all the old stuff readily at hand right now, so if you could copy the code into a reply it would help.
by bsork
26 Apr 2015, 22:24
Forum: Add-ons discussion
Topic: Add-Ons - What do you want to see more of?
Replies: 64
Views: 146864

r.erorr wrote:Utilities, data tools, and some explanations for Bsork scripts :)
Which scripts, exactly? Long time since I created any, so I will have to refresh the old memory before I can answer, but I'll try.
by bsork
09 Mar 2015, 14:42
Forum: Patching questions
Topic: FastScript - Find index of smallest number in an Array
Replies: 4
Views: 7503

I startet at 1 as we are comparing pairs: When k is 1, oldest is always 0, when k is 2, oldest is 0 or 1 depending on the previous test, etc...

It looks a bit more obvious (to me, at least) if the variable name is changed from "oldest" to "lowest" or something similar.
by bsork
09 Mar 2015, 08:31
Forum: Patching questions
Topic: FastScript - Find index of smallest number in an Array
Replies: 4
Views: 7503

You mix up two things here; the values to check, and the array index.

You could do eg:

Code: Select all

oldest := 0;

FOR k := 1 TO (ARRAY_LENGTH - 1) DO BEGIN
  IF &#40;order_array&#91;k&#93; < order_array&#91;oldest&#93;&#41; THEN
     oldest &#58;= k;
END;
by bsork
04 Mar 2015, 15:07
Forum: Suggestions & improvements
Topic: "one-shot" script output parameters
Replies: 14
Views: 19720

I guess you are running this code from within Callback, or a procedure called from Callback? In other words, only when the script have received some value. That is not sufficent. If you omit the last SetLength, the above code will do within the execution block that creates and the message. However, ...
by bsork
04 Mar 2015, 14:01
Forum: Suggestions & improvements
Topic: "one-shot" script output parameters
Replies: 14
Views: 19720

Why do you have the last SetLength? To me it looks like the culprit... BTW, you don't have to set the length before you fill the array. In this case I suppose you are sending as many messages as you get in, so you have the number anyway, but in other cases the script can create X messages in a block...
by bsork
04 Mar 2015, 08:18
Forum: Suggestions & improvements
Topic: "one-shot" script output parameters
Replies: 14
Views: 19720

You have to first set the length to the number of MIDI messages, and then in the next block set the length to 0.
by bsork
25 Feb 2015, 13:36
Forum: Patching questions
Topic: From PointsCurve to MapperCurve
Replies: 7
Views: 9569

I think I once made a script just for this - probably in v5. If so, I am opretty sure I uploaded it as an add-on. I'm at work now and don't have time to search around.
by bsork
28 Oct 2014, 08:21
Forum: Patching questions
Topic: compare two values?
Replies: 4
Views: 8444

Try out the delta(x) module
by bsork
06 Aug 2014, 14:08
Forum: Patching questions
Topic: Using "Pass" with MIDI
Replies: 6
Views: 10105

MIDI data just appear as floats. A single precision floating point number consists of four bytes, and what you see is just the bit pattern of the MIDI message interpreted as a float.
by bsork
03 Apr 2014, 09:16
Forum: Add-ons discussion
Topic: Roland FC300 SysEx
Replies: 16
Views: 46419

Regarding access to the add-on, it's not made in Hollyhock. Did you change the "Compatibility filter" almost at the top of the page to "5.* and before"? You'll find it under "midi tools". I know that it won't work "as is" in Hollyhock. I don't remember details right now (and haven't got time to chec...
by bsork
04 Dec 2013, 09:00
Forum: Patching questions
Topic: MIDI sustain - noob patch
Replies: 3
Views: 6155

The Listbox and and the Const modules aren't really needed. The message type and code1 can be set on the Create Midi itself. The switch can be set to send On=127 and Off=0, so you connect that one directly to code2, while a HasChanged can do the job of both 0to1 and 1to0.
by bsork
11 Nov 2013, 08:30
Forum: Patching questions
Topic: Simple MIDI operations
Replies: 7
Views: 9844

If whatever module you use to detect to presses sends 1 (on) and 0 (off), then use a 0to1 module connected to the create inlet of a Create Midi set to NoteOn, and a 1to0 module connected to another set to NoteOff.
by bsork
12 Sep 2013, 08:41
Forum: Patching questions
Topic: round a number with a x.x precision
Replies: 13
Views: 17484

La Tenaille wrote:
grego mondo wrote:I would do like that :

*10
round
/10
.
:P
Oooops! Didn't see that...
by bsork
11 Sep 2013, 17:24
Forum: Patching questions
Topic: round a number with a x.x precision
Replies: 13
Views: 17484

If you want rounding to one decimal, multiply the number with 10, round that, and then divide by 10.
by bsork
29 Aug 2013, 16:13
Forum: Patching questions
Topic: Pass if changed for grid items
Replies: 3
Views: 5775

Very often it is the secret, yes! :)

"Pass if changed" doesn't lock up the inlet it's connected to; it operates as if you connected something to an inlet, which gets the current value, and then disconnect,
by bsork
11 Jul 2013, 14:32
Forum: Module development SDK
Topic: need help with string !
Replies: 10
Views: 22621

martignasse wrote:welcome in C/C++ world ;)
...and thank you! :)

Of course, a pointer - I didn't think of that. That's why you go to all the trouble with vector arrays and all in the matrix modules.
by bsork
11 Jul 2013, 12:13
Forum: Module development SDK
Topic: need help with string !
Replies: 10
Views: 22621

I thought it might have something to do with scope, but it got to late last night to try that approach. However, it seems a bit strange as long as I build the string locally and immediately assign the value to the Caption member. One would think that the value is stored in Caption together with all ...
by bsork
11 Jul 2013, 08:31
Forum: Module development SDK
Topic: need help with string !
Replies: 10
Views: 22621

I too have a similar problem, but I was trying to use a std::string variable as a parameter caption. I tried different approaches, and ended up with casting similar to examples in the SDK: (AinsiCharPtr) (s.c_str()) This compiled without warnings, and the string also looked OK when traced, but the p...
by bsork
08 Jul 2013, 14:56
Forum: Patching questions
Topic: mystery 28
Replies: 2
Views: 4384

It's the button named VOLDIGITS_CTL. "Find in patch" worked, but only with when interface was unlocked.
by bsork
05 Jul 2013, 00:16
Forum: General discussion
Topic: Replacing old scripts with user modules in Hollyhock
Replies: 26
Views: 36333

I've uploaded a revised version of the Transpose user module . It has two new inlets for lo/hi limit for foldback function which previously only took care of notes transposed outside of the 0~127 range. Unlike the note lo/hi limit where you choose which notes to transpose and where lo can be more th...
by bsork
04 Jul 2013, 08:40
Forum: General discussion
Topic: Replacing old scripts with user modules in Hollyhock
Replies: 26
Views: 36333

A quick question: what is KA? It's K ey A ftertouch. More often called poly aftertouch, I think, but Usine uses key aftertouch, so so do I. Also, I remember wishing before that I could set an upper and lower foldback point--0 and 127 are rather extreme! Maybe it could be the same as the note limit,...
by bsork
03 Jul 2013, 22:25
Forum: General discussion
Topic: Replacing old scripts with user modules in Hollyhock
Replies: 26
Views: 36333

Sorry, but I had forgotten about the sustain thingie, so it has taken a bit more time than I thought. I first converted the old SustainEtc scipt to a user module before I found the bug Woodslanding mentions above. I decided to redo it almost from the ground up, and ended changing the functionality s...
by bsork
30 Jun 2013, 20:40
Forum: Patching questions
Topic: [Scripting] HollyHock 1.01.007d
Replies: 2
Views: 4158

Hi, SetValue is for numbers, while SetStringValue is for strings...

This example works:

Code: Select all

begin                 
 dataread &#58;= 'Empty';                                      
 SetStringValue&#40;output,dataread&#41;;
end;
by bsork
28 Jun 2013, 18:21
Forum: Module development SDK
Topic: error LNK2019: on new SDK
Replies: 19
Views: 32392

@martignasse:
I was thinking of separating out the stuff I guess is only of use for the special kinds of ModuleTypes like mtDeviceAudio and mtPluginLister, but maybe I've misunderstood what parts of the SDK can be used where and when.
by bsork
28 Jun 2013, 11:26
Forum: Module development SDK
Topic: error LNK2019: on new SDK
Replies: 19
Views: 32392

I'm at work and I don't remember what is where. I'll be more specific when I've had the time to look through the files.
by bsork
28 Jun 2013, 08:31
Forum: Module development SDK
Topic: error LNK2019: on new SDK
Replies: 19
Views: 32392

BTW, while we're on the subject of simplifying things, I think it would be a good idea to split the header files up, moving all the stuff concerning device drivers and plugsins to separate files.
by bsork
27 Jun 2013, 13:29
Forum: Module development SDK
Topic: error LNK2019: on new SDK
Replies: 19
Views: 32392

Would it be a good idea to add a very simple example where all the stuff concerning graphics, mouse, chunks etc is removed? Since the new script engine (so far) is rather slow, I reckon a lot of users would like to go the SDK route, but opening the template with all it's new stuff can be rather inti...
by bsork
27 Jun 2013, 08:28
Forum: Patching questions
Topic: [SYSEX] No Sysex to Device MIDI Output
Replies: 17
Views: 22505

I suppose you're using Hollyhock?

I think SysEx functionality still isn't implemented in V6. You are not alone in wanting it, though! :)
by bsork
22 Jun 2013, 23:11
Forum: General discussion
Topic: Replacing old scripts with user modules in Hollyhock
Replies: 26
Views: 36333

cmodica wrote:Some one to compil it for Mac OSX ?

Is it an important work ?
Depends... :) You can do the same using standard Usine modules, but this module avoids hanging notes if you're playing and changing values at the same time.
by bsork
21 Jun 2013, 07:39
Forum: General discussion
Topic: Replacing old scripts with user modules in Hollyhock
Replies: 26
Views: 36333

caco wrote:... I hope to start updating my old modules for Hollyhock.
Looking forward to that!
by bsork
19 Jun 2013, 23:45
Forum: General discussion
Topic: Replacing old scripts with user modules in Hollyhock
Replies: 26
Views: 36333

Hi, I've finally finished (I hope) my first MIDI user module. I started with the recreation of the old Transpose script. I've included compiled versions for Win 43 and 64 as well as the source, so if anyone would try to compile on OSX that would be great. Here it is: Transpose.zip ...and here you'll...
by bsork
15 Jun 2013, 22:59
Forum: General discussion
Topic: Replacing old scripts with user modules in Hollyhock
Replies: 26
Views: 36333

As to the bad performance of the scripting engine, I agree with Thomas. Going the SDK route is far more involved and complicated than scripting. I am a programmer myself that mostly write Oracle not-very-OO database stuff, so getting into C++ isn't exactly that simplest thing I've encountered with a...
by bsork
15 Jun 2013, 22:51
Forum: General discussion
Topic: Replacing old scripts with user modules in Hollyhock
Replies: 26
Views: 36333

Well. I thought that transposing and sustain would be prime candidates, so I'm not surprised by the feedback so far... :) When I get to it, I'll check for the bug with the cut off notes. The other drone idea sounds more like a temporary rerouting: hold chord, turn on switch and reroute incoming MIDI...
by bsork
15 Jun 2013, 10:31
Forum: General discussion
Topic: Replacing old scripts with user modules in Hollyhock
Replies: 26
Views: 36333

I've started dabbling with the SDK, and I'm still quite slow in C++ development, but I'm getting there.... As pointed out in other threads, the new scripting engine is lacking some features and seems to be a real CPU hog. I suppose it eventually will be optimized, but when Olivier will have the time...
by bsork
12 Jun 2013, 22:42
Forum: Patching questions
Topic: What to use for PSingle?
Replies: 9
Views: 8830

PSingle is a pointer type, and to me it seems that pointer types aren't allowed in the new version (so far?). Using ^Single instead of the predefined PSingle type didn't help. GetDataPointer() is also missing. Here's an attempt at doing the old audio example in a different way: /////////////////////...
by bsork
12 Jun 2013, 22:15
Forum: Patching questions
Topic: edit script name?
Replies: 3
Views: 3967

I found out how... It's a bit cumbersome, as you have to open the script editor and use "save as script" from the context menu. Alt-clicking opens a text input box, but whatever goes in there is added to the script name instead of changing it.
by bsork
30 May 2013, 14:04
Forum: Patching questions
Topic: rec fader movment with sampler
Replies: 7
Views: 6758

It works if you put a smoother between the fader and the input.
by bsork
13 May 2013, 22:18
Forum: Manuals & Wiki
Topic: No edit access to Wiki
Replies: 16
Views: 59491

A little bump here on this old matter, as I have to login with "bsork2" to use the new bug report window....
by bsork
17 Jan 2013, 08:29
Forum: News
Topic: Usine Hollyhock mid-January news
Replies: 9
Views: 15729

Sign me up as well! I have started coding a bit in C++, but haven't put up my one and only User module yet as an add-in.
by bsork
10 Dec 2012, 22:31
Forum: Patching questions
Topic: Need something like a MidiCreate for Arrays
Replies: 6
Views: 6548

You could for instance try a Pass Event or a Stop Event module after the array. They are the opposite of each other, so which one is best, depends what other logic you have around in the patch. With either, you can make sure that no data is passed on until some condition is met.
by bsork
10 Dec 2012, 22:23
Forum: Patching questions
Topic: Getting sounds from a webradio
Replies: 7
Views: 8327

Some soundcards have virtual/loopback possibilities. Have you checked yours? I've used the loopback on my Saffire once in a while to capture various sources and record in Usine or an audio editor. Never tried to automate the process, though. BTW, I used Jack for Windows for a while some years ago. I...
by bsork
05 Dec 2012, 23:16
Forum: Artistic Zone
Topic: New Usine Keyboard
Replies: 5
Views: 28581

Wow - that's pretty impressive! :)
by bsork
05 Dec 2012, 09:10
Forum: News
Topic: Usine Hollyhock
Replies: 78
Views: 148098

Looking forward to getting my hands on this!

Great work, guys!
by bsork
22 Nov 2012, 22:08
Forum: Patching questions
Topic: Can I add/link to a 3rd party Pascal code module into my script?
Replies: 2
Views: 3835

Hi, if the code you've found isn't too complicated, I guess you can "massage" it into something useful in a script.You can't however (AFAIK) include the file like a library in eg. Delphi. The scripting engine can load and read text files, and supports quite a few string functions,
by bsork
15 Nov 2012, 22:09
Forum: Patching questions
Topic: USINE AS A LIVE LOOPER
Replies: 106
Views: 184845

Cool! :)
by bsork
28 Sep 2012, 09:05
Forum: Patching questions
Topic: harmony rotator.
Replies: 31
Views: 35443

I suppose the screenshot is from some MIDI monitor before entering Usine? I also wonder whether you don't get any action when the input note changes, and the output from the rotator should change as well? If the problem appears only with repeated input notes, I think I see the problem. In the screen...
by bsork
27 Sep 2012, 23:54
Forum: Patching questions
Topic: harmony rotator.
Replies: 31
Views: 35443

Hi, I took a quick look, and to me looks ok. However, I did try with input from a keyboard with NoteOns and NoteOffs. I you maybe only send NoteOns to monophonic synths or samplers, you would mostly when repeating the same note number either get no reaction like you describe, or a retriggered note.
by bsork
27 Aug 2012, 19:06
Forum: General discussion
Topic: Win a Usine pro License with KVR Developer Challenge 2012 !
Replies: 7
Views: 8626

...agreed! :)
by bsork
18 Jun 2012, 15:18
Forum: Patching questions
Topic: Midi Harmonizer
Replies: 32
Views: 39794

You'll find it in the add-ons under data tools. It's called "Decimal To Binary"
by bsork
15 Jun 2012, 23:57
Forum: Patching questions
Topic: Midi Harmonizer
Replies: 32
Views: 39794

Counting the number of sounding notes could be done with not too many modules, but I thought that what you were after was a subset of the Transpose script in the Midi Utility pack, so I dug it up, removed most of the code and added an extra output with the number of notes: CONST BUFFER_SIZE = 128; /...
by bsork
14 Jun 2012, 23:23
Forum: Patching questions
Topic: Midi Harmonizer
Replies: 32
Views: 39794

I've tried the suggestion, but It didn't do help anything. I've rewritten the script, and as far as I can tell, it should work now, also where there are equal values after another. It's maybe not (noticably) more efficient than the old one, but it's a little bit more compact, and I managed to avoid ...
by bsork
14 Jun 2012, 11:40
Forum: Patching questions
Topic: Midi Harmonizer
Replies: 32
Views: 39794

Great that you've found a solution!

I think, however, that I can make the script somewhat more efficient by doing things in another order. Will probably do it tonight.
by bsork
14 Jun 2012, 00:19
Forum: Patching questions
Topic: Midi Harmonizer
Replies: 32
Views: 39794

I'm looking into it. There's a bug when there are repeated values in the array. Probably just something really stupid, but I just can't see where the problem lies tonight... :/

If anyone else feels compelled to have a go at it - please do!
by bsork
12 Jun 2012, 14:20
Forum: Patching questions
Topic: Midi Harmonizer
Replies: 32
Views: 39794

Not bad indeed for a first try! ...and your post reminds me that it's about time I got into the SDK. Long time since I've done much with curly braces, though, and I've never used C++, which I must admit I find quite confusing. I'm not much of an OO programmer... Regarding DontProcess or similar, I c...
by bsork
12 Jun 2012, 12:17
Forum: Patching questions
Topic: Midi Harmonizer
Replies: 32
Views: 39794

Had to take the challenge... :) Your script works just fine, but could be a bit more efficient: Var ArrayIn, ArrayOut : tparameter; // initialisation : create parameters procedure init; begin ArrayIn:= createParam('Array in', PtArray); SetIsOutput(ArrayIn,false); ArrayOut:= createPar...
by bsork
12 Jun 2012, 11:01
Forum: Patching questions
Topic: Midi Harmonizer
Replies: 32
Views: 39794

I'm not the right person to ask - my knowledge in this area is rather limited. Actually, the only scales I remember the names of, are standard major and minor, which makes this patch al the more interesting for me.
by bsork
12 Jun 2012, 09:20
Forum: Patching questions
Topic: Midi Harmonizer
Replies: 32
Views: 39794

Fléau I really like the use of the dec2bin module, that is an ingenious way of storing the scale patterns :) Agreed! The only problem is the behaviour of the list/combo boxes when using text/value pairs, as it will jump to the first item with the chosen value when the value is repeated. Confusing, ...
by bsork
03 Jun 2012, 21:09
Forum: General discussion
Topic: DAHDSR envelope patch uploaded
Replies: 24
Views: 37947

Been busy, and it will take some time before I have complete version with modulation ready, so in the meantime, here's v4 with an "elapsed time" ouput: http://www.sensomusic.com/forums/upload ... AHDSR4.pat
by bsork
29 May 2012, 21:45
Forum: General discussion
Topic: DAHDSR envelope patch uploaded
Replies: 24
Views: 37947

Do I understand you correctly that you want an output with the total time in ms, starting at 0 and added to as long the envelope is running? If so, that's easy, and I will include it in the next version.
by bsork
29 May 2012, 20:23
Forum: News
Topic: Usine [5.50.80.012] Update
Replies: 8
Views: 17711

Thanks! :cool:
by bsork
29 May 2012, 09:11
Forum: Patching questions
Topic: Loop triggering Ableton Live style
Replies: 26
Views: 37363

Check the Perfect Synchro in the Global Setup window - it's in the system tab.

From the Wiki; "Perfect Synchro automatically changes the tempo to get bar length as a multiple of BLOC size. This give a much better synchro in loop recording. Not recommended if your bloc size is greater than 128."
by bsork
28 May 2012, 20:34
Forum: General discussion
Topic: DAHDSR envelope patch uploaded
Replies: 24
Views: 37947

I'm not sure if I follow you. Adding up the various time-based parameters outside of the script is easy enough if you want that - do you mean the real elapsed time?
by bsork
25 May 2012, 07:39
Forum: General discussion
Topic: DAHDSR envelope patch uploaded
Replies: 24
Views: 37947

I'm not quite sure what you should call the curves, actually. I'm using a power function: result = power(x, curve) where curve = 1 is linear. The best way to check what's happening is connecting an Oscilloscope to the out parameter. That's what I've been using. I agree on the Hold function. I have n...
by bsork
25 May 2012, 00:15
Forum: General discussion
Topic: DAHDSR envelope patch uploaded
Replies: 24
Views: 37947

And here's version 3: http://www.sensomusic.com/forums/uploads.php?file=DAHDSR3.pat The legato parameter has been renamed to attack mode , and another has been added: release mode . I have also changed the naming of the values to retrigger , constant time , and constant rate . The attack mode has al...
by bsork
24 May 2012, 09:06
Forum: General discussion
Topic: DAHDSR envelope patch uploaded
Replies: 24
Views: 37947

@floego I was thinking a little more around your question, and I think it wouldn't be to difficult to add a one-shot option without messing with the script. However, the sustain length might pose some problems. I'll see what I can come up with, and incorporate it in v3, which will have something sim...
by bsork
24 May 2012, 06:34
Forum: General discussion
Topic: DAHDSR envelope patch uploaded
Replies: 24
Views: 37947

Great patch bsork! I would like to ask the possibility to use a button rather than a switch gate for the triggering of the envelope, as the adsr, asr patches (the ones bundled with usine) do. :) "One-shot" EGs like that is so easy to create using a PointsCurve module (like in the ADSR patch) that I...
by bsork
23 May 2012, 08:32
Forum: Manuals & Wiki
Topic: No edit access to Wiki
Replies: 16
Views: 59491

I tried a quick test on my work machine, and now I don't get logged in at all from IE8, but from Opera it stays the same: Ok in the forum, not in the Wiki. And yes, the "Logged in as: bsork" thing is there at the bottom.
by bsork
22 May 2012, 22:43
Forum: Patching questions
Topic: harmonized midi stream
Replies: 16
Views: 15609

I haven't looked at the patch, but I suppose you could exchange the old MidiTransposeWithOctaveFoldback script with the Transpose script found in the MIDI Utilities pack. You'll probably get better performance as well since Transpose uses the new, faster script engine. BTW, if there's some not too e...
by bsork
22 May 2012, 00:16
Forum: General discussion
Topic: DAHDSR envelope patch uploaded
Replies: 24
Views: 37947

I've uploaded a slightly improved version: http://www.sensomusic.com/forums/uploads.php?file=DAHDSR2.pat There are two changes: - The segment now outputs the position within each part of the envelope, so for instance the attack part goes from 2.0 to 2.9999...To get the same values as before, use a T...
by bsork
21 May 2012, 12:31
Forum: Manuals & Wiki
Topic: No edit access to Wiki
Replies: 16
Views: 59491

Oooops - I didn't see that... Seems it has something to do with my user account, as I don't get the login problem and I can edit with my new bsork2 user. As I've said, I've tested as bsork with both IE and Opera on my work machine (Win7/32 bit) and my private music machine (Win7/64 bit), as well as ...
by bsork
20 May 2012, 21:56
Forum: General discussion
Topic: DAHDSR envelope patch uploaded
Replies: 24
Views: 37947

Thanks for the feedback, guys. No bugs or weird behaviour found so far?

I'm have some more ideas I'd like to implement (modulation of parameters, etc) before I make a proper add-on, but I've struggling a bit with some of the maths...
by bsork
18 May 2012, 23:20
Forum: Manuals & Wiki
Topic: No edit access to Wiki
Replies: 16
Views: 59491

I've tried with other machines running IE 9 under both XP and Vista, as well as IE and Opera under Win7 on both my work machine and my music machine - same behaviour everywhere.
by bsork
17 May 2012, 23:20
Forum: General discussion
Topic: DAHDSR envelope patch uploaded
Replies: 24
Views: 37947

nay-seven wrote:great, I 'll test that! ( think to an example patch for newbie when you add it as add-on )
Good idea - maybe a simple synth or something like that.
by bsork
17 May 2012, 00:20
Forum: General discussion
Topic: DAHDSR envelope patch uploaded
Replies: 24
Views: 37947

I've uploaded an envelope patch anyone intereset can try if they want: http://www.sensomusic.com/forums/uploads.php?file=DAHDSR.pat I will eventually put it into the add-ons, but I wouldn't mind any comments or bug reports before I do. A short description: I've added a delay time and a hold time par...
by bsork
16 May 2012, 12:51
Forum: Manuals & Wiki
Topic: No edit access to Wiki
Replies: 16
Views: 59491

Thanks :)
by bsork
16 May 2012, 12:43
Forum: Manuals & Wiki
Topic: No edit access to Wiki
Replies: 16
Views: 59491

I get this behaviour using Opera 11. With IE 8 I can't log in at all. Whether I've logged out (and closed) Opera or not, doesn't seem to matter.

IIRC, there was something similar wrong with logins some time ago - during last year, I suppose.
by bsork
16 May 2012, 12:15
Forum: Manuals & Wiki
Topic: No edit access to Wiki
Replies: 16
Views: 59491

I just found out that I don't have edit access to the Wiki. The pages appear as if I'm not logged in, and when I click "login" I'm redirected to the forums page where I am already logged in...
by bsork
16 May 2012, 08:17
Forum: Suggestions & improvements
Topic: Extra patch edit window(s)?
Replies: 4
Views: 6056

A proposal for v6: More than one patch edit window, maybe organized as a main window that follows the selected patch (as today), and at least one or maybe 3-4 extra windows locked to whatever patch they were started from, but with the possiblity to move up and down in the patch structure. Ideally th...
by bsork
23 Apr 2012, 15:47
Forum: General discussion
Topic: strange midi behavior
Replies: 32
Views: 50496

mat wrote:if switching midi input off and on helps, it COULD have to do with usine actually, kind of midi-loop-back or so ...
Just a random idea: You shouldn't by any chance send your MIDI stream out again with the "Send MIDI to Usine" module?
by bsork
02 Apr 2012, 08:07
Forum: Patching questions
Topic: IML crosstalk
Replies: 12
Views: 10914

I have also ended up setting the FastCallback to FALSE in a couple of scripts using IML.
by bsork
01 Apr 2012, 11:15
Forum: Patching questions
Topic: IML crosstalk
Replies: 12
Views: 10914

I think you could call SetFastCallback anywhere before the parameter is actually being used, but the most natural place would be in Init after you've created the parameter.
by bsork
15 Mar 2012, 21:53
Forum: General discussion
Topic: so...happy birthday
Replies: 18
Views: 21055

Congrats!
by bsork
21 Feb 2012, 13:32
Forum: Artistic Zone
Topic: Radiotehnika - Eléonore de Montesquiou
Replies: 3
Views: 22154

Nice work! Both the pictures and the soundtrack has that uneasy, mixed up feeling of nostalgia for something that you really don't experience again...
by bsork
10 Jan 2012, 08:34
Forum: Patching questions
Topic: my new idea for a live set up using studio one pro and usine
Replies: 9
Views: 12915

Can't really say that I quite understand the whole setup you describe, but even if Usine was able to be a Rewire slave, it wouldn't work sending audio from S1 to Usine. Rewire just sends MIDI and transport controls from master to slave, and the slave returns audio back. The slave can also control th...
by bsork
06 Jan 2012, 14:00
Forum: Patching questions
Topic: Triggering the play button
Replies: 13
Views: 15766

You could try the Envelope Follower or the Peak Follower. You probably have to block the triggering when the sample plays as well...

This must be the most original usage of Usine so far - poor dog!!! :lol:
by bsork
20 Dec 2011, 14:31
Forum: General discussion
Topic: Recursion Example
Replies: 6
Views: 7416

Clever! :)
by bsork
14 Dec 2011, 18:41
Forum: Patching questions
Topic: Midi Note Duration
Replies: 5
Views: 6204

Have you tried the Midi Transformer? I just did a quick test, and to me it seems that the "length" used is the value when receiving the NoteOn.
by bsork
23 Nov 2011, 18:49
Forum: General discussion
Topic: New audio editor freeware with some cool function
Replies: 5
Views: 6792

Looks interesting!
by bsork
17 Nov 2011, 15:16
Forum: Artistic Zone
Topic: "Trame" out now
Replies: 13
Views: 36562

Cool! :)
by bsork
17 Nov 2011, 15:10
Forum: Artistic Zone
Topic: new solo project, with Usine
Replies: 5
Views: 24312

Nice! :cool:
by bsork
17 Nov 2011, 10:15
Forum: General discussion
Topic: No login from one computer
Replies: 7
Views: 8936

Just installed Opera, and it's working fine, so I'm not spending more time on this matter. Thanks, for all the suggestions, folks!
by bsork
16 Nov 2011, 19:04
Forum: Artistic Zone
Topic: A walk down memory lane aided by Usine...
Replies: 9
Views: 30202

Thanks for the nice responses, guys!
by bsork
16 Nov 2011, 19:03
Forum: General discussion
Topic: No login from one computer
Replies: 7
Views: 8936

@CleverConQueso: I meant logging in on the forum.

I tried to create another user, but it didn't help.When I have the time, I try to install some other browser like Firefox or Opera, and see if that helps.
by bsork
15 Nov 2011, 21:53
Forum: General discussion
Topic: No login from one computer
Replies: 7
Views: 8936

I have trouble logging in on my work machine, a Lenovo with Win7 32 bit running IE8. The login window with username and password shows and it looks as if I'm being logged in, but no... :( Anybody has an idea where to look? Maybe some settings in IE8 or Windows that I should check? Of course, it coul...
by bsork
15 Nov 2011, 21:45
Forum: Suggestions & improvements
Topic: A couple of wishes
Replies: 2
Views: 3777

Thanks a lot!
by bsork
13 Nov 2011, 19:10
Forum: Artistic Zone
Topic: A walk down memory lane aided by Usine...
Replies: 9
Views: 30202

Let us know when you start touring and raking in the bucks. Ironically, being an amateur for longer than I care to mention and doing my first real gig in 13-14 years, this was my best paid concert ever. Hopefully we'll be doing some more jobs next year, but not so sure that we'll get outside of Nor...
by bsork
11 Nov 2011, 13:39
Forum: Suggestions & improvements
Topic: A couple of wishes
Replies: 2
Views: 3777

I have a couple of wishes that hopefully are easy to implement: 1) A volume control sound files in the Browser. When you try to have "conservative" levels within in workspace but playing through a loud PA, a sample played at unity gain can come as an unpleasant surprise when double-clicking a file. ...
by bsork
11 Nov 2011, 12:43
Forum: Artistic Zone
Topic: A walk down memory lane aided by Usine...
Replies: 9
Views: 30202

I've been fiddling around with Usine for several years now, but it wasn't until last week that I dragged the laptop onto a stage. I'm a true has-been; the concert was a reunion of my old band Holy Toy which debuted nearly 30 years ago, and the occasion was the release party for a book on the "post p...
by bsork
20 Sep 2011, 22:36
Forum: General discussion
Topic: Another take on soft take over
Replies: 2
Views: 4325

It struck me that I didn't need the first two checks, just slightly different versions of the two last. Here's how it looks like as sub-patch: http://www.sensomusic.com/forums/uploads.php?file=SoftTakeover4.jpg The connection between the visible fader and the sub-patch: http://www.sensomusic.com/for...
by bsork
20 Sep 2011, 21:59
Forum: Add-ons discussion
Topic: Equation user module
Replies: 43
Views: 63909

Once again: Thanks, Caco! This one has proven to be even more useful than I thought :). Beside the fact that writing a code snippet is often quicker than adding and connecting modules, it looks like I'm saving a tiny bit of CPU with statements that would otherwise take a handful of modules. My guess...
by bsork
19 Sep 2011, 17:21
Forum: General discussion
Topic: Another take on soft take over
Replies: 2
Views: 4325

I'm not sure if this is a feature suggestion or just a tip to what you can do with missing responsiveness when using the Soft Take Over option. I haven't digged very deep into the behaviour of the take over; whether it just responds when you have an exact match between the CC value and the fader, or...
by bsork
12 Sep 2011, 21:46
Forum: General discussion
Topic: Noise When a Cable is Disconnected
Replies: 9
Views: 10427

I'm assuming the removed connections are audio signals(?). If so, isn't it more likely that it has something to do with the last receiced audio block "hanging". I've encountered something similar with the volume/mute module: turning gain down to -inf (ie <=-80dB) or muting often creates a static noi...
by bsork
07 Sep 2011, 08:14
Forum: Patching questions
Topic: Wait in a script
Replies: 6
Views: 7619

Usine Scripting seems to be a bit different from the Turbo Pascal. You can consider Usine scripting as a subset of TP or Delphi with some extras. A subset since it doesn't contain everything, the extras being some special functions, variables and declarations together with the four procedures calle...
by bsork
06 Sep 2011, 22:52
Forum: Patching questions
Topic: Wait in a script
Replies: 6
Views: 7619

Sorry that my first reply was a bit short, but I didn't have time to elaborate. Anyway, you can see an example in the topic Nay refers to where I use the timeMs function. timeMs returns the elapsed time since I-don't-know-when in milliseconds as a float. According to the reference it returns an Exte...
by bsork
06 Sep 2011, 15:51
Forum: Patching questions
Topic: Wait in a script
Replies: 6
Views: 7619

You could use the timeMs function to get the current time, assign that value to a variable when you want to start waiting, then put something like this within the Process procedure:

IF ((timeMs - startTime) >= waitTime) THEN
...
by bsork
06 Sep 2011, 08:11
Forum: Suggestions & improvements
Topic: Drop and Replace VST/i
Replies: 3
Views: 5562

Not quite the same, but if you have selected a module (including VSTs) in the patching panel, then you can Alt-drag a replacement from the browser. Usine will do its best to use the existing connections on the new module.
by bsork
01 Sep 2011, 22:13
Forum: General discussion
Topic: Micro sounds and granular in Usine
Replies: 47
Views: 59848

:)
It eats CPU cycles like there's no tomorrow, but - hey - this is one is :cool: !!!
by bsork
26 Aug 2011, 00:39
Forum: Patching questions
Topic: Autopopulate program combo for vst
Replies: 10
Views: 9615

Well, I just tested by clicking directly on the send message. In most situations it's better to automate the update like you do, of course.
by bsork
25 Aug 2011, 22:43
Forum: Patching questions
Topic: Autopopulate program combo for vst
Replies: 10
Views: 9615

This actually works..: [c]SET_TARGET_PATCH SENDER_PATCH GET_COMMATEXT VST_NAME program prg_list SET_COMMATEXT CBOX_NAME 1 prg_list [/c] Put it inside a UsineMsg module. You obviously have to change CBOX_NAME and VST_NAME to something useful for you, and I can't guarantee that it will work for every ...
by bsork
25 Aug 2011, 21:54
Forum: Patching questions
Topic: Sendind different Program Change with the Conductor
Replies: 29
Views: 26916

Wouldn't it be easier to just have a combobox or a fader for each synth? Use HasChanged to trigger the program change.
by bsork
25 Aug 2011, 15:40
Forum: Patching questions
Topic: Sendind different Program Change with the Conductor
Replies: 29
Views: 26916

How do you trigger the program change? If it's triggered by a HasChanged connected to whereever the program numbers are stored, it shouldn't trigger anything unless the output changes.
by bsork
22 Aug 2011, 08:47
Forum: Patching questions
Topic: Get a file list in a script
Replies: 3
Views: 4529

Unless Senso has something undocumented up his sleeve, it seems that it's not possible to do these things from within a script.

I too had a look at the scripts references and couldn't find anything that lists files names.
by bsork
22 Aug 2011, 08:27
Forum: General discussion
Topic: Display CPU use
Replies: 5
Views: 6115

Just remember that the Dashboard CPU meter shows the total usage for the machine - AFAIK it's the same value as in the Task Manager.
by bsork
17 Aug 2011, 22:27
Forum: Suggestions & improvements
Topic: Differentiate between MIDI Devices in Learn/Remote system (and filter)
Replies: 13
Views: 15263

With some kind of a "MIDI Master" patch you could avoid having to enter filters in every patch. Both in the add-ons and the MIDI Utility pack you can find examples of filters and ways of distributing MIDI data either to different busses or through rechannelizing and send the data as internal MIDI. M...
by bsork
11 Aug 2011, 08:16
Forum: General discussion
Topic: VstTimeInfo to Host from Easine exported VST/i ?
Replies: 7
Views: 8626

Have you thought about using Live as a ReWire slave? Using the ReWire VST from energyXT you can set up Usine to be a ReWire master.

I don't use Live, but I use the ReWire VST to slave Reason to Usine and it works fine.
by bsork
03 Aug 2011, 10:25
Forum: Patching questions
Topic: How to arrange control elemens stay in front of VST
Replies: 6
Views: 5986

I haven't tried this (and I don't have time to try right now), but maybe it will work if, when initializing the patch, you first set the Usine objects to Invisible, and then set them back to Control Panel. If this works, you can add it to the patch either with connections or using IML. With connecti...
by bsork
03 Aug 2011, 08:12
Forum: News
Topic: Usine 5.70 teasine.
Replies: 42
Views: 69123

Clearscreen wrote:DOH - the dll links 404'ing here!! Either way, congrats Senso, this is a pretty huge leap for Usine!
Did that to me also, but you can find both the exe and the dll in Downloads.
by bsork
02 Aug 2011, 23:42
Forum: News
Topic: Usine 5.70 teasine.
Replies: 42
Views: 69123

This is mighty :cool:!!!
by bsork
02 Jul 2011, 00:47
Forum: Artistic Zone
Topic: Senso on few videos
Replies: 8
Views: 28849

:cool: Great stuff, Olivier!

Even my 10 year old daughter Runa (who normally prefers Rihanna and the like) had a look at the most grooving part of the karlax perfomance and said: "That's cool!". :)
by bsork
16 May 2011, 15:39
Forum: Patching questions
Topic: crosfade blayback between two samplers
Replies: 4
Views: 6117

Use an A>B module to check when pos crosses 70% and an From0To1 connected between that one and the play button on the other sampler. The From0To1 will act just like a button on the screen as far as the sampler is concerned.
by bsork
28 Apr 2011, 13:26
Forum: Suggestions & improvements
Topic: transparency option in edit layout
Replies: 6
Views: 6952

Regarding 2):

You can use both a Text or Panel module for this. Both can be found under Interface Design in the browser. They're not very different in what they can do, so check them both out.
by bsork
26 Apr 2011, 09:14
Forum: General discussion
Topic: RIP : one of our members :Kara
Replies: 9
Views: 11807

:( RIP
by bsork
13 Apr 2011, 22:44
Forum: Patching questions
Topic: math problem
Replies: 11
Views: 12001

I was sure I had brought up this issue once, so I did a search and found this thread from 2006. You'll find the formula there.
by bsork
07 Apr 2011, 08:34
Forum: General discussion
Topic: What's the best way to update Usine?
Replies: 6
Views: 7499

About the setup files, you could also do as I do and keep them in a separate directory. After each install (sometimes overwriting sometimes a new folder), I go into the different setup windows (global, remote and master) and open the old file and re-save it - possibly with a new name.
by bsork
21 Mar 2011, 09:19
Forum: Patching questions
Topic: [script] Removing the path from a string
Replies: 7
Views: 10254

If what you're after is the "stripped" file name as an output from the script, you have to create an output for it and assign a value to the output. WriteLn (along with sTrace, iTrace and fTrace) just writes to the console for showing messages, debugging etc. Create another parameter, eg pFileNameOu...
by bsork
14 Mar 2011, 22:04
Forum: Patching questions
Topic: [script] Removing the path from a string
Replies: 7
Views: 10254

Hi, I suppose you found a Deplhi example somewhere? Usine is written (mostly?) in Delphi, and you can use quite a lot of the functions and procedures from Delphi within scripts, but far from all. I haven't really programmed in Delphi myself, but I'm pretty sure that the above example creates a simpl...
by bsork
10 Mar 2011, 22:50
Forum: Patching questions
Topic: Save Array to text file ; read array from text file.
Replies: 8
Views: 11986

Here is a combined script for reading and writing arrays in text files. No fancy stuff, the only check being a FileExists before reading. Hopefully useful. VAR pArrayIn : TParameter; VAR pArrayOut : TParameter; VAR pFileName : TParameter; VAR pWrite : TParameter; VAR pRead : TParameter; PROCEDURE In...
by bsork
10 Mar 2011, 07:52
Forum: Patching questions
Topic: Save Array to text file ; read array from text file.
Replies: 8
Views: 11986

Sorry to be late, but I've sidetracked myself with testing various script-stuff to improve file error handling and string manipulations. I will upload usable scripts without the extra touches tonight. I haven't actually decided exactly what the extra touches would be either, so new add-ons will have...
by bsork
09 Mar 2011, 08:13
Forum: Patching questions
Topic: need help to make a script
Replies: 5
Views: 5758

About TStringList, you don't have to fill it up like you do in Init. Just use SL1.Add(IntToStr(trunc(getDataArrayValue(ArrayIn,i)))) in a loop in Callback. That way you also don't have to think about MAX_SIZE as the array length will govern the length of the commatext. No need to initialize SL1.Comm...
by bsork
06 Mar 2011, 09:25
Forum: Suggestions & improvements
Topic: 16 midi channels virtual inputs and...
Replies: 9
Views: 9535

That was the way I understood Moddy's explanation. Personally, I only use two physical inputs and one internal don't need lots of MIDI channel assignments, filters etc.
by bsork
04 Mar 2011, 13:12
Forum: Patching questions
Topic: [script) Remove element from commatext
Replies: 5
Views: 7002

Sorry, but I guess could've been more spesific in telling where to place the code. I does work, though. A tip if you want the commatext sometimes to be copied in to out is to use an nth value of eg -1 and add the needed IF test.
by bsork
03 Mar 2011, 15:46
Forum: Patching questions
Topic: [script) Remove element from commatext
Replies: 5
Views: 7002

I haven't tested it myself (at least not that I can remember), but after getting the input string and index I think you can try something like:

Code: Select all

Sl1.Delete&#40;idx&#41;;
SetStringValue&#40;Output, Sl1.CommaText&#41;;
by bsork
03 Mar 2011, 12:00
Forum: Patching questions
Topic: Script challenge of the day:master/slave encoder
Replies: 42
Views: 60009

Thanks for finding the bug - I was a bit lazy when testing, I must admit. Typical error when using copy/paste...:/ About the combined input/output thingie, this is the first time I've done it that way myself. I just thought I should try if it could work, and it did. Less coding needed, and maybe som...
by bsork
03 Mar 2011, 08:35
Forum: Patching questions
Topic: Save Array to text file ; read array from text file.
Replies: 8
Views: 11986

I'll see what I can do during the weekend. I'm not at all surprised that the old script gives errors, as a lot has happened to Usine and the scripting engine since it was made.
by bsork
03 Mar 2011, 08:31
Forum: Patching questions
Topic: Script challenge of the day:master/slave encoder
Replies: 42
Views: 60009

Nice one, 23fx23! The sorting is just a simple "bubble sort" if you want to check it out - probably one if of the simplest sorting methods there is. I am definitely no expert on these things, and just copied it from an example I had lying around and added the descending variety. Being mostly an Orac...
by bsork
02 Mar 2011, 23:25
Forum: Patching questions
Topic: Save Array to text file ; read array from text file.
Replies: 8
Views: 11986

I made a couple of scripts years ago that partly do what you want, you find them in the add-ons/data tools: data2textfile and textfile2data. These are however using the old scripting engine, so I think it's about time I revised them, I guess... :) Anyone feel free to update them, I wont have time to...
by bsork
02 Mar 2011, 23:19
Forum: Patching questions
Topic: Script challenge of the day:master/slave encoder
Replies: 42
Views: 60009

Here's a script with a master array and NUM_SLAVES slave arrays, where the master array can be sorted ascending or descending. I haven't put in any queueing or clearing and things like that as I think that can be easily done with modules outside of the script. However, I've been thinking that someth...
by bsork
01 Mar 2011, 22:20
Forum: Patching questions
Topic: How to extract the least 7 bytes from a value?
Replies: 2
Views: 4087

When the input is MIDI data with values between 0 and 255, you can use X MOD 128. Normally you don't have to do that, though, since all the data bytes are from 0 to 127 and the most significant bit is 0 anyway.
by bsork
01 Mar 2011, 22:14
Forum: Patching questions
Topic: Script challenge of the day:master/slave encoder
Replies: 42
Views: 60009

At first I didn't understand a thing of what you meant by "master and slave", but now I think I've got it... Just to be sure: You want to queue incoming MIDI messages, and then output them sorted by code1 (CC number, Note number...) with the exception of any 0s in master(?). Have I missed the point ...
by bsork
01 Mar 2011, 21:53
Forum: Suggestions & improvements
Topic: 16 midi channels virtual inputs and...
Replies: 9
Views: 9535

Ooops - I didn't know that the channels and inputs were mixed up like that. To me that sounds like a bug.
by bsork
01 Mar 2011, 12:03
Forum: Patching questions
Topic: Set array : more than 64 elements, huge on cpu ! Any alternative?
Replies: 20
Views: 20706

You're right about the possibility for an out-of-range index, so better keep the IF test. About copying the input to output first before changing the separate values to valIn, the best solution CPU-wise could vary, but your way of doing it makes sure that the output array is filled even when nothing...
by bsork
01 Mar 2011, 11:52
Forum: Suggestions & improvements
Topic: 16 midi channels virtual inputs and...
Replies: 9
Views: 9535

Isn't there a little mixup here? The 8 switches are for the inputs, not channels. Do you really use more than 8 MIDI inputs?
by bsork
01 Mar 2011, 08:29
Forum: Patching questions
Topic: Set array : more than 64 elements, huge on cpu ! Any alternative?
Replies: 20
Views: 20706

The script looks good to me. A couple of minor things:
- Max for the index parameter should be 511, not 512.
- The FOR loop should go from 0 to (NO_OF_SUBS-1), then the IF-test can be skipped.

Nice work!
by bsork
28 Feb 2011, 22:43
Forum: Patching questions
Topic: Set array : more than 64 elements, huge on cpu ! Any alternative?
Replies: 20
Views: 20706

Extract Sub Array is quite simple to use - just set the start element and the length=number of elements that you want to extract. If you eg want to keep the first 64 elements, skip the next 64, and then keep the rest of of 512, Extrac tSub Array #1 should have start pos=0 and length=64, #2 have star...
by bsork
28 Feb 2011, 21:45
Forum: Patching questions
Topic: Set array : more than 64 elements, huge on cpu ! Any alternative?
Replies: 20
Views: 20706

If these values are just part of a larger array, you can use Extract Sub Array to get the part(s) you want to keep unchanged, and then concatenate that with a plain Array module where you use "reset val" and "reset" to enter the new value. Use Concat Array to piece the whole lot together.
by bsork
24 Feb 2011, 11:11
Forum: Add-ons discussion
Topic: Array Find and Array Compare
Replies: 7
Views: 10654

Thanks moody. I won't have time to do anything with this in a few days, but eventually... :)
by bsork
23 Feb 2011, 14:32
Forum: General discussion
Topic: An Upcoming User Module
Replies: 53
Views: 61721

+100! :)
by bsork
16 Feb 2011, 09:25
Forum: General discussion
Topic: An Upcoming User Module
Replies: 53
Views: 61721

Sounds good!

I agree with Nay - it sounds like a reverb/ambience thingie, but I guess it's something different, or at least not only a reverb.
by bsork
16 Feb 2011, 08:20
Forum: General discussion
Topic: Hi, Im new! Excited about usine
Replies: 11
Views: 13729

Welcome aboard, captain!
by bsork
08 Feb 2011, 08:08
Forum: News
Topic: Usine 5.50 poly
Replies: 19
Views: 35114

Thanks! :)
by bsork
05 Feb 2011, 10:52
Forum: Patching questions
Topic: CallBack procedure [script]
Replies: 2
Views: 4264

Hi, I haven't tested your script, but you don't have to get all the values in the callback. If for instance you have one parameter that you want to trigger a recalculation of other input values, put it in the callback (IF (n=?) THEN...) and just read the the other values when they're needed. Another...
by bsork
03 Feb 2011, 08:37
Forum: Patching questions
Topic: Multiplying Arrays.
Replies: 7
Views: 8452

If you do math on an array - say multiplying array A with single value B - the output will have the same length as array A where each element in A gets multiplied by B. However, if you have two arrays of size > 1 (a single value is in fact an array of size 1), the single elements get calculated - eg...
by bsork
29 Jan 2011, 16:38
Forum: Module development SDK
Topic: Help with data generators...
Replies: 70
Views: 198875

This looks great! :)

Thanks!
by bsork
27 Jan 2011, 08:27
Forum: Patching questions
Topic: Muting any tracks with a single switch
Replies: 11
Views: 11418

As Woodslanding says; the Mixer Track Output doesn't use much CPU. In fact I think that if not all, then most of the modules controlling some part of Usine's interface use almost no extra power at all. They're not doing any extra processing, they're just a means to control the processing that's alre...
by bsork
26 Jan 2011, 14:47
Forum: Patching questions
Topic: Muting any tracks with a single switch
Replies: 11
Views: 11418

An idea that won't "mute any track with any pedal switch", but should be easy to implement: Have as many switches as you have tracks you want to control - these should be stored in the Conductor. Add another "master" switch with MidiLearn - whether this should be stored in the Conductor depends. Use...
by bsork
03 Jan 2011, 08:13
Forum: Patching questions
Topic: question about receive midi clock patch
Replies: 4
Views: 5278

MTC is defined as a "Universal System Exclusive Message". These are extensions to the MIDI standard - technically SysEx, but not connected to any particular manufacturer or device. Check out the MIDI messages table. [edit] Oooops!!! Just browsed some more, and the MTC Quarter Frame message is not Sy...
by bsork
14 Dec 2010, 14:52
Forum: Patching questions
Topic: [script] Wait x blocs or ms
Replies: 3
Views: 5045

The clou to this is counting (for n blocks) or checking elapsed time (for ms), and when queueing data like in the two mentioned scripts, adding and retrieving data from the queue. The last part is IMO the most complicated and can be handled several ways, but since you mentioned waiting with processi...
by bsork
25 Nov 2010, 15:00
Forum: Suggestions & improvements
Topic: special DSP module
Replies: 4
Views: 5146

It's already there - to some extent...: You can use whatever math, delays, filters, FFT modules you want to do things similar to a lot of the things you would do within "coded" DSP.
by bsork
25 Nov 2010, 08:14
Forum: Suggestions & improvements
Topic: NotePad in the workspace
Replies: 5
Views: 5429

To me as well. Nice one!
by bsork
23 Nov 2010, 22:12
Forum: Artistic Zone
Topic: a new little short online
Replies: 10
Views: 13873

Fascinating film with a great soundtrack!
by bsork
23 Nov 2010, 19:40
Forum: Patching questions
Topic: start playing on activation
Replies: 1
Views: 2796

It works for me just jumping back and forth between the sampler patch with an OnActivation connected to the play inlet, and another patch on the same track (in grid mode). Anything else special in your patch or workspace that might interfere?
by bsork
23 Nov 2010, 19:35
Forum: Suggestions & improvements
Topic: log org exp curve in line module
Replies: 1
Views: 2840

You can use the Math/Multiplication Coefficient to dB module.

Examples input 0 -> -200 db, input 1->0db, input 2->6.02dB
by bsork
23 Nov 2010, 13:44
Forum: Suggestions & improvements
Topic: select midi port on midi in modul
Replies: 3
Views: 4621

You should however check whether this works ok if and when you send data simultaniously to more than one Midi input.
by bsork
23 Nov 2010, 08:32
Forum: General discussion
Topic: a midi message container to control external effects
Replies: 4
Views: 5480

Unless you have a lot of controllers and program changes to send, I guess your best bet is to use the Create Midi message module together with faders and other interface modules. The interface stuff will be stored as presets or in the scenes. Connect a HasChanged module between the fader or whatever...
by bsork
19 Nov 2010, 15:42
Forum: Add-ons discussion
Topic: transformer: sequenced effects processor
Replies: 21
Views: 30174

Very impressive! :cool:
by bsork
16 Nov 2010, 10:49
Forum: Artistic Zone
Topic: Usine can manage Irish music ;)
Replies: 12
Views: 15060

:D
by bsork
09 Nov 2010, 08:47
Forum: General discussion
Topic: Jack audio and Usine
Replies: 8
Views: 9935

As you've already found out on KVR, I made Jack work to some extent with Usine and Reason, but it never got to a usable state. Reading those old posts now, I guess I had some driver conflicts that caused the pops'n'clicks, and I suppose I tried to find a solution then, but without luck. Anyway, I wa...
by bsork
09 Nov 2010, 08:39
Forum: Patching questions
Topic: Set Several Array Value at the same time
Replies: 3
Views: 4282

Good that you made the SetArray work!
by bsork
08 Nov 2010, 15:27
Forum: Patching questions
Topic: Set Several Array Value at the same time
Replies: 3
Views: 4282

You should have the SetArrVal modules in series, not parallel. Or do you eventually have something more complex in mind? The reason I ask, is that the two extra Array modules aren't needed in the example, but they might have some other use(?).
by bsork
27 Oct 2010, 23:05
Forum: Suggestions & improvements
Topic: Interface builder needs help
Replies: 21
Views: 24337

I managed to recreate something similar to the last video, but I couldn't decide what action really made it happen. I do however have a hunch that there's something with the auto sizing and the maths involved when snapping to the grid. I did my test with the max grid size of 20 and with the grid vis...
by bsork
21 Oct 2010, 22:21
Forum: General discussion
Topic: HyperStretch tool
Replies: 6
Views: 7711

A related (I think) program that I've had fun with is Mammut from NOTAM: http://www.notam02.no/index.php?/eng/Teknologi-og-tekst/Programvare/Mammut-help . This is the help page, download link almost at the bottom. I'm not sure of this, but I think I read somewhere that the ZynAdd guy uses some algor...
by bsork
21 Oct 2010, 22:05
Forum: Suggestions & improvements
Topic: Simple shortcut or button to open the patch editing window
Replies: 4
Views: 4535

You can double-click the interface background to open the patch, or right-click the background and choose Open Patch from the pop-up menu. A handy feature - especially when using sub-patches - is right-clicking an interface element like a fader or a switch and use Find in Patch. Since you can get th...
by bsork
21 Oct 2010, 18:39
Forum: Patching questions
Topic: Two separate notes after pressing and releasing a button?
Replies: 21
Views: 20948

In addition to the 23fx23's screenshot above, also use a 0 to 1 and connect that to another Create Midi. The outputs from the two Create Midi modules can then be connected to the same input (of eg a Midi Output or the Midi input of a VSTi).
by bsork
18 Oct 2010, 14:56
Forum: Add-ons discussion
Topic: Equation user module
Replies: 43
Views: 63909

Thanks, Caco! Very useful :)
by bsork
18 Oct 2010, 11:07
Forum: Patching questions
Topic: Changing the time signature with a preset
Replies: 4
Views: 4490

Usine only has 4 as the nominator, so you would have to also double the tempo to simulate the use of 8ths.
by bsork
11 Oct 2010, 10:17
Forum: Patching questions
Topic: crosstrack patching?
Replies: 6
Views: 6928

...but you can send audio either through the auxes or directly from one track to another. You can also send internal MIDI messages.
by bsork
11 Oct 2010, 08:37
Forum: News
Topic: Free Add-ons download suspended.
Replies: 23
Views: 36333

This was bad news... :(
by bsork
06 Oct 2010, 08:28
Forum: Patching questions
Topic: making two samplers have identical loop lengths
Replies: 18
Views: 19405

hmmm, I have had no luck midiLearning on notes.... I'll try again. Hm, that's strange. :/ Hopefully, you have better luck with the updated software. With regard to the switch: I have a script to convert a note to a switch (below), which goes into a 'has changed' module, leading into the toggle inpu...
by bsork
05 Oct 2010, 08:11
Forum: Patching questions
Topic: making two samplers have identical loop lengths
Replies: 18
Views: 19405

I assume the remote modes refer to midi learn? I can't use that because my footswitch (FCB1010) sends midi notes, which I have to convert to CCs..... Just for the record, you can also use notes for the MIDI learn, so unless you have to filter them to avoid unwanted note messages somewhere, use them...
by bsork
04 Oct 2010, 22:28
Forum: Add-ons discussion
Topic: Smartusines
Replies: 6
Views: 8637

The master of off-the-wall sequencing!
by bsork
01 Oct 2010, 00:21
Forum: Add-ons discussion
Topic: KeepOnPlaying v1.0 - My first and new addon
Replies: 13
Views: 20141

:D ideas and some :cool: music!
by bsork
30 Sep 2010, 17:06
Forum: General discussion
Topic: Warning : the waveplayer is on
Replies: 3
Views: 4529

You find the waveplayer under the Windows menu (can't remember the shortcut key). In the waveplayer window, there's a switch in the lower left corner to turn it off.
by bsork
30 Sep 2010, 11:54
Forum: Patching questions
Topic: making two samplers have identical loop lengths
Replies: 18
Views: 19405

Okay--figured out a failsafe way to stop the drift: I stopped using loop mode in the slave. Instead, it gets triggered every time the master loop reaches the value that the record button was at when pressed! Actually, trigging one-shots is probably the only way to keep the loops from drifting. Even...
by bsork
29 Sep 2010, 23:46
Forum: Patching questions
Topic: freeze phasevocoder
Replies: 9
Views: 11048

Thanks for sharing, headphoner! There's one thing, however. I wondered why the patch was so big (>6MB) so started checking, and it appeared that the two array modules (well - maybe just one of them) are the culprits. Delete them add new ones, and the patch is down to 39KB, Why this has happened, I h...
by bsork
29 Sep 2010, 22:29
Forum: General discussion
Topic: the tip of the year: how to boost your system by 40%
Replies: 21
Views: 41912

Thanks for the tip!
by bsork
29 Sep 2010, 16:07
Forum: General discussion
Topic: the tip of the year: how to boost your system by 40%
Replies: 21
Views: 41912

Anybody had any luck with XP yet? I made a quick try yesterday and the crackling increased...:( If at all it works in XP, I'm pretty sure I have to reallocate some IRQs though, as there lots of conflicts and I'm not totally sure what everything is actually. I thought was done messing with IRQs in pr...
by bsork
29 Sep 2010, 08:57
Forum: Patching questions
Topic: making two samplers have identical loop lengths
Replies: 18
Views: 19405

You could try with >= instead of truncation and = and see where that gets you. You might also find something of interest in my (old) add-on
PunchInPack which is based on something similar.
by bsork
24 Sep 2010, 00:02
Forum: Suggestions & improvements
Topic: hold event
Replies: 24
Views: 23804

More efficient?!? Wow - things have changed more than I thought!
by bsork
23 Sep 2010, 22:10
Forum: Suggestions & improvements
Topic: Index in/out on combo/list boxes
Replies: 4
Views: 4621

23fx23 is right. In the above example hello woulds have index 0, bye index 1, etc.
by bsork
23 Sep 2010, 22:08
Forum: Suggestions & improvements
Topic: hold event
Replies: 24
Views: 23804

Yes - I don't htink it would be hard to patch the same thing.
by bsork
23 Sep 2010, 11:34
Forum: General discussion
Topic: New Waveshaper User Module
Replies: 36
Views: 41402

Thanks, Caco!
by bsork
22 Sep 2010, 13:33
Forum: Suggestions & improvements
Topic: Index in/out on combo/list boxes
Replies: 4
Views: 4621

Now that you can enter values directly in the texts on the list and combo boxes, I think that an index parameter could be useful. Nothing that can't be done with eg a Mapper Value, but easier when creating a list of non-contiguous numbers of for instance MIDI program changes.
by bsork
22 Sep 2010, 13:25
Forum: Suggestions & improvements
Topic: hold event
Replies: 24
Views: 23804

I'm also a bit curious as to what you're using it for... :)

Enlighten us!
by bsork
22 Sep 2010, 11:36
Forum: Suggestions & improvements
Topic: hold event
Replies: 24
Views: 23804

Shouldn't be too hard to implement for MIDI, but IIRC there's already something similar (at least for note messages) in the MIDI Utility pack. Check it out, I don't have time now.
by bsork
22 Sep 2010, 10:59
Forum: Suggestions & improvements
Topic: hold event
Replies: 24
Views: 23804

Something like this? VAR pInValue, pOutValue, pResetValue, pHoldTime, pIgnoreWhileHold : tParameter; VAR lastTime : Single; VAR holding : Boolean; PROCEDURE Init; BEGIN pInValue := CreateParam('value in', ptDataField); SetIsOutput(pInValue, FALSE); pOutValue := CreateParam('value...
by bsork
21 Sep 2010, 21:46
Forum: Suggestions & improvements
Topic: conductor lite all visible
Replies: 7
Views: 7934

woodslanding wrote:like the sequencer is annoying if you don't use it??
Point taken - sorry...:/

But aside from what Senso has already mentioned: As you can create your own personal interface for just about anything in Usine, is there really any need for customizing the standard GUI?
by bsork
21 Sep 2010, 14:10
Forum: Suggestions & improvements
Topic: conductor lite all visible
Replies: 7
Views: 7934

Wouldn't that be rather annoying for those that don't use it?
by bsork
19 Sep 2010, 22:00
Forum: Patching questions
Topic: Tmidi question
Replies: 2
Views: 3172

is it recommended to have midiout of script only of the size of needed events? In short - yes. :) And unless you for some reason want to resend the same message(s) in each block, the MIDI array length should be zeroed within the next block or changed to the length of the new messages. The good thin...
by bsork
19 Sep 2010, 21:46
Forum: General discussion
Topic: Toggling between two uses of one fader.
Replies: 11
Views: 12403

Good!
by bsork
16 Sep 2010, 00:04
Forum: General discussion
Topic: Toggling between two uses of one fader.
Replies: 11
Views: 12403

That's mighty strange. I've just created a patch similar to Nay's suggestion (in 5.25) and it's working just fine. Like you (I guess), I exchanged the Data Outs with faders, and they behave exactly as I thought they would: The currently controlled gets updated whenever the "input" fader gets updated...
by bsork
15 Sep 2010, 23:34
Forum: News
Topic: Usine 5.25
Replies: 9
Views: 14876

:cool: Thanks!
by bsork
15 Sep 2010, 11:54
Forum: General discussion
Topic: Toggling between two uses of one fader.
Replies: 11
Views: 12403

nay-seven wrote:he gone to have some values jump when he use the switch without them..?
Good point - didn't think of that.
by bsork
14 Sep 2010, 22:04
Forum: General discussion
Topic: Toggling between two uses of one fader.
Replies: 11
Views: 12403

The Pass module outputs data inly when the "pass" inlet is on, ie 1. There's also a Stop module that works in the opposite way - you can change the Not -> Pass with that one. The Pass (only) If Changed module only outputs data when the input is changed. Handy if you for example would like to manuall...
by bsork
14 Sep 2010, 15:58
Forum: Patching questions
Topic: KaossPad2 midi controler
Replies: 19
Views: 17572

Just for the record, the X/Y morph patch is another beast. It uses the XY module to "morph" between four sets of parameters and as such has nothing to do with MIDI control of the XY.
by bsork
14 Sep 2010, 14:31
Forum: Additional Packs
Topic: Matrix Pack official thread
Replies: 151
Views: 1482935

Now that's pretty wild!:D
by bsork
09 Sep 2010, 01:09
Forum: Patching questions
Topic: smooth and array
Replies: 5
Views: 6656

@23fx23: What you describe looks to me like something you would get by rounding the intermediate values - at least if you consider the steps to be of equal "size". If that's the case, some simple integer math will do the trick: Assuming input and outputs values between 0 and 1: output = round(input ...
by bsork
08 Sep 2010, 22:48
Forum: Patching questions
Topic: smooth and array
Replies: 5
Views: 6656

Use whatever you want that generates a value X between 0 and 1, multiply array A with X and array B with (1-X), then add the outputs.
by bsork
08 Sep 2010, 15:44
Forum: Patching questions
Topic: midi filter pass outlet quantization
Replies: 7
Views: 7625

i usually connect a listbox to a ApowerB where A is 2 and B the list box output so it reurn 1,2,4,8,16,32 ect for the mod for binary or can use an array editor to put what ya want if also ternary or other... A bit off topic - sorry - but I'd like to mention that you can add values to the texts in l...
by bsork
08 Sep 2010, 00:31
Forum: News
Topic: Multitouch Gesture Recognition System
Replies: 7
Views: 10369

Cool!

Silly me, I didn't think of expanding the module. Of course, the parameters don't miss inputs or outputs, they're just a bit shy and like to play hide'n'seek :P.

This will come in very handy. Thank you, boss!
by bsork
07 Sep 2010, 22:01
Forum: News
Topic: Multitouch Gesture Recognition System
Replies: 7
Views: 10369

I don't have a touch-screen, but I tested it with my good old mouse and it worked like a charm! :cool: I had a quick look at the script (of course...) but this one will take quite some time to understand. If I ever will, that is. I noticed, however, that arrX and arrY where defined as tParameter, bu...
by bsork
03 Sep 2010, 18:08
Forum: News
Topic: Usine 5.25 beta 8
Replies: 9
Views: 12907

NIce work a always!

(...and I really appreciate the attention to simple details with the new math modules.)
by bsork
02 Sep 2010, 22:11
Forum: Patching questions
Topic: Create Midi not working?
Replies: 8
Views: 7864

Yes, something as simple as that.
by bsork
02 Sep 2010, 11:02
Forum: Patching questions
Topic: Create Midi not working?
Replies: 8
Views: 7864

It's because the in.msg is equal to the status byte stripped of channel info, while the create.msg is a selection list/combo box starting at index 0. Confusing? Yes.

That confusion does however only apply to msg - the other ins and outs use the same values.
by bsork
20 Aug 2010, 16:11
Forum: General discussion
Topic: Roland FC300 owners wanted!
Replies: 32
Views: 50728

HI, sorry to have taken so long with finishing off anything useful for the FC. The thing is that I was well under way creating a rather complicated workspace until I realized I was putting in different ideas that didn't belong in the same workspace. Just to explain, I will probably end up creating t...
by bsork
20 Aug 2010, 16:00
Forum: Add-ons discussion
Topic: Roland FC300 SysEx
Replies: 16
Views: 46419

An add-on for SySex communication with Roland's FC300 MIDI foot controller. It's a zipped file with patches and scripts and a test workspace. The workspace contains various patches in track 1 to send SysEx to the FC using modules - the only useful one of these (except for test/demo purposes) is the ...
by bsork
17 Aug 2010, 08:16
Forum: Patching questions
Topic: the simplest patch and a question
Replies: 12
Views: 13460

Just a tip if all you want to is to put in an extra "node" to make the wiring more tidy: Instead of sub-patches, just use one of the simples modules you can find. I use an A+B for this once in a while.
by bsork
12 Aug 2010, 08:23
Forum: Patching questions
Topic: [script] delta and unpack
Replies: 9
Views: 10769

You seemed to have found a smart way of using modules to extract the deltas! :) However, here's an idea of how to accomplish the same within a script: Create an internal array with the old input values, make a loop to check which values has changed every time time there's a callback on the input arr...
by bsork
10 Aug 2010, 23:15
Forum: Add-ons discussion
Topic: Morphusine
Replies: 16
Views: 20976

FWIW, I tried to use modules instead and have tried both with 1024 values instead of just 16 as a "stress test" of the CPU usage. There's no definitive winner; the script version seems to use a little less CPU than the module version when the patch is idle, but shows some occasional spikes when the ...
by bsork
10 Aug 2010, 09:01
Forum: Add-ons discussion
Topic: Morphusine
Replies: 16
Views: 20976

...more off topic... @Multiphone: If you're just interpolating between two sets of values, and it's ok with a linear interpolation, there's a much simpler solution. Just multiply the first set with the output of a fader or whatever going from 0 to 1, and multiply the second set with (1 - fader value...
by bsork
10 Aug 2010, 00:03
Forum: Add-ons discussion
Topic: Morphusine
Replies: 16
Views: 20976

To not hi-jack this thread totally...: Nay-seven, that's a cool patch! ...back off topic...: Multiphone, I was initially a bit confused by the script above. "Did I write that? What do all those V-parameters do?" If I'm not mistaken, it's your script based on the v3 add-on, or? Well, nevermind. I've ...
by bsork
09 Aug 2010, 09:51
Forum: Add-ons discussion
Topic: Morphusine
Replies: 16
Views: 20976

multiphone wrote:I dont have enderstand the method of interpolation in the "main proc"
I guess you can call it "linear"... This one is getting old and should at least be updated to the new script engine. I'll take a look.
by bsork
02 Aug 2010, 09:00
Forum: General discussion
Topic: few important tips (hidden strings)
Replies: 9
Views: 10378

Handy!
by bsork
24 Jun 2010, 08:08
Forum: Manuals & Wiki
Topic: spanish translation of manual from bSork midi utilities pack
Replies: 3
Views: 38284

:cool:

Hope my wording wasn't too confusing and difficult to translate. :)
by bsork
16 Jun 2010, 09:22
Forum: Patching questions
Topic: Tips for Usine take on "virtual pedal board"?
Replies: 4
Views: 6150

There are lot of ways to organize a Usine workspace as an effects processor. As already mentioned, you can use the Preset Manager so save and recall patches individually, and also use the Conductor as a Preset Manager for the whole workspace. If you want to set up very distinctly different patches f...
by bsork
14 Jun 2010, 10:36
Forum: Patching questions
Topic: Starting with Scripts...
Replies: 17
Views: 16761

The obvious thing to start with when updating would be the new "structure" with the Callback, Process and Destroy procedures. Olivier has written the basics describing these things as compared to the old scripts in the scripting Wiki already, but that sort of information is so fundamental as it shou...
by bsork
14 Jun 2010, 08:24
Forum: Patching questions
Topic: comma text and string const
Replies: 10
Views: 9244

...and I was even looking for some naming errors like that! :(

Well spotted, Olovier! :)
by bsork
14 Jun 2010, 08:22
Forum: Patching questions
Topic: Starting with Scripts...
Replies: 17
Views: 16761

I should've mentioned it in my previous post, but.. Now that we have the Wiki up and running, maybe the updated tutorial should be created in there instead of as a doc/PDF?
by bsork
14 Jun 2010, 08:18
Forum: General discussion
Topic: Digital distortion problems
Replies: 22
Views: 21523

@clerik, just to be sure: Did you do the same thing - guitar input to output - in the other DAWs as well? If you plug a guitar directly into a line input, you mostly get a bad sounding guitar. Not necessarily distorted, but...

(BTW, there are no policy about mentioning other DAWs in the forum. :))
by bsork
11 Jun 2010, 15:27
Forum: Patching questions
Topic: Starting with Scripts...
Replies: 17
Views: 16761

Maybe time to think of an update of the tutorial..?
by bsork
10 Jun 2010, 23:32
Forum: Patching questions
Topic: Starting with Scripts...
Replies: 17
Views: 16761

[Edit: Ooops! you've both been busy while I had to take care of my son who had a nightmare while I was still not finished writing. I keep the text as it is anyway.] You're right: Adding both SetLength(ArrayOut, len) and SetArrayLength(ArrayTemp, len) solves the ErrorProcess problem. You question the...
by bsork
10 Jun 2010, 15:53
Forum: Patching questions
Topic: Starting with Scripts...
Replies: 17
Views: 16761

I can take a closer look tonight - must go now.
by bsork
10 Jun 2010, 13:09
Forum: Patching questions
Topic: Starting with Scripts...
Replies: 17
Views: 16761

First I think you should set the length of both ArrayOut and Arraytemp to (at least) the same length as ArrayIn before assigning values to them. From this snippet I can't tell whether you've done that earlier in program, for instance in Init? Another thing is that you shouldn't really have code like...
by bsork
09 Jun 2010, 22:44
Forum: General discussion
Topic: Roland FC300 owners wanted!
Replies: 32
Views: 50728

Well, things are moving rather slowly on my part as well... I haven't had the opportunity to work much with the FC300 stuff lately, but a lot of the "base" things are in place. I can imagine that you can get into trouble by connecting the FC to both the VG99 and Usine at the same time could get a bi...
by bsork
08 Jun 2010, 07:55
Forum: Patching questions
Topic: comma text and string const
Replies: 10
Views: 9244

23fx23 wrote:i can't stand making errors i don't understand. hehe
I forgot to do the most obvious test: Copying the script into an empty patch. Well - it didn't help... But maybe you're on to something with the input 0 as visible thing? Or min/max?

Senso - any comments?
by bsork
07 Jun 2010, 22:47
Forum: Patching questions
Topic: comma text and string const
Replies: 10
Views: 9244

I've had a look, but can't say I found out what's wrong. I found out however that when I connected something to the first parameter of the inputs (no matter if I had changed the order of them), there was a (infinite?) loop of callbacks on that input when I connected something to it. Changing the dat...
by bsork
07 Jun 2010, 08:14
Forum: Manuals & Wiki
Topic: nearing completion of help tips translation into spanish - whats next?
Replies: 4
Views: 39814

"No problemo" for me! (Is that correct Spanish?)
by bsork
07 Jun 2010, 08:12
Forum: Patching questions
Topic: 32/24 bits
Replies: 3
Views: 4901

Can't go into all the details here (not sure if I understand what you mean everywhere, either), but you don't gain much by manipulating 32 bit floats to or from the 4 Byte tMidi record. If the separate parts of tMidi is stored as four different elements in eg the Array module, you of course use four...
by bsork
07 Jun 2010, 08:02
Forum: Patching questions
Topic: Tmidi
Replies: 3
Views: 4207

I have just used constants and /or lookup tables/arrays for handling the messages. I don't quite get your second question, but I think the answer is no:). You can't access the fields in a record like it was some index - it would have to go by the field name. You could of course split the various fie...
by bsork
07 Jun 2010, 07:50
Forum: Suggestions & improvements
Topic: Midi Array Module?
Replies: 17
Views: 15021

You can use both functions like Round and Trunc as well as type casting to explicit convert between data types. When type casting, you use the data type name - Byte, Integer, Single, DWord, whatever - like any other function name. For instance floatVar := Float(intVar); BTW, remember that X shr N an...
by bsork
05 Jun 2010, 14:07
Forum: Add-ons discussion
Topic: AuTo_ComBo V1.0
Replies: 3
Views: 5443

Wow! :cool:
by bsork
05 Jun 2010, 14:03
Forum: Patching questions
Topic: comma text and string const
Replies: 10
Views: 9244

Could you perhaps post the whole patch?