Results 1 to 16 of 16

Thread: DJ Turntable Simulation

  1. #1
    The DirectXpert Jacob Roman's Avatar
    Join Date
    Aug 04
    Location
    Miami Beach, FL
    Posts
    4,837

    DJ Turntable Simulation

    Written in VB6 and uses DirectX8. This program I wrote is the closest thing to a real turntable. It uses real physics, and uses a 4th Order Runge Kutta integrator to increase accuracy. I still need to add sound though (related to This project which has scratching capabilities), plus a mixer and another turntable, not to mention allow you to control the tone arm, and allow the platter to rotate as well, which, all in all, wil allow you to really DJ without you having to dishing out the cash for a set of your own. But for now, enjoy what I have so far!

    Attached Files Attached Files
    • File Type: zip DJ.zip (302.7 KB, 1023 views)
    Last edited by Jacob Roman; Jun 16th, 2006 at 04:52 PM.
    Useful Forum Tips:

    - If you found any post that was useful, please consider rating their post

    - Give sensible thread titles, please!
    - Be sure to use [HIGHLIGHT=VB][/HIGHLIGHT] tags when posting code written in VB.
    - Write posts like a conversation, not like an email. That way you can avoid saying "Dear so and so" in every post.
    - When your problem is solved, go up to Thread Tools and click on Mark Thread Resolved

    My Contributions: Massive DirectX 2D Tutorials For VB5/VB6/VB.NET || 3D Engine In Pure VB || Friction Force ||DJ Turntable Simulation || Scratching Wavs || Time Based Movement || Newton Physics Simulation || Managed Game Loop || Rigid Body Collision Detection || World of Warcraft RGB Battle System || Bosskillers (World of Warcraft 2D Clone) || Street Fighter Controls (Flawless Simulation) || A* Pathfinding (VB6 & VB.NET) *UPDATED || *NEW* Nintendo Entertainment System Emulator

    Expert. Ask me anything NES!

    My Smilies:


  2. #2
    PowerPoster Fox's Avatar
    Join Date
    Jan 00
    Location
    *afk*
    Posts
    2,088

    Re: DirectX8 Turntable Simulation

    Too bad there's no sound :-/ but the physics are acting well, good job.

  3. #3
    The DirectXpert Jacob Roman's Avatar
    Join Date
    Aug 04
    Location
    Miami Beach, FL
    Posts
    4,837

    Re: DirectX8 Turntable Simulation

    Just wait until I combine the scratching project with it.
    Useful Forum Tips:

    - If you found any post that was useful, please consider rating their post

    - Give sensible thread titles, please!
    - Be sure to use [HIGHLIGHT=VB][/HIGHLIGHT] tags when posting code written in VB.
    - Write posts like a conversation, not like an email. That way you can avoid saying "Dear so and so" in every post.
    - When your problem is solved, go up to Thread Tools and click on Mark Thread Resolved

    My Contributions: Massive DirectX 2D Tutorials For VB5/VB6/VB.NET || 3D Engine In Pure VB || Friction Force ||DJ Turntable Simulation || Scratching Wavs || Time Based Movement || Newton Physics Simulation || Managed Game Loop || Rigid Body Collision Detection || World of Warcraft RGB Battle System || Bosskillers (World of Warcraft 2D Clone) || Street Fighter Controls (Flawless Simulation) || A* Pathfinding (VB6 & VB.NET) *UPDATED || *NEW* Nintendo Entertainment System Emulator

    Expert. Ask me anything NES!

    My Smilies:


  4. #4
    The DirectXpert Jacob Roman's Avatar
    Join Date
    Aug 04
    Location
    Miami Beach, FL
    Posts
    4,837

    Re: DirectX8 Turntable Simulation

    Updated big time. Now it uses radians instead of degrees, plus much of the physics math has been corrected, and the controls are more responsive.
    Useful Forum Tips:

    - If you found any post that was useful, please consider rating their post

    - Give sensible thread titles, please!
    - Be sure to use [HIGHLIGHT=VB][/HIGHLIGHT] tags when posting code written in VB.
    - Write posts like a conversation, not like an email. That way you can avoid saying "Dear so and so" in every post.
    - When your problem is solved, go up to Thread Tools and click on Mark Thread Resolved

    My Contributions: Massive DirectX 2D Tutorials For VB5/VB6/VB.NET || 3D Engine In Pure VB || Friction Force ||DJ Turntable Simulation || Scratching Wavs || Time Based Movement || Newton Physics Simulation || Managed Game Loop || Rigid Body Collision Detection || World of Warcraft RGB Battle System || Bosskillers (World of Warcraft 2D Clone) || Street Fighter Controls (Flawless Simulation) || A* Pathfinding (VB6 & VB.NET) *UPDATED || *NEW* Nintendo Entertainment System Emulator

    Expert. Ask me anything NES!

    My Smilies:


  5. #5
    The DirectXpert Jacob Roman's Avatar
    Join Date
    Aug 04
    Location
    Miami Beach, FL
    Posts
    4,837

    Re: DirectX8 Turntable Simulation

    Nevermind, I uploaded the wrong project. The correct one is at work.
    Useful Forum Tips:

    - If you found any post that was useful, please consider rating their post

    - Give sensible thread titles, please!
    - Be sure to use [HIGHLIGHT=VB][/HIGHLIGHT] tags when posting code written in VB.
    - Write posts like a conversation, not like an email. That way you can avoid saying "Dear so and so" in every post.
    - When your problem is solved, go up to Thread Tools and click on Mark Thread Resolved

    My Contributions: Massive DirectX 2D Tutorials For VB5/VB6/VB.NET || 3D Engine In Pure VB || Friction Force ||DJ Turntable Simulation || Scratching Wavs || Time Based Movement || Newton Physics Simulation || Managed Game Loop || Rigid Body Collision Detection || World of Warcraft RGB Battle System || Bosskillers (World of Warcraft 2D Clone) || Street Fighter Controls (Flawless Simulation) || A* Pathfinding (VB6 & VB.NET) *UPDATED || *NEW* Nintendo Entertainment System Emulator

    Expert. Ask me anything NES!

    My Smilies:


  6. #6
    Banned
    Join Date
    Nov 05
    Posts
    2,367

    Re: DirectX8 Turntable Simulation

    Upload an exe for us non-legacy coders. I can't compile it (and... I might trust you).

  7. #7
    The DirectXpert Jacob Roman's Avatar
    Join Date
    Aug 04
    Location
    Miami Beach, FL
    Posts
    4,837

    Re: DirectX8 Turntable Simulation

    Done! With the exe. Enjoy.
    Useful Forum Tips:

    - If you found any post that was useful, please consider rating their post

    - Give sensible thread titles, please!
    - Be sure to use [HIGHLIGHT=VB][/HIGHLIGHT] tags when posting code written in VB.
    - Write posts like a conversation, not like an email. That way you can avoid saying "Dear so and so" in every post.
    - When your problem is solved, go up to Thread Tools and click on Mark Thread Resolved

    My Contributions: Massive DirectX 2D Tutorials For VB5/VB6/VB.NET || 3D Engine In Pure VB || Friction Force ||DJ Turntable Simulation || Scratching Wavs || Time Based Movement || Newton Physics Simulation || Managed Game Loop || Rigid Body Collision Detection || World of Warcraft RGB Battle System || Bosskillers (World of Warcraft 2D Clone) || Street Fighter Controls (Flawless Simulation) || A* Pathfinding (VB6 & VB.NET) *UPDATED || *NEW* Nintendo Entertainment System Emulator

    Expert. Ask me anything NES!

    My Smilies:


  8. #8
    Banned
    Join Date
    Nov 05
    Posts
    2,367

    Re: DirectX8 Turntable Simulation

    Cool, I like the braking physics

    One thing, and this is up to you; if I grab the left side of the plate, eveything is reversed (mouse forward moves it counterclockwise). Maybe it's supposed to?

    All in all, pretty cool.

  9. #9
    The DirectXpert Jacob Roman's Avatar
    Join Date
    Aug 04
    Location
    Miami Beach, FL
    Posts
    4,837

    Re: DirectX8 Turntable Simulation

    Yeah, up/left is counter clockwise, and down/right is clockwise.
    Useful Forum Tips:

    - If you found any post that was useful, please consider rating their post

    - Give sensible thread titles, please!
    - Be sure to use [HIGHLIGHT=VB][/HIGHLIGHT] tags when posting code written in VB.
    - Write posts like a conversation, not like an email. That way you can avoid saying "Dear so and so" in every post.
    - When your problem is solved, go up to Thread Tools and click on Mark Thread Resolved

    My Contributions: Massive DirectX 2D Tutorials For VB5/VB6/VB.NET || 3D Engine In Pure VB || Friction Force ||DJ Turntable Simulation || Scratching Wavs || Time Based Movement || Newton Physics Simulation || Managed Game Loop || Rigid Body Collision Detection || World of Warcraft RGB Battle System || Bosskillers (World of Warcraft 2D Clone) || Street Fighter Controls (Flawless Simulation) || A* Pathfinding (VB6 & VB.NET) *UPDATED || *NEW* Nintendo Entertainment System Emulator

    Expert. Ask me anything NES!

    My Smilies:


  10. #10
    The DirectXpert Jacob Roman's Avatar
    Join Date
    Aug 04
    Location
    Miami Beach, FL
    Posts
    4,837

    Re: DJ Turntable Simulation

    I just updated it again, only now it has more physics math corrected, the animation and controls are now even more smooth, plus I corrected the units. I'm adding sound to it now.
    Useful Forum Tips:

    - If you found any post that was useful, please consider rating their post

    - Give sensible thread titles, please!
    - Be sure to use [HIGHLIGHT=VB][/HIGHLIGHT] tags when posting code written in VB.
    - Write posts like a conversation, not like an email. That way you can avoid saying "Dear so and so" in every post.
    - When your problem is solved, go up to Thread Tools and click on Mark Thread Resolved

    My Contributions: Massive DirectX 2D Tutorials For VB5/VB6/VB.NET || 3D Engine In Pure VB || Friction Force ||DJ Turntable Simulation || Scratching Wavs || Time Based Movement || Newton Physics Simulation || Managed Game Loop || Rigid Body Collision Detection || World of Warcraft RGB Battle System || Bosskillers (World of Warcraft 2D Clone) || Street Fighter Controls (Flawless Simulation) || A* Pathfinding (VB6 & VB.NET) *UPDATED || *NEW* Nintendo Entertainment System Emulator

    Expert. Ask me anything NES!

    My Smilies:


  11. #11
    Addicted Member Gameunreal's Avatar
    Join Date
    Jun 06
    Location
    gone fishing
    Posts
    249

    Re: DJ Turntable Simulation

    if you guys want an excellent professional dj program goto
    www.virtualdj.com
    hey jacob: mebbe you could get some ideas from here?
    i use it in my part time(djing) and i really like it- instead of going into the club with 100 kilos of equipment, i go in with my laptop, and a hercules dj console mk2 - very cool

    cheers
    patrick
    -=PATRICK=-
    Using Visual Basic .NET 2005


    If you found a post useful then please Rate it!



    Hidden DOS secret: add BUGS=OFF to your CONFIG.SYS
    A program is a device used to convert data into error messages.
    Programmer's Drinking Song: 99 programming bugs in the code/99 programing bugs/Fix one bug/compile it again/now there's 100 bugs in the code! (repeat until bugs==0)
    All wiyht. Rho sritched mg kegtops awound?

  12. #12
    The DirectXpert Jacob Roman's Avatar
    Join Date
    Aug 04
    Location
    Miami Beach, FL
    Posts
    4,837

    Re: DJ Turntable Simulation

    That program is gonna be kinda lame compared to mine. I already added sound capabilities (not to mention eliminated some bugs) but unfortunately I have to rewrite my DirectSound engine due to the fact that it's kinda skips. I messed up somewhere but I'm working on it.

    Once my prog is done, it will have 2 fully interactive turntables with realtime scratching capabilities, and a mixer, with the ability to rotate the tone arm to where you want your current position of your sound to be, the ability to control the pitch (plus the 33 1/3 rpm and 45 rpm buttons will be functional), and the ability to cut off the turntable power with the circular knob, etc. And the mixer's crossfader will be controlled with a joystick, so you can scratch with the mouse and use the crossfader at the same time to pull off flairs, chirps, orbitals, transforms, crabs, etc.
    Last edited by Jacob Roman; Jun 30th, 2006 at 03:17 PM.
    Useful Forum Tips:

    - If you found any post that was useful, please consider rating their post

    - Give sensible thread titles, please!
    - Be sure to use [HIGHLIGHT=VB][/HIGHLIGHT] tags when posting code written in VB.
    - Write posts like a conversation, not like an email. That way you can avoid saying "Dear so and so" in every post.
    - When your problem is solved, go up to Thread Tools and click on Mark Thread Resolved

    My Contributions: Massive DirectX 2D Tutorials For VB5/VB6/VB.NET || 3D Engine In Pure VB || Friction Force ||DJ Turntable Simulation || Scratching Wavs || Time Based Movement || Newton Physics Simulation || Managed Game Loop || Rigid Body Collision Detection || World of Warcraft RGB Battle System || Bosskillers (World of Warcraft 2D Clone) || Street Fighter Controls (Flawless Simulation) || A* Pathfinding (VB6 & VB.NET) *UPDATED || *NEW* Nintendo Entertainment System Emulator

    Expert. Ask me anything NES!

    My Smilies:


  13. #13
    Lively Member
    Join Date
    Nov 05
    Location
    Oxford UK
    Posts
    76

    Question Re: DJ Turntable Simulation

    I like your idea and can't wait to play about with some sound. What do you plan to do with the finished project, is it just for a bit of fun or do you have commercial ideas for it?

  14. #14
    The DirectXpert Jacob Roman's Avatar
    Join Date
    Aug 04
    Location
    Miami Beach, FL
    Posts
    4,837

    Re: DJ Turntable Simulation

    Just for fun, plus it's kind of a one hell of a learning experience.
    Useful Forum Tips:

    - If you found any post that was useful, please consider rating their post

    - Give sensible thread titles, please!
    - Be sure to use [HIGHLIGHT=VB][/HIGHLIGHT] tags when posting code written in VB.
    - Write posts like a conversation, not like an email. That way you can avoid saying "Dear so and so" in every post.
    - When your problem is solved, go up to Thread Tools and click on Mark Thread Resolved

    My Contributions: Massive DirectX 2D Tutorials For VB5/VB6/VB.NET || 3D Engine In Pure VB || Friction Force ||DJ Turntable Simulation || Scratching Wavs || Time Based Movement || Newton Physics Simulation || Managed Game Loop || Rigid Body Collision Detection || World of Warcraft RGB Battle System || Bosskillers (World of Warcraft 2D Clone) || Street Fighter Controls (Flawless Simulation) || A* Pathfinding (VB6 & VB.NET) *UPDATED || *NEW* Nintendo Entertainment System Emulator

    Expert. Ask me anything NES!

    My Smilies:


  15. #15
    Hyperactive Member
    Join Date
    Feb 07
    Location
    indiana
    Posts
    341

    Re: DJ Turntable Simulation

    nice no sound when i tried it. was there suposed to be any sound

  16. #16
    Hyperactive Member BillGeek's Avatar
    Join Date
    Jun 06
    Location
    South Africa
    Posts
    438

    Re: DJ Turntable Simulation

    JR... any word on where you are wih this project of yours? I'm just anxious to try it out! Also, where can I get the source/EXE for it? Should I download from the link in the first post?

Posting Permissions

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