Page 1 of 1

Read Text File & Display Selected Text String(s)

PostPosted: Fri Jul 26, 2013 4:14 pm
by tiffy
I am just playing around with this Flowstone software. Maybe one day in the far [or hopefully near] future, who knows, Flowstone may perhaps advance their software by such a margin to enable me [and others like myself] to work more efficiently with all popular music file formats and with functions included to ff/rew etc. - until then it would not pay off to buy the software. Anyhow, here follows a simple little schematic which can read a text file & display its contents i.e. Selected Text Strings. The Text Strings in the Text File [you must make your own] must be separated with commas [i.e. John,Wiley,Robert,Jimmy and so on]. The 'Load button' enables the software to load the Text File [*.txt] from any directory that you prefer and the Bitmap Knob can then be manipulated to display the Text Strings one at a time [which must be separated by commas] contained in the Text File. Currently only ten [10] Text Strings separated by commas can be displayed but, you can easily alter the schematic to suit your needs. What else did I forget to say? Oh yea, credit to the person who's bitmap knob I have 'stolen' for this small project - there is no existing identification so I do not know to whom it belongs.

Updated version [101] uses two parts less, I forgot to take them out.

Regards
:(

Re: Read Text File & Display Selected Text String(s)

PostPosted: Fri Jul 26, 2013 9:48 pm
by Nubeat7
using ruby for strings is pretty comfortable, in this example you can load any txt file, it finds the size by it self, and with some regex you can choose to show things between commas, charakters, whitespace, and lines... and there are much more...

Re: Read Text File & Display Selected Text String(s)

PostPosted: Sat Jul 27, 2013 8:53 am
by tiffy
Nubeat7 wrote:using ruby for strings is pretty comfortable, in this example you can load any txt file, it finds the size by it self, and with some regex you can choose to show things between commas, charakters, whitespace, and lines... and there are much more...


Thx Nubeat7, very instructive - appreciate.

Re: Read Text File & Display Selected Text String(s)

PostPosted: Sat Aug 17, 2013 7:42 am
by aiza
Great work, guys - this is just what FS3 needs now, a big selection of cool user modules so that folks get a good choice of different 'looks' etc., and stuff to learn from.