Open source timing software. - Page 10
Like Tree121Likes

Thread: Open source timing software.

Page 10 of 33 FirstFirst 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ... LastLast
Results 91 to 100 of 322
  1. #91
    Member LCheapo's Avatar
    Join Date
    Jul 2010
    Location
    Chicago
    Posts
    1,417

    Re: Open source timing software.

    Actually, yesterday I tried following the recipe for using brew exclusively, but brew update fails with some dyld issue and Xcode complaint. I verified Xcode is installed with command line tools, but there must some interaction with software installed using other systems. Too bad these porting/installation helpers like fink or brew all insist on reinventing the wheel, instead of installing in a standard or at least compatible way.
    I'm running 10.9. Is there a way to clean up the path just for brew (I.e. make it work without obliterating other installs)?

    Update: it finally worked, after obliterating /opt/local and allowing brew to overwrite the links for portaudio and fftw. (I decided that it's unlikely I installed something important on this machine.) Couldn't find either fink nor macports on this machine, so the conflicting stuff must have been from manual installs.

    Now of course it turns out none of the microphones I have provide a suitable input for reliable operation.
    Last edited by LCheapo; January 3rd, 2016 at 19:24.

  2. #92
    Member
    Join Date
    Sep 2015
    Posts
    79

    Re: Open source timing software.

    Hi all, sorry for deserting this thread so long, and happy new year to all!

    @LCheapo: I'm happy that the recipe prepared by dmnc finally worked. It's a pity if none of your mics turns out to be good enough. If it so happens, you might consider sending me some sample of your best audio, this will help me in future improvements of the algorithm. Thanks, anyway, for considering my program!

    @Wizard: Thanks for your video. I've tried to find the cause of the difference in the amplitude, but I failed at that. As we noticed already there is quite a bit of noise in the audio, plus some produced by the codec. This turns out to be too much to analyze the audio either manually or with Watch-O-Scope or Watch Escapement Analyzer. The waveform detected by tg seems to give little room for doubt, but it results from a moderately complicated process of filtering and integration, and, without comparison with any more direct method, it's hard to say anything. In your video with WOS, as you noticed I believe, the outputs of WOS are just swinging around haphazardly: unfortunately the audio is clearly too noisy for WOS to detect even the rate.

    By the way, for any software or hardware, the order of how difficult it is to get these numbers is the same: from easiest to hardest (namely from less noise-sensitive to more noise-sensitive) they are rate, beat error, amplitude. So one should not trust one of these results unless the easier ones are stable and trustworthy.

    The Horometer graph looks roughly consistent with the graphs determined by tg (I take this picture from your video)

    Name:  horometer.jpg
Views: 460
Size:  39.8 KB

    However one pixel on the Horometer screen is 0.625ms wide, and we are looking here for a half-millisecond discrepancy. It can not be seen clearly just because it's less than one pixel wide. The Horometer is also telling us only half of it's story, because it draws a vertical marker where it detects the first pulse (the vertical line at 20ms), but it does not tell us where it detects the third pulse, so it's hard to understand what it does. All the interesting action in this graph takes place between the 20ms and the 30ms mark. If you could zoom in this section, it would be interesting to compare tg's waveforms with the Horometer's ones. Thanks again for your support!

    @all: If anyone else experiences the same error in the amplitude, I am highly interested in sorting this problem out, so any feedback on this issue would be appreciated.
    Roli-poli likes this.

  3. #93
    Member
    Join Date
    Dec 2015
    Posts
    7

    Re: Open source timing software.

    Firstly, I'd like to thank Contrate_wheel for this program which seems very interesting as it seems to work great according to some testimonials here. And I would like to help if I can providing examples.

    But first I need it run on my OS X and also find a suitable microphone, latter which will pose no problem I guess.

    I'd like to ask for some help to run/compile the program. So far I've followed the page 3 instructions: installed xcode, then homebrew, then installed: fftw, gtk+, portaudio (these come up via command: brew list). I've downloaded the full source code 'tg-master' folder to my 'users/username/downloads' folder. But when I do the command whilst being in directory 'Users/username': 'brew install downloads/tg', I get the following error:

    Error: No similarly named formulae found.
    ==> Searching taps...
    Error: No formulae found in taps.

    Same with commands: 'brew install /users/username/downloads/tg-master' or 'brew install ~/downloads/tg'

    When I do command: 'brew install downloads/tg-master/tg, I will get the following though:


    ==> Tapping downloads/tg-master
    Cloning into '/usr/local/Library/Taps/downloads/homebrew-tg-master'...
    Username for 'https://github.com':

    But I guess that is not the desired route.


    I am very much unfamiliar with commando's and such, and have tried to search for answers online, but after many hours looking and trying I just decided to post my problem as there might be others too who encountered this problem. Also, everyone here seems to be glad to help and some apparently very knowledgable around these technical matters :)

    The precompiled version of Halda does work btw. But I'd like to be able to get future versions of contrite_wheel working, which also now have the reset and clear option extra I believe.

    I'm running Yosemite 10.10.5. If there is any information needed to help troubleshoot, I will gladly supply it of course.

    Many thanks in advance.

  4. #94
    Member Halda's Avatar
    Join Date
    Oct 2013
    Location
    Sweden
    Posts
    29

    Re: Open source timing software.

    Quote Originally Posted by Roli-poli View Post
    I am very much unfamiliar with commando's and such, and have tried to search for answers online, but after many hours looking and trying I just decided to post my problem as there might be others too who encountered this problem.
    You're almost there! In Terminal, simply go to the directory where the downloaded source code is (by using the cd command). Then enter the command make.

    This should invoke the compiler and produce the executable for you. Good luck!
    Roli-poli likes this.

  5. #95
    Member
    Join Date
    Dec 2015
    Posts
    7

    Re: Open source timing software.

    Quote Originally Posted by Halda View Post
    You're almost there! In Terminal, simply go to the directory where the downloaded source code is (by using the cd command). Then enter the command make.

    This should invoke the compiler and produce the executable for you. Good luck!
    Halda, many thanks. I now have an executable and working program on OS X! Regret the work I have put in getting a newer Bash shell working, resulting temporarily in a non-working Terminal. All is well now and have the newer Bash shell available if needed.

    As soon as I have a mic, I'll start playing around with it and will see if I can get some useful examples to post here. Shame I threw my broken earphones recently which had a mic I never used, oh well...

    Keep on the fine work!!

  6. #96
    Member Halda's Avatar
    Join Date
    Oct 2013
    Location
    Sweden
    Posts
    29

    Re: Open source timing software.

    If you don't have a microphone yet but still want to try out tg on your Mac there are tools that will allow you to route the audio from other apps into a "virtual microphone" so you can for example play a YouTube clip of a ticking watch and have tg analyze that audio as if it was coming from a microphone.

    There's an old free app called Soundflower that allows you to do that, and also a brand new one (but not free) called Loopback.

  7. #97
    Member
    Join Date
    Sep 2015
    Posts
    79

    Re: Open source timing software.

    @Roli-poli: I'm happy to hear that you managed to compile tg.

    For other OS X user, it is better to point out that there is a little confusion in the operations that Roli-poli attempted. To use the homebrew formula prepared by dmnc, as far as I can understand not being a mac user, the correct sequence of operations is

    step 1 - install homebrew as indicated in http://brew.sh

    step 2 - run brew doctor and do everything it asks of you

    step 3 - run the magic command: brew install dmnc/horology/tg --HEAD

    And this is it. No other step whatsoever is required.

    Edit: corrected the list of steps as indicated by dmnc.
    Last edited by contrate_wheel; January 13th, 2016 at 22:15.

  8. #98
    Member
    Join Date
    Dec 2015
    Posts
    7

    Re: Open source timing software.

    Quote Originally Posted by contrate_wheel View Post
    @Roli-poli: I'm happy to hear that you managed to compile tg.

    For other OS X user, it is better to point out that there is a little confusion in the operations that Roli-poli attempted. To use the homebrew formula prepared by dmnc, as far as I can understand not being a mac user, the correct sequence of operations is

    step 1 - install homebrew as indicated in Homebrew — The missing package manager for OS X

    step 2 - run the magic command: brew install dmnc/horology/tg --HEAD

    And this is it. No other step whatsoever is required. Please correct me if I am wrong...

    Well step 1 should be installing Xcode (if not already) via Macstore>developer tools, or through commando. Next indeed homebrew, but I understood also some dependencies (if that's the correct term), namely: gkt+, ffth, portaudio. This can be done through 'homebrew', through commando in terminal: brew install gtk+ portaudio fftw
    Then, or earlier, you have to download of course your full source code files which come in the folder: tg-master
    Instead of the 'brew install..'-method, the following method worked for me with, where you use the path to the tg-master-folder as the path for the for the 1st of the following 2 commando's:
    1: cd /users/username/downloads/tg-master (note that path is an example, just as dmnc/horology/tg was)
    2: make
    Now, there should be 2 new files in folder tg-master.

    I have also tried 'brew install .../tg --HEAD', as also
    without the '--HEAD', but then homebrew couldn't find anything. Probably I have done something wrong, as it worked for others, but the above mentioned method worked for me.

    Also, I don't really know what Homebrew does, or what Xcode exactly brings to table, and if they are indeed needed, or just more practical. Not asking for this information either by the by

  9. #99
    Member
    Join Date
    Dec 2015
    Posts
    7

    Re: Open source timing software.

    Quote Originally Posted by Halda View Post
    If you don't have a microphone yet but still want to try out tg on your Mac there are tools that will allow you to route the audio from other apps into a "virtual microphone" so you can for example play a YouTube clip of a ticking watch and have tg analyze that audio as if it was coming from a microphone.

    There's an old free app called Soundflower that allows you to do that, and also a brand new one (but not free) called Loopback.
    Thanks for the tips, but am planning to get some 'real world examples' :). Cheap clip on mic will be ordered tomorrow. I did however tried it already for just a quick test on the integrated mic on my laptop and, believe it or not, through the mic on a toy Sega I-Dog, but this was done on Windows Vista machine. Too much noise in both quick tests I gathered quickly (was noisy).

  10. #100
    Member
    Join Date
    Dec 2015
    Posts
    7

    Re: Open source timing software.

    Quote Originally Posted by Roli-poli View Post
    Thanks for the tips, but am planning to get some 'real world examples' :). Cheap clip on mic will be ordered tomorrow. I did however tried it already for just a quick test on the integrated mic on my laptop and, believe it or not, through the mic on a toy Sega I-Dog, but this was done on Windows Vista machine. Too much noise in both quick tests I gathered quickly (was noisy).
    Funnily enough I just found out that I've tried using the light sensor on the toy as a mic, and not the actual mic which is 10cm below the light sensor. So, even despite a noisy laptop in vicinity and the clock not being near the mic, it locked on for a moment :)

Page 10 of 33 FirstFirst 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

    Similar Threads

    1. Open Source for Ambit
      By hal_c_on in forum Suunto
      Replies: 1
      Last Post: May 9th, 2013, 12:05
    2. Timing Machine software
      By zodiac in forum Public Forum
      Replies: 12
      Last Post: October 24th, 2009, 23:14
    3. BIBURO watch timing software users?
      By Av8tor1 in forum Watchmaking
      Replies: 15
      Last Post: April 27th, 2009, 22:30
    4. Open Source Watch Project
      By fstshrk in forum High Accuracy Quartz watches
      Replies: 4
      Last Post: April 5th, 2009, 07:26
    5. Great design software that is Open-source *free*
      By bfgreen in forum Watch Concepts & Designs
      Replies: 1
      Last Post: October 7th, 2007, 01:42

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •