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

Timer problem with the midi keyboard

For general discussion related FlowStone

Timer problem with the midi keyboard

Postby Freddymusic » Wed Jul 13, 2016 8:06 am

Hi,

I made a step sequencer and when it's works you can see the timeline. i controlled the timeline with the Timer and counter module. When i play with GUI keyboard and with the simple keyboard buttons, the timer is perfect, but if i need to use my midi keyboard, the timer isn't work. I controlled the timeline with the midi split module, and it's send the data anyway, but the Timer modul only with the simple keyboard or with the GUI keyboard. What is the problem?
http://gyuriczaferenc.hu/ugyfel/timer_problem.osm
freddymusic.hu
User avatar
Freddymusic
 
Posts: 30
Joined: Mon Apr 16, 2007 4:57 pm

Re: Timer problem with the midi keyboard

Postby martinvicanek » Wed Jul 13, 2016 10:00 pm

Really odd. :? Seems to be a problem with the timer prim.
I can confirm that the green indicator moves when pressing PC keys but not when pressing keys on an external MIDI keyboard. That holds for SynthMaker.
When I open the osm in FlowStone, the green indicator never moves, although the start and stop triggeres arrive allright at the timer input pins. :? :?:
So I replaced the timer by a Ruby ticker and voila, everything works fine.
Too bad if you are stuck with SM, Ruby is not an option. :(
User avatar
martinvicanek
 
Posts: 1328
Joined: Sat Jun 22, 2013 8:28 pm

Re: Timer problem with the midi keyboard

Postby Tzarls » Fri Jul 15, 2016 12:10 am

As far a I remember from my SM days you can't trigger a timer with a MIDI event generated with an external controller. It only works (as you've already discovered) when events are generated using the GUI or the PC keyboard. Something to do with how threads work in the software if I'm not mistaken.
Tzarls
 
Posts: 54
Joined: Thu Oct 21, 2010 2:10 am

Re: Timer problem with the midi keyboard

Postby Tronic » Sat Jul 16, 2016 2:24 pm

The midi thread not work for windows timer,
you need to de-thread the trig with an trigger block
and re-thread it with an tick primitive.
Attachments
De-Thread.PNG
De-Thread.PNG (13.04 KiB) Viewed 12144 times
Tronic
 
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm


Return to General

Who is online

Users browsing this forum: No registered users and 65 guests