Search:

Type: Posts; User: john02813

Search: Search took 0.04 seconds.

  1. Replies
    18
    Views
    3,698

    Re: [RESOLVED] Polyphonic sound aka: music

    I am looking for vb.net code to do exactly that.
  2. Re: [VB6] TrickSound - class for working with audio.

    Never mind. I figured out that I change the Interval in properties to get the siren to play longer. I changed it to 6000 and everything is great now. I just wanted to be able to make sound effects...
  3. Re: [VB6] TrickSound - class for working with audio.

    ok I ran the revised siren and it played about 5 seconds then ended normally. How do I get the siren to play a little longer than 5 seconds?
    Do I use a Timer loop in the sub Timer1_Timer like...
  4. Re: [VB6] TrickSound - class for working with audio.

    There is no way to activate Timer1_Timer. I had snd.StopProcess in Form1 but the program kept running even though the siren stopped playing.
  5. Re: [VB6] TrickSound - class for working with audio.

    I use this but the siren starts playing again after the timer loop expires.

    Option Explicit

    Const pi = 3.1415926
    Dim ThisTime
    Dim WithEvents snd As clsTrickSound2

    Private Sub Form_Load()
    ...
  6. Re: [VB6] TrickSound - class for working with audio.

    I jusst downloaded the code that was in siren.zip and it played the siren forever so I needed a way to stop the siren so I used snd.StopProcess in order to stop the siren noise. There is only one...
  7. Re: [VB6] TrickSound - class for working with audio.

    It is the code that was in the zip file for siren. I added snd.stopprocess in hopes that it would stop the siren sound but obviously it didn't work.
  8. Re: [VB6] TrickSound - class for working with audio.

    This is the siren zip file from your article! I didn't include the module as it is still the same as it was when I downloaded the zip file from you.
    I tried using a Timer between snd.StartProcess...
  9. Re: [VB6] TrickSound - class for working with audio.

    I still can't shut off the siren. I used snd.stopprocess after snd.startprocess but the computer hangs up but the siren did stop but I had to manually end it.
  10. Replies
    6
    Views
    12,160

    Re: Sine Wave Sound Generator

    Here is my version to generate and play a sound:
    Option Explicit
    Private Declare Function GetMem8 Lib "msvbvm60" (ByRef src As Any, ByRef Dst As Any) As Long
    Private Declare Function GetMem4 Lib...
  11. Re: [VB6] TrickSound - class for working with audio.

    Hi I replaced my folder with the latest tricksound.zip file but doing so I lost the Form1 file that plays the siren. How do I play the siren now?
  12. Re: [VB6] TrickSound - class for working with audio.

    I want to thank you for your masterpiece. I ran it in vb 6.0 as soon as I downloaded your zip file. How do I stop the siren from blaring? Does it eventually stop? I ended up using the X button on...
  13. Re: Is it possible to embed a sound clipping in a form?

    How do I delete this as I am in the wrong topic?
  14. Re: mciSendString - Play Sound from ARRAY not PATH ?

    Hi I found this code in my archives from the good ol days. I hope it helps as it does generate a note in memory. I haven't figured out yet how to use a loop to paly multi notes but maybe you can...
Results 1 to 14 of 14



Click Here to Expand Forum to Full Width