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

visual Metronom

For general discussion related FlowStone

visual Metronom

Postby mccy » Sat Jan 03, 2015 10:27 pm

It should be easy for the experts, wouldn't it, to build a simple bouncing or rythmical flashing thing, which would serve as a visual feedback of Metrum for live usage? Any idea how to start?

thanks

Martin
mccy
 
Posts: 69
Joined: Sun Feb 27, 2011 3:20 pm

Re: visual Metronom

Postby KG_is_back » Sun Jan 04, 2015 1:46 am

It is very easy indeed...

The best way would be to write the thing in ruby. In manual you can read abut events. Basically an event can send data with trigger to any output or input with any delay time, which will trigger new event.

Here's a quick schematic that does precisely what you want in the most simple way. The clock is a ruby module, hopefully with reading the manual and little programing skills it will not be hard to realize what's happening. Basically it sends a trigger every beat. The next module is a little stock red led that alternates on/off every time it receives a trigger.

It is even possible to write/make your own GUI of the metronome - both in Ruby or in flowstone green/view connectors.
Attachments
metronom1.fsm
(28.04 KiB) Downloaded 793 times
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: visual Metronom

Postby mccy » Mon Jan 05, 2015 12:22 am

Thanks!!!! This looks simple, indeed, but will take some time for me to understand exactly :-)
It was easy to add vst tempo, but I just realized that it won't be synchronized with onbeats...

1000 Thanks

Martin
mccy
 
Posts: 69
Joined: Sun Feb 27, 2011 3:20 pm

Re: visual Metronom

Postby KG_is_back » Mon Jan 05, 2015 2:10 am

Actually there is primitive,called "BarStart", that sends stream pulses in sync with the host playback and also a primitive called "PPQposition", that outputs bar position (increasing 1 each beat) in sync with the host playback. You my use them and use mono to green with ticker, to extract the value and redraw GUI based on that, if you are looking for a plugin that pulses in sync with the DAW.
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: visual Metronom

Postby mccy » Mon Jan 05, 2015 11:05 am

Wow! You are so nice!!!
mccy
 
Posts: 69
Joined: Sun Feb 27, 2011 3:20 pm

Re: visual Metronom

Postby mccy » Mon Jan 05, 2015 1:31 pm

O.K. got it ...
Now I have to deal with that numbers out of the modules...
Is there a possibility to round stream (blue) to full numbers staying blue? That way I could translate that numbers in a continuous movement between 0-1, so to build a real looking metronome...
mccy
 
Posts: 69
Joined: Sun Feb 27, 2011 3:20 pm

Re: visual Metronom

Postby KG_is_back » Mon Jan 05, 2015 4:15 pm

I recommend using the code component. There is a whole section in manual dedicated to it. You may use "rndint(x)" to round a number to integer and you can use modulo "x % y" to output remainer of division division.

For example:
Code: Select all
streamin x;
streamout round;
streamout mod;
round=rndint(x-0.49999); //rounds down to integer value
mod=x%1; //outputs remainer after division of 1. basically extracts the decimal part of the number in this case
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: visual Metronom

Postby mccy » Mon Jan 05, 2015 10:05 pm

This is the first try... just easy putting things together in green...

http://www.derknott.de/visumet01b.zip
Attachments
visumet.fsm
(35.34 KiB) Downloaded 774 times
visumet01.zip
(1.79 MiB) Downloaded 751 times
mccy
 
Posts: 69
Joined: Sun Feb 27, 2011 3:20 pm


Return to General

Who is online

Users browsing this forum: No registered users and 99 guests