1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  3. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  4. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

VB 2010 Tone Generator library for buttkicker support?

Discussion in 'Miscellaneous' started by RaceRay, Oct 7, 2013.

  1. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,236
    Location:
    Marseille - FRANCE
    Balance:
    20,963Coins
    Ratings:
    +2,089 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    @eaorobbie
    First trial of GameDash-buttkicker test: :)
    - GameDash extracted on the desktop
    - Simtools RC1
    - rFactor is running
    - simulator is moving
    - tuning center shows data​
    but nothing in GameDash?...

    maybe I have to do or setup something? :confused:
  2. value1

    value1 Nerd SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Jan 9, 2011
    Messages:
    2,184
    Location:
    Zug, Switzerland
    Balance:
    14,751Coins
    Ratings:
    +3,322 / 11 / -1
    My Motion Simulator:
    2DOF, DC motor, JRK, Joyrider
    In the GameManager click on "Dash" to open the dash drawer:
    GameDash.jpg
    Define the IP address (by clicking on IP Setting), to where the dash data shall be sent to. If you have a single PC setup, just write 127.0.0.1, if you have dual (or more ;) ) PC setup, specify the IP address of the receiving PC (Windows-key + R – cmd – ipconfig):
    GameDashIP.jpg
    Now select the Packet Rate:
    GameDashRate.jpg
    and click Enable Dash Output and Dash again to close the dash drawer.
    Done.
    • Like Like x 1
  3. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,236
    Location:
    Marseille - FRANCE
    Balance:
    20,963Coins
    Ratings:
    +2,089 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    @value1 Thanks! I followed your instructions with success!

    first test:
    - rFactor volume to zero
    - GameDash running
    - windows volume to middle!

    and some vibration from my buttkicker! :p:confused::eek::D:(:cool:;):rolleyes:
    Good starting point!

    My first impression is that
    - vibration is irregular... maybe with a better refresh rate! I'm confident
    - without Lowpass filter actived onto my ampli, I hear sounds from my buttkicker (not a good use, indeed!)
    and with lowpass, only vibration but too few... maybe we should think about dividing higher frequencies.

    I'll try uploading a recording tomorrow!

    @RaceRay , @eaorobbie : Great! Thanks! Have a good night!
  4. eaorobbie

    eaorobbie Well-Known Member SimTools Developer Gold Contributor

    Joined:
    May 26, 2009
    Messages:
    2,574
    Occupation:
    CAD Detailer
    Location:
    Ellenbrook, Western Australia
    Balance:
    20,431Coins
    Ratings:
    +1,684 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    Thanks Value1 , I should have included that in my original post.
    Yes agree RacingMat, a low-pass filter is needed and properly a different range on the frequencies too, but yes this was just a proof of concept to show that this holds potential of being a usable tool for Sim Tools future.
    Thanks for testing with an actual bass-kicker.
  5. RaceRay

    RaceRay Administrator Staff Member SimAxe Beta Tester

    Joined:
    Nov 8, 2006
    Messages:
    4,656
    Occupation:
    Self-employed | Web and application development
    Location:
    Hamburg, Germany
    Balance:
    23,862Coins
    Ratings:
    +1,999 / 13 / -0
    My Motion Simulator:
    2DOF, DC motor, SimAxe, SimforceGT
    @RacingMat its possible to reduce latency, so soundfonts are very fast and can be played nearly in realtime. You should give visual basic 2010 a try. Its free and vb.net is very easy to use and powerful, but keep in mind its a different language than vb. Only the name is similiar:)
  6. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,236
    Location:
    Marseille - FRANCE
    Balance:
    20,963Coins
    Ratings:
    +2,089 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    yep! my head will fry with all those languages! but... I've installed it!
    (back to old time?... I started with BASIC ;-)
    and I like VBA in Office very much! I hope it's close)

    I'm eager to have a look on your codes, guys, if I can contribute!
  7. RaceRay

    RaceRay Administrator Staff Member SimAxe Beta Tester

    Joined:
    Nov 8, 2006
    Messages:
    4,656
    Occupation:
    Self-employed | Web and application development
    Location:
    Hamburg, Germany
    Balance:
    23,862Coins
    Ratings:
    +1,999 / 13 / -0
    My Motion Simulator:
    2DOF, DC motor, SimAxe, SimforceGT
    Hey @eaorobbie , did you use the Class SoundGenerator and Media.SoundPlayer i published or another one?
    If its the SoundGenerator class i could try to find out how to select another soundcard and post the source here.
  8. eaorobbie

    eaorobbie Well-Known Member SimTools Developer Gold Contributor

    Joined:
    May 26, 2009
    Messages:
    2,574
    Occupation:
    CAD Detailer
    Location:
    Ellenbrook, Western Australia
    Balance:
    20,431Coins
    Ratings:
    +1,684 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    I used the first Tone generator as an example , there is plenty of code snippets on other forums for changing the sound out, i picked one and tried it in a standalone app without the dash stuff, but as you know I was needed else where so haven't had time to look into integrating it all together. But did want to continue it.