Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

New DLL feature - Library Resource Thread

DSP related issues, mathematics, processing and techniques

Re: New DLL feature - Library Resource Thread

Postby Tronic » Sun Dec 15, 2013 4:59 pm

I do not understand why there is not directly manage the stream.
Not be enough to run the module DLL function,
for the cycle automatically, as well as for the Primitive Code and Assembly?
The difference is based on the concept frame, as happens in reality when programming in C.
Tronic
 
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Re: New DLL feature - Library Resource Thread

Postby tester » Sun Dec 15, 2013 6:01 pm

Tzarls wrote:
trogluddite wrote:
tester wrote:In other words - will it be possible to use free dll's like

As far as I can tell; "Use", yes, but embedding them into a module/schematic no.

To do it, you would have to make a "custom" .dll that matches the FS specification. Then use that as an interface to call the 'library' .dll.
The "custom" .dll can be stored into the schematic/export file, so the end user doesn't need that .dll on their system. However, the 'library' cannot be stored into the schematic - the export would only work if the end-user has the same 'libraries' installed on their PC.


For achieving what Build-it wants you would need the source code of the library, build it as stati (not dynamic) library. That will produce .lib file, not a .dll file. Then when making your custom dll for FS link to the static library, which will effectively embed the library into the final .dll, at least the part needed for your code to run. SO of course there´s some work to be done, but nothing too extreme.


While I read you with pleasure - without understanding. :mrgreen:

On above example - the source code is available. http://www.fftw.org/download.html

Build (no matter what) with what from what? And then how the next what? :ugeek:

I guess for folks like me, with no experience on such stuff - some step-by-step guide with example would be helpful. The only thing I (vaguely) understand right now, is - that these external libs have then internal "nodes" to which somehow I can connect something and from which I can get something, and all within some sort of format.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: New DLL feature - Library Resource Thread

Postby Tronic » Mon Dec 16, 2013 12:03 am

But is it just me?
it seems that the audio return from the DLL is in advance of the source.
is processed before anything else?
however, the system works like this:
- Create a frame with the size of the audio buffer.
- Shall be taken and passed his memory pointer to the stream,
- Writes the data in memory with an assembly write.
- Frame is reread with the trigger taken from Primitive Frame.

when the data back to its Module DLL,
- Frame is re-created with a different pointer.
- You pass its pointer to the stream and re-read it in blue.

it was better to do it without the cumbersome round ruby?
you might not have an API master clock from to use directly in your code?
Would not it be nice to have the option of using callback from DLL.

For now it seems very nice, but extremely complicated, take something with it.
Would not it be better to have some kind of SDK or API to use inside the DLL?
Tronic
 
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Previous

Return to DSP

Who is online

Users browsing this forum: No registered users and 45 guests