Welcome to %s forums

BrainModular Users Forum

Login Register

please add more examples

Create your own modules in C++
Post Reply
nelson
Member
Posts: 36
Contact:

Unread post by nelson » 02 Jan 2009, 01:25

hi

1. please add more examples of code of real working modules using many different parameters and data types (for example sending midi messages, working with time & synchro... etc...)


2. how to read / write string from/to TextValue of ptTextField parameter?

pPrototype->PText->DATA[0] = .... <- all values here are float, how to write string to this textfile?



there is so small amount of examples - it produces questions like this above if I'm not so experienced C programmer...

please help :)

martignasse
Site Admin
Posts: 611
Location: Lyon, FRANCE
Contact:

Unread post by martignasse » 02 Jan 2009, 19:54

hi nelson,

before all, did you figured out your problem with array, in the other thread ?
1. please add more examples of code of real working modules using many different parameters and data types (for example sending midi messages, working with time & synchro... etc...)
Yes, off course, it's the way to go...
But as the CPP SDK is new, there is not a lot of examples for now. The WIKIis here for that, but everybody should put some content (i can manage the WIKI SDK part, but have not enough time to make all the stuff like examples).

It will come with time....I'll prepare a code snippets section for all datatypes types, feel free to put some code in, as you discover some things.

2. how to read / write string from/to TextValue of ptTextField parameter?

pPrototype->PText->DATA[0] = .... <- all values here are float, how to write string to this textfile?
I even don't know myself, and have no time to test for now. the way to go is : test it with minimal user module... and if you're successful, put a code snippet on the WIKI.
there is so small amount of examples - it produces questions like this above if I'm not so experienced C programmer...
please help :)
Yep, to be comfortable with C/CPP is a plus, but i'm sure we will arrive to make it accessible to beginners...with time
Martin FLEURENT - Usine Developer - SDK maintainer

nelson
Member
Posts: 36
Contact:

Unread post by nelson » 02 Jan 2009, 20:19

> before all, did you figured out your problem with array, in the other thread ?


yes, thanx, its works fine ...

now im working on some L-System implementation and have already all the code in C++ from previous implementation but now I must to lern how to manage with this SDK ... how to get text values from input or from textField - rules for l-system.

ok. I'm waiting for some more examples...

Post Reply

Who is online

Users browsing this forum: No registered users and 70 guests