Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25

Thread: Writting code in VB to control a LCD?

  1. #11
    Retired Admin Aaron Cake's Avatar
    Join Date
    Jan 2000
    Location
    London, Ontario, Canada
    Posts
    2,464

    Cool

    Instead of controlling WinAmp, you may want to consider controlling Media Player through it's COM object. This is what I have done for my player, and it works very well and is very stable. Not very draining on sysem resources either. And you don't need "plugins", because you are basically custom writing the player to your specifications.
    Player: Pentium 166MMX, Amptron 598LMR MB w/onboard Sound, Video, LAN, 10.2 Gig Fujitsu Laptop HD, Arise 865 DC-DC Converter, Lexan Case, Custom Software w/Voice Interface, MS Access Based Playlists
    Car: 1986 Mazda RX-7 Turbo (highly modded), 1978 RX-7 Beater (Dead, parting out), 2001 Honda Insight
    "If one more body-kitted, cut-spring-lowered, farty-exhausted Civic revs on me at an intersection, I swear I'm going to get out of my car and cram their ridiculous double-decker aluminium wing firmly up their rump."

  2. #12
    Newbie
    Join Date
    Sep 2001
    Posts
    22

    Post

    I am going to write a custom player anyway. And have the LCD stuff built in.

    I just need to find a low resources audio coontrol now..

    Also, I will try that VB object, thanks.. Is it fast though?

  3. #13
    Newbie
    Join Date
    Sep 2001
    Posts
    22

    Post

    Originally posted by Dan:
    <STRONG>I wrote the LCD CLASS in vb to control a parallel port lcd (it works in win95/98) you can download from http://homepage.oninet.pt/400mjj/download.htm

    The mscar system is almost finish.</STRONG>
    If it is possable, you think I could get the source of your package? Or maybe we can talk about this? Maybe I can help you out some? My icq# is 36232576 and email is drsparkle@zdnetonebox.com

    Contact me.. Either way, cause I might need some help with yous module..

  4. #14
    Constant Bitrate
    Join Date
    Nov 2000
    Location
    VA , USA
    Posts
    193

    Post

    if you want to talk about the serial port one my icq/aim/e-mail is in my profileand you are welcome to contact me on any one of them.

  5. #15
    Retired Admin Aaron Cake's Avatar
    Join Date
    Jan 2000
    Location
    London, Ontario, Canada
    Posts
    2,464

    Post

    Originally posted by Dr.Sparkle:
    <STRONG>Also, I will try that VB object, thanks.. Is it fast though?</STRONG>
    Quite fast. Takes a sec to start up (loading VB runtime and Media Player) but after that it's quick.
    Player: Pentium 166MMX, Amptron 598LMR MB w/onboard Sound, Video, LAN, 10.2 Gig Fujitsu Laptop HD, Arise 865 DC-DC Converter, Lexan Case, Custom Software w/Voice Interface, MS Access Based Playlists
    Car: 1986 Mazda RX-7 Turbo (highly modded), 1978 RX-7 Beater (Dead, parting out), 2001 Honda Insight
    "If one more body-kitted, cut-spring-lowered, farty-exhausted Civic revs on me at an intersection, I swear I'm going to get out of my car and cram their ridiculous double-decker aluminium wing firmly up their rump."

  6. #16
    cj
    cj is offline
    Low Bitrate
    Join Date
    Aug 2001
    Posts
    57

    Post

    Originally posted by Dr.Sparkle:
    <STRONG>I just need to find a low resources audio coontrol now.. </STRONG>
    Try these for VB audio playback:

    BASS - http://www.un4seen.com/music/
    XAudio - http://www.xaudio.com/
    DMC2 (built around bass.dll) - http://www.izzyonline.com/DMC2/

    Also, here is a nifty class file that deals with ID3 - http://www.vb-world.net/graphics/tip507.html

    Enjoy

  7. #17
    Registered User
    Join Date
    Apr 2000
    Location
    New Concord, OH, USA
    Posts
    157

    Post

    I have a custom player written in VB but I changed to a vb program that controls winamp because I wanted a spectrum analyzer and couldn't figure out how to get the levels into vb so I could output the correct bar to the LCD, anybody know or have some sample code???

  8. #18
    cj
    cj is offline
    Low Bitrate
    Join Date
    Aug 2001
    Posts
    57

    Post

    Originally posted by mp3wrangler:
    <STRONG>, anybody know or have some sample code???</STRONG>
    Ask and ye shall recieve:
    http://www.vbdiamond.com/Sources/Vie...goryName=Sound

    There are also many other sites that have sample code for doing this. Hit your favorite search engine and search for "vb source code spectrum analyzer" (without the quotes) and you will find a plethora of goodies.

  9. #19
    FLAC
    Join Date
    Apr 2001
    Location
    Here, There, Everywhere
    Posts
    1,436

    Post

    Originally posted by mp3wrangler:
    <STRONG>I have a custom player written in VB but I changed to a vb program that controls winamp because I wanted a spectrum analyzer and couldn't figure out how to get the levels into vb so I could output the correct bar to the LCD, anybody know or have some sample code???</STRONG>
    I dont think that is possible, unless you write your player software to a plugin.... there are no API calls to monitor the spectrum analyzer.... You can monitor the output of your sound card tho.... this works for win95/98 but not NT/2K...... try planetsourcecode.com they have some sample source if you search a bit.....
    Project - GAME OVER :(

  10. #20
    cj
    cj is offline
    Low Bitrate
    Join Date
    Aug 2001
    Posts
    57

    Post

    Check this one out:
    http://www.fullspectrum.com/deeth/pr...l#PluginTester

    This guy appears to have stopped the project, but he appears (I've not tested his little app) to have figured out a way to use the plugins from VB. If you can find his source or get it from him, you should be able to combine some of the code I showed you above with it and make the player you're coding use pre-built Winamp plugins without having to use Winamp.

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

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