How to generate a 18KHz sine-wave tone?

Author
jpaul
Max Output Level: -90 dBFS
  • Total Posts : 32
  • Joined: 2014/04/16 11:40:34
  • Status: offline
2016/06/15 10:07:07 (permalink)

How to generate a 18KHz sine-wave tone?

Hello,
 
Is there a way to simply generate a simple sine-wave tone around 18kHz with the standard instruments included with Sonar X3 Producer? I Googled and spend a bit of time in some of the synths, but couldn't figure it out with the time I put in thus far, but it seems to me like it should doable.
 
Also, I want to use this tone to help "train" the rude neighbor's untrained barking dogs (and perhaps the neighbor), so will this tone likely fail to transfer through exporting from Sonar to say a .wav file and out my tweeters?
 
thanks,
 
Paul
#1

14 Replies Related Threads

    dwardzala
    Max Output Level: -61 dBFS
    • Total Posts : 1470
    • Joined: 2008/05/26 19:18:33
    • Status: offline
    Re: How to generate a 18KHz sine-wave tone? 2016/06/15 11:02:23 (permalink)
    Not sure what type of speakers you have, but if you are older than 25-30 you will likely not be able to hear it.  Whether or not your neighbors' dogs can hear it is another story.

    Dave
    Main Studio- Core i5 @2.67GHz, 16Gb Ram, (2) 500Gb HDs, (1) 360 Gb HD
    MotU Ultralite AVB, Axiom 49 Midi Controller, Akai MPD18 Midi Controller
    Win10 x64 Home
    Sonar 2017.06 Platinum (and X3e, X2c, X1d)
     
    Mobile Studio - Sager NP8677 (i7-6700HQ @2.67MHz, 16G Ram, 250G SSD, 1T HD)
    M-Box Mini v. 2
    Win 10 x64 Home
    Sonar 2016.10 Platinum
     
    Check out my original music:
    https://soundcloud.com/d-wardzala/sets/d-wardzala-original-music
     
     
    #2
    Mystic38
    Max Output Level: -59 dBFS
    • Total Posts : 1622
    • Joined: 2010/08/30 17:40:34
    • Location: Mystic, CT
    • Status: offline
    Re: How to generate a 18KHz sine-wave tone? 2016/06/15 11:25:22 (permalink)
    not gonna ask why, but my silly idea?
     
    VA VST with sinewave and note of c#10 is 17740Hz.. 

    HPE-580T with i7-950, 8G, 1.5T, ATI6850, Win7/64, Motu 828 III Hybrid, Motu Midi Express, Sonar Platinum, Komplete 9, Ableton Live 9 & Push 2, Melodyne Editor and other stuff, KRK VXT8 Monitors
    Virus Ti2 Polar, Fantom G6, Yamaha S70XS, Novation Nova, Novation Nova II, Korg MS2000, Waldorf Micro Q, NI Maschine Studio, TC-VoiceLive Rack, 2012 Gibson Les Paul Standard, 2001 Gibson Les Paul DC, 1999 Fender Am Hardtail Strat, Fender Blues Jr, Orange TH30/PPC212, Tak EF360GF, one mic, no talent.
    #3
    Keni
    Max Output Level: -17.5 dBFS
    • Total Posts : 5769
    • Joined: 2003/11/04 10:42:15
    • Location: Willits, CA USA
    • Status: offline
    Re: How to generate a 18KHz sine-wave tone? 2016/06/15 22:31:12 (permalink)
    Hmmm... What happened to my post?

    I mention that a while back a cakewalk user write a plugin that functioned as a tone generator to either a selected freq or a sweep...

    I can't remember either the author or plugin's name at the moment but I'm thinking it is called Tone...

    Maybe someone else remembers more?

    This isn't the one I was referring to, but maybe it will help?

    http://forum.cakewalk.com/FindPost/3227438
    post edited by Keni - 2016/06/15 22:52:31

    Keni Fink
    Keni - Facebook
    Deep Space Records
    http://www.reverbnation.com/inexile
    http://www.cdbaby.com/artist/inexile
    Out Of My Head Music (BMI)

    SPlat/MacPro/Dual Xeon 3.06GHz 6-core (12 total)/64GB/Win8.1X64/Presonus 1818VSL/Soundscape SS8IO-1
    #4
    promidi
    Max Output Level: -66 dBFS
    • Total Posts : 1220
    • Joined: 2014/11/21 18:46:39
    • Location: South Australia
    • Status: offline
    Re: How to generate a 18KHz sine-wave tone? 2016/06/15 23:46:47 (permalink)
    jpaul
    Hello,
     
    Is there a way to simply generate a simple sine-wave tone around 18kHz with the standard instruments included with Sonar X3 Producer? I Googled and spend a bit of time in some of the synths, but couldn't figure it out with the time I put in thus far, but it seems to me like it should doable.
     
    Also, I want to use this tone to help "train" the rude neighbor's untrained barking dogs (and perhaps the neighbor), so will this tone likely fail to transfer through exporting from Sonar to say a .wav file and out my tweeters?
     
    thanks,
     
    Paul




    You don't even need sonar to do this.  I use http://www.tropicalcoder.com/ASIOTestSigGen.htm  This will do exactly what you need.  Also, even though you cannot hear the 18 khz tone , you can get a phone app (I use a thing called "Speedy Spectrum Analyzer" on a Samsung Galaxy s4) that can make sure that it is being generated properly and at the correct frequency. 

    I guess, for you, the thing is make sure that the sound has enough grunt to reach your neighbours dog - again using that handy cell phone app. Just be ware that your neighbours dog won't be the only critter affected by this.

    Windows 10 64bit fully patched, 16 gig ram . 
    PCR-800 Controller.  (Working in Win 10 1809 64bit)
    CPU: i5 4670. 
    Video: Nvidia GTX560ti (latest drivers).
    Audio IF: Focusrite 2i2 2nd Gen

    Internet always on.

    Software
    : Cakewalk by Bandlab (2018.09 B29)
    ASIO mode. 24bit 48khz 256 samples 
    Rapture Pro, AAS GS2, VS-3, EP-4, VA-2, Chromophone 2, Z3TA+ 2, Addictive drums 2, Addictive Keys, Mpowersynth (latest), Iris 2, GPO5, Sampletank 3,
    #5
    rmfegley
    Max Output Level: -88 dBFS
    • Total Posts : 114
    • Joined: 2014/12/24 14:57:07
    • Status: offline
    Re: How to generate a 18KHz sine-wave tone? 2016/06/16 02:57:19 (permalink)
    promidi
     Just be ware that your neighbours dog won't be the only critter affected by this.



    Yep, could also clear out any pesky teenagers hanging around, too

    Sonar Platinum latest update
    Windows 10 Home
    i7-4790 CPU
    ASRock Z97 Pro4 MB
    16 GB RAM
    Nvidia GTX 960
    Focusrite Scarlett 6i6 
    Alesis VI49 Keyboard/controller
    Native Instruments Komplete Kontrol S49 keyboard/controller
    Native Instruments Maschine Mk3

    Native Instruments Maschine Jam
    Native Instruments Komplete 10
    Various other commercial and free plugins
    &
    #6
    mettelus
    Max Output Level: -22 dBFS
    • Total Posts : 5321
    • Joined: 2005/08/05 03:19:25
    • Location: Maryland, USA
    • Status: offline
    Re: How to generate a 18KHz sine-wave tone? 2016/06/16 03:08:04 (permalink)
    Also be aware that higher frequencies attenuate most easily; you are most likely not going to get the range you anticipate, especially if it is not direct line of sight. Another reason for this is you cannot get a "100W speaker" to put all 100W into a single frequency.
     
    As promidi mentioned, you would want to not only generate the signal, but also check the received level at range to assess properly.

    ASUS ROG Maximus X Hero (Wi-Fi AC), i7-8700k, 16GB RAM, GTX-1070Ti, Win 10 Pro, Saffire PRO 24 DSP, A-300 PRO, plus numerous gadgets and gizmos that make or manipulate sound in some way.
    #7
    mixmkr
    Max Output Level: -43.5 dBFS
    • Total Posts : 3169
    • Joined: 2007/03/05 22:23:43
    • Status: offline
    Re: How to generate a 18KHz sine-wave tone? 2016/06/16 13:05:03 (permalink)
    record the dawgs....play it back down a 1/2 octave...slowed down maybe a tad...thru a "concert capable" PA might do a similar task. 

    some tunes: --->        www.masonharwoodproject.bandcamp.com 
    StudioCat i7 4770k 3.5gHz, 16 RAM,  Sonar Platinum, CD Arch 5.2, Steinberg UR-44
    videos--->https://www.youtube.com/user/mixmkr
     
    #8
    Pragi
    Max Output Level: -67 dBFS
    • Total Posts : 1173
    • Joined: 2010/09/19 11:46:59
    • Location: Village of the sun
    • Status: offline
    Re: How to generate a 18KHz sine-wave tone? 2016/06/16 13:18:28 (permalink)
    Could be Sweepgen,a tone generator-
    Don´t remember if that is exactly what you are looking for,
    but it´s been helpful for me a lot of times.:
     
    http://onlinetonegenerato...y-sweep-generator.html
    post edited by Pragi - 2016/06/16 13:40:29
    #9
    jpaul
    Max Output Level: -90 dBFS
    • Total Posts : 32
    • Joined: 2014/04/16 11:40:34
    • Status: offline
    Re: How to generate a 18KHz sine-wave tone? 2016/06/16 16:06:04 (permalink)
    Thanks for all the recommendations. I believe my plan may be hindered by the "you cannot get a "100W speaker" to put all 100W into a single frequency" thought from mettelus.
     
    I have set-up a couple of 100W tweeters attached to separate 2-3 foot lengths of PCV (to help guide the noise only to the target problem dogs), driven by a cheap 200W car amp. But in my initial tests, the dogs don't seem to notice. I could buy more speaker wire and move the speakers closer--that may be the least expensive option. I don't know if there are inexpensive transducers that would squeal out a tone around 20KHz loud enough to reach these dogs (about 50 yards).
     
    Also, in my initial test, the audio I exported and sent to my iPod for playback contained a lot of periodic clicks--not sure if this came from an exporting artifact (44.1k sample rate to a wav file) or from the limitations of the iPod, but I didn't hear it directly from my DAW.
     
    Thanks again for the help!
    #10
    RogerH
    Max Output Level: -78 dBFS
    • Total Posts : 608
    • Joined: 2007/09/10 17:50:07
    • Location: Norway
    • Status: offline
    Re: How to generate a 18KHz sine-wave tone? 2016/06/16 16:49:05 (permalink)

    A song from my band: Terramater 
    My soundcloud page
    Sonar Platinum
    Windows 7 Professional (SP1) 64Bit
    Intel Core i7 Quad Processor i7-2600K 3,4GHz
    MSI P67A-C45 (MOBO)
    Corsair Vengeance DDR3 1600MHz 8GB CL9 (2x4GB)
    Seagate Barracuda® 7200.12 1TB
    Seagate Barracuda® XT 2TB
    [font="arial, sans-se
    #11
    TheMaartian
    Max Output Level: -47.5 dBFS
    • Total Posts : 2774
    • Joined: 2015/05/21 18:30:52
    • Location: Flagstaff, AZ
    • Status: offline
    Re: How to generate a 18KHz sine-wave tone? 2016/06/16 19:24:00 (permalink)
    Some things to consider:
     
    http://pets.thenest.com/there-highpitched-whistle-make-dogs-stop-barking-constantly-11318.html
     
    http : // pets thenest com / there-highpitched-whistle-make-dogs-stop-barking-constantly-11318
     

    Intel i7 3.4GHz, 16 GB RAM, 2 TB HD Win10 Home 64-bit Tascam US-16x08
    Studio One 4 Pro NotionMelodyne 4 Studio Acoustica 7 Guitar Pro 7
    PreSonus FaderPort Nektar P6 M-Audio BX8 D2 Beyerdynamic DT 880 Pro
    NI K9U XLN AK, AD2 AAS VS-2, GS-2, VA-2, EP-4, CP-2, OD Toontrack SD3, EZK
    #12
    jpaul
    Max Output Level: -90 dBFS
    • Total Posts : 32
    • Joined: 2014/04/16 11:40:34
    • Status: offline
    Re: How to generate a 18KHz sine-wave tone? 2016/06/17 09:29:08 (permalink)
    TheMaartian
    Some things to consider:
    http://pets.thenest.com/there-highpitched-whistle-make-dogs-stop-barking-constantly-11318.html

    Indeed, sometimes these dog whistles "work" but if they end up causing these junkyard dogs to bark more, at least I can induce them to bark at times less convenient for their rude owners, and perhaps they'll choose to do something about it. A bit (more) off topic, but I'm amazed at how chronic "security" dog barking is not considered rude by many, but if someone's car or house alarm wailed every time someone or some animal passed within view, then that would be considered a nuisance.
     
    ... I forgot to mention that my first hope is that the dogs will become desensitized to stimulants such as these noises, and start ignoring more triggers. If not, then at least the owners might suffer as much as the rest of us.
    post edited by jpaul - 2016/06/17 14:47:06
    #13
    jpaul
    Max Output Level: -90 dBFS
    • Total Posts : 32
    • Joined: 2014/04/16 11:40:34
    • Status: offline
    Re: How to generate a 18KHz sine-wave tone? 2016/09/11 13:11:37 (permalink)
    I'm now at the stage of having the 16--20KHz tones but after exporting them to .wav files and playing them on anything but my Focusrite Scarlett (e.g., playing them on my SoundBlaster or iPod), there are a lot of audio artifacts lower frequencies (buzzing, etc.). Yet, on the Scarlett, the master sounds fine, and if I import the exported .wav back in to Sonar and play it over the Scarlett, it looks (spectrum) and sounds fine too... so the problem isn't with the .wav exporting, but with the playback devices?
     
    I'm wanting to load this .wav on an iPod 2, but that too exhibits the problem artifacts.
     
    Does anyone have any work-arounds to possibly consumer hardware not being able to output high-frequency sine wave .wav files clearly? Perhaps I'm missing something?
     
    Thanks!
    #14
    ampfixer
    Max Output Level: -20 dBFS
    • Total Posts : 5508
    • Joined: 2010/12/12 20:11:50
    • Location: Ontario
    • Status: offline
    Re: How to generate a 18KHz sine-wave tone? 2016/09/11 13:47:53 (permalink)
    It's probably hardware dependant.  A lot of consumer grade stuff wont give you 20 - 20 like a high quality audio receiver.

    Regards, John 
     I want to make it clear that I am an Eedjit. I have no direct, or indirect, knowledge of business, the music industry, forum threads or the meaning of life. I know about amps.
    WIN 10 Pro X64, I7-3770k 16 gigs, ASUS Z77 pro, AMD 7950 3 gig,  Steinberg UR44, A-Pro 500, Sonar Platinum, KRK Rokit 6 
    #15
    Jump to:
    © 2025 APG vNext Commercial Version 5.1