It Works,
Thanks!
Search found 41 matches
- 06 Feb 2010, 13:04
- Forum: Module development SDK
- Topic: PCHAR question
- Replies: 4
- Views: 9272
- 20 Jan 2010, 00:59
- Forum: Module development SDK
- Topic: PCHAR question
- Replies: 4
- Views: 9272
- 14 Sep 2009, 23:50
- Forum: Module development SDK
- Topic: scrollbars
- Replies: 5
- Views: 10046
- 12 Sep 2009, 18:33
- Forum: Module development SDK
- Topic: scrollbars
- Replies: 5
- Views: 10046
- 26 Aug 2009, 16:40
- Forum: Module development SDK
- Topic: Get control-alt-shift state
- Replies: 5
- Views: 10319
- 25 Aug 2009, 23:03
- Forum: Module development SDK
- Topic: Get control-alt-shift state
- Replies: 5
- Views: 10319
- 25 Aug 2009, 18:29
- Forum: Module development SDK
- Topic: not resizable Panel
- Replies: 2
- Views: 6563
- 25 Aug 2009, 17:50
- Forum: Module development SDK
- Topic: Get control-alt-shift state
- Replies: 5
- Views: 10319
- 26 May 2009, 11:03
- Forum: Module development SDK
- Topic: Data lenght = -1
- Replies: 2
- Views: 5933
- 24 May 2009, 15:37
- Forum: Module development SDK
- Topic: Data lenght = -1
- Replies: 2
- Views: 5933
Hi, when the pass event flow or stop event flow don't output anythng, the lenght of the array is set to [-1]. Why [-1] and not [0]? and why a module doesn't receive this change of data lenght? I would like to do a module where if the lenght of the input is >= 1, do something, else do something else....
- 24 May 2009, 15:24
- Forum: Module development SDK
- Topic: Input type
- Replies: 2
- Views: 6050
- 20 May 2009, 11:47
- Forum: Module development SDK
- Topic: Input type
- Replies: 2
- Views: 6050
- 18 May 2009, 13:11
- Forum: Module development SDK
- Topic: SDK V2 Feedbacks, it's here
- Replies: 54
- Views: 90265
- 18 May 2009, 12:10
- Forum: Module development SDK
- Topic: SDK V2 Feedbacks, it's here
- Replies: 54
- Views: 90265
- 13 May 2009, 15:47
- Forum: Module development SDK
- Topic: Problems when using two instance of a module
- Replies: 22
- Views: 35379
- 12 May 2009, 15:16
- Forum: Module development SDK
- Topic: How to read from serial port..
- Replies: 3
- Views: 7013
Ok, now it's clear for the cpu monitor. So I have a general question on Usine, just for better undrstending. I guess it has 2 differents threads: one for the audio and one for te datas. I guess also that (ie.) if sampling rate is at 44.1kHz and block size is 128 samples, the process function is call...
- 09 May 2009, 00:12
- Forum: Module development SDK
- Topic: How to read from serial port..
- Replies: 3
- Views: 7013
here again! I'm trying to create a module in C++, that read datas send on the serial port (com4) by an external device. I programmed the device so that it sends an ascii char whose bits represent the state of 8 phisical port, every time some of it change his state. Outside Usine it seems to work fin...
- 08 May 2009, 23:54
- Forum: Module development SDK
- Topic: Problems when using two instance of a module
- Replies: 22
- Views: 35379
I profit by your patience... 3/ Process <- called each Usine cycle (800/second) while your module is alive "process" is called syncronicall with the block size? ie. if the block size is 128, audio process is called every 128 samples? Or, if the sample rate is 44100 and "process" is called 800/sec, t...
- 08 May 2009, 14:44
- Forum: Module development SDK
- Topic: Problems when using two instance of a module
- Replies: 22
- Views: 35379
Hi Martignasse, The module is a simple oscillator. It fill a buffer with a file where there's a one-cycle waveform. Then it calculates wich sample he has to put out, according with the actual frequency parameter. 1°) 'samplesOverSR' is never updated with the '(float)*(pCycle->lSize) / (float)pCycle-...
- 08 May 2009, 02:13
- Forum: Module development SDK
- Topic: Problems when using two instance of a module
- Replies: 22
- Views: 35379
- 07 May 2009, 22:59
- Forum: Module development SDK
- Topic: Problems when using two instance of a module
- Replies: 22
- Views: 35379
- 07 May 2009, 21:06
- Forum: Module development SDK
- Topic: Problems when using two instance of a module
- Replies: 22
- Views: 35379
- 07 May 2009, 20:55
- Forum: Module development SDK
- Topic: Problems when using two instance of a module
- Replies: 22
- Views: 35379
- 07 May 2009, 19:11
- Forum: Module development SDK
- Topic: Problems when using two instance of a module
- Replies: 22
- Views: 35379
Hi, thanks for your help, I found the problem. I have others variables declared in the process function. I thought that theese were not global...(isn't it?) So, I declared all the variables (with pointers) in the "TModule" and "create" functions and then i use them in the "process". Now it seems to ...
- 07 May 2009, 14:37
- Forum: Module development SDK
- Topic: Problems when using two instance of a module
- Replies: 22
- Views: 35379
- 07 May 2009, 00:11
- Forum: Module development SDK
- Topic: Problems when using two instance of a module
- Replies: 22
- Views: 35379
- 01 May 2009, 13:42
- Forum: Module development SDK
- Topic: SDK V2 Feedbacks, it's here
- Replies: 54
- Views: 90265
hi, need help again... I create a module that fill a buffer with a waveform stored in an external file and read it as a loop (oscillator). it works nice, but when I add a second instance of the same module (even if not connected) it affect the output of the first module (it sounds like a frequency m...
- 30 Apr 2009, 11:43
- Forum: Module development SDK
- Topic: SDK V2 Feedbacks, it's here
- Replies: 54
- Views: 90265
- 22 Apr 2009, 13:41
- Forum: Module development SDK
- Topic: SDK V2 Feedbacks, it's here
- Replies: 54
- Views: 90265
Can you confirm if the textfield problem is solved with the new version 4.20 ? It's ok for the text outlet, it appears normally. But how can I pass my text to the outlet? througt DATA?(but it is an array of floats, not char...) or througt the UserData pointer to void? Have I to set TFlowType to ftE...
- 22 Apr 2009, 02:04
- Forum: Module development SDK
- Topic: SDK V2 Feedbacks, it's here
- Replies: 54
- Views: 90265
thanks for your answers.martignasse wrote:Hi Gizzeta,
Something like should do the trick (not tested) :Code: Select all
double sampleRate = pMasterInfo->VstTimeInfo->sampleRate;
for the sampling rate I checked: it's not VstTimeInfo, but pTimeInfo.
Code: Select all
SampleRate = PointerToMyModule->pMasterInfo->pTimeInfo->sampleRate- 11 Apr 2009, 18:28
- Forum: Module development SDK
- Topic: SDK V2 Feedbacks, it's here
- Replies: 54
- Views: 90265
- 27 Mar 2009, 18:23
- Forum: Module development SDK
- Topic: SDK V2 Feedbacks, it's here
- Replies: 54
- Views: 90265
- 23 Mar 2009, 12:24
- Forum: Suggestions & improvements
- Topic: arguments on modules
- Replies: 5
- Views: 4786
- 22 Mar 2009, 15:53
- Forum: Suggestions & improvements
- Topic: arguments on modules
- Replies: 5
- Views: 4786
I think the best solution is effectively is a popup menu during drag and drop, before the module creation. The user can then provide the arguments that are specified in a function in the module head code, with type(int, float, checkbox, char...), min, max and default. Then the module is create, with...
- 19 Mar 2009, 01:03
- Forum: Suggestions & improvements
- Topic: arguments on modules
- Replies: 5
- Views: 4786
- 10 Mar 2009, 18:52
- Forum: Module development SDK
- Topic: SDK V2 Feedbacks, it's here
- Replies: 54
- Views: 90265
- 09 Mar 2009, 11:01
- Forum: Module development SDK
- Topic: SDK V2 Feedbacks, it's here
- Replies: 54
- Views: 90265
- 08 Mar 2009, 13:16
- Forum: Module development SDK
- Topic: SDK V2 Feedbacks, it's here
- Replies: 54
- Views: 90265
- 06 Mar 2009, 15:13
- Forum: Suggestions & improvements
- Topic: arguments on modules
- Replies: 5
- Views: 4786
- 06 Mar 2009, 12:56
- Forum: Module development SDK
- Topic: SDK V2 Feedbacks, it's here
- Replies: 54
- Views: 90265
Hi Martin, I come from MaxMSP and within it there is a buffer object to store sounds or big datas.I can acces it from the C++ module programming. In Usine, if I need to store for examle a 60 seconds incoming sound inside my module, have I to do a memory allocation myself? Or there's a function to ac...
- 04 Mar 2009, 10:43
- Forum: Module development SDK
- Topic: SDK V2 Feedbacks, it's here
- Replies: 54
- Views: 90265
