Pitch shifting a sine wave

hi there,
i'm trying to create my own kickdrum, and the method i'm using is to create a sine wave at 60 hz; pitch shift it +24 semitones, then over ~350 milliseconds i want to drop it -24 semitones. i have managed to create a test oscillator and bounce out a sine wave, however i cant seem to find a plug in or a method within logic to do a very clean slope/curve of the pitch.
if anyone has any ideas or methods that would help me achieve this can you please let me know
thanks!

Why not just apply an envelope modulation to an oscillator in the ES2 or manipulate the resonance of a filter with an envelope mod? You can also do this in Ultrabeat.
jord

Similar Messages

  • Add phase shift to a sine wave

    Hi,
    Can I add a varying phase shift (through a control from front panel) to a sine wave?
    Thanks,
    Sharmi

    Similar to this? That event should be a dial value change but the snippet messed it up
    CLA, LabVIEW Versions 2010-2013
    Attachments:
    shift.png ‏27 KB

  • Phase shift between a pulse and sin wave

    Hello,
    I was wondering if there is any VI that I can use to get the phase shift between a pulse and a sin wave (they have same frequency).
    The Ideal case is that the pulse should go to 1 when sin wave is positive and goes to 0 when the sin wave is negative. I want to set this test to measure the phase shift between pulse going to one and sin wave going positive.
    We just bought labview full version with Signal processing package, and I was wondering if there is anything that would be useful for me.
    Thanks in advance,
    Baran.

    Hi Baran,
    Try this on for size and see if it works for you.
    Have a great day,
    Chris V
    Applications Engineer
    National Instruments
    Attachments:
    Phase Difference.vi ‏22 KB

  • How to change the phase by 90 deg of a sine wave

    Hi
    Does any one know how to change the phase of a sine wave by 90 degrees.
    Mal

    Hi Malkoba,
    Thank you for your post.
    Having looked at your VI I can say that you have created the correct inputs to the 'Sine Waveform.vi'.
    However the dial you had created had no affect as it was not wired into it the 'Sine Waveform.vi' on the block diagram.To fix the problem I have wired the 'Phase' dial into the 'phase' terminal of the waveform generator. This now changes the phase of the sine wave during runtime.
    The dial also now has a digital display (numeric box below it)- this can be used to read the dial's value, or feed in specific values into the control.
    Please find a modified version of your VI below.
    Regards,
    Field Sales Engineer | National Instruments | UK & Ireland
    Attachments:
    NI_phase shift sine.vi ‏31 KB

  • Generating a 6X Sine Wave using an absolute encoder

    How do I get an Analog Signal Generation Synchronized to six times the frequency of an absolute nine bit parallel encoders output with adjustable phase relation. I am using a PXI-6533, a PXI-6711 and have available a PXI-6070E.
    Now the long version of the problem. I have a 9-bit absolute encoder connected to a motor shaft (up to 420Hz). From the encoders 9-bit (0-511) parallel signal I need to create a synchronized 6X sine wave (up to 2500Hzwith an adjustable phase relation. Picture an electronic timing chain. For every cycle of the encoder, I need to produce six full sine wave cycles with a variable tuned phase shift. I have LabView 7 w/RT.
    I have tried to use the Update Clock (PFI5) to step through a buf
    fer but it seems to drop an update every so often. I also have tried to monitor the bit-0 line to determine freq. and scaled the update rate accordingly but the phase shifts all over the place. Does anyone have any ideas on the matter ? I would really appreciate it! Thanx….Phil

    Phil,
    Another different option to solve your application would be to use the new LabVIEW FPGA module and the 7831R reconfigurable I/O hardware. Using these tools you can configure the FPGA on the board to generate the sine wave based on the 9-bit parallel input. The most simple setup would be to have a lookup table in the FPGA that has a corresponding output value to each of the 512 possible input values. This 512 sample table would contain 6 cycles of a sine wave. Every time the parallel input changes the analog output value would be updated accordingly from the lookup table. This setup would also allow to easily add a phas
    e shift of the output by shifting the point in the lookup table you are reading by a known constant.
    Christian L
    NICS
    Christian Loew, CLA
    Principal Systems Engineer, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

  • Creating and controlling a sine wave

    I am a TA for Control Systems & Instrumentation at Texas State University. As the assistant I am required to assist students in their homeworks and projects. I have encountered a problem in assisting the students. How do I create a Sine Wave wit ha sampling frequency of 200 Hz? Obtain the power spectrum of the signal and change the sine wave frequency to 25 Hz. Determine if the resulting frequency is about the Nyquist frequency. Then increase the sine wave to 125 Hz and compare to the Nyquist frequency again.

    There is an example shipped with LabVIEW 2009 called "Resampling a Waveform (continuous).vi" I think this vi will demonstrate what you are trying to do. Change the sine wave frequency using the frequency control in the Test Signals (A) box and change the sampling frequency by updating the output rate control in the Output timing box. You will then see the original waveform spectrum at the original sampling rate (Fs) and the re-sampled spectrum will be shown in red so you can see the shift.
    Systems Test Engineer
    Certified LabVIEW Architect (CLA)

  • How to generate 3 phase sine wave to output on ELVIS

    Hi .I need to make a star or delta connected circuit on ELVIS board.2 make this circuit I need 3 wave generator( with 120 phase shift) and one common ground
    and because the ELVIS function generator can only generate one wave I decided to generate countionuos sine wave in Labview.
    Now I can generate 2 continuis sine wave in labview and output them on the analog outputs of ELVIS.Ao-0 and A0-1
    but I dont know what to do for the third signal.the elvis board just has 2 analouge output and when I use  Ao-0 and A0-1 I cant use ELVIS function generator after that.so would u please help me on this problem.how can I output 3 contious sine wave in Elvis.I have attached my VI to this post
    Attachments:
    new.vi ‏38 KB

    Hi, I am also having some problem in generating two signals from two AO. Could you please tell me how to generate two different signals from two AO. I have attached vi which generate square wave from one AO 0. I need the inverted signal in AO 1. 
    Attachments:
    Pulse Width Modulation.vi ‏48 KB

  • I would like to create a sine wave in Illustrator. How do I do this in a simple way?

    Hi,
    As the title suggest I would like to create a sine wave in illustrator. I know that applying the zig zag effect to a line and choosing "smooth" will create a cosine wave. But is there a simple way like that to create a sine way? Or any way at all?
    Thanks for the help!
    ekmanch

    1. start with the zig zag effect
    2. with the scissor tool cut where the ends of the red line is - I made the rest blue to make it clear
    3. delete the blue segments to get this
    4. using the black pointer or scale tool stretch horizontally to match the reference
    5. using the white pointer select one of the smooth anchor points, and using the Scale tool and holding Shift drag to scale constraining horizontally until the curve matches the reference
    6. select the other smooth point and with the scale tool selected press the Enter key on your keyboard twice to apply the previous scale
    click the image to see it larger

  • Measuring lag between input and output sine waves...

    Hi,
    I am using a Labview VI to control an array of servo motors, each receiving a sine wave input (with different phase offsets for each servo). I'm using a NI USB-6229 DAQ system to monitor their movement via a wire that I've soldered onto each servo's potentiometer. I've written another VI that recieves both the initial sent signal and the returned DAQ signal and plots both on a waveform chart. Both signals show up on the plot as expected, with an obvious phase shift between them. I'm having problems accurately measuring the phase shift, and I'd rather have an automatic method that gives accurate numerical values instead of a more qualitative visual method.
    So far I've tried to use triggers and peak to peak comparisons, but I've been having problems getting results in real time. My incoming signals are time stamped, if that helps. Is there a quick and easy method to extract phase shift data from two sine waves on a waveform chart?
    Thanks for the help...

    Since I work with lock-in amplifiers I came up with this. I guess it will work in your case. This method has some limitations. It will work up to 180 degree. It also measure absolute phase lag. You can not say if the signal is leading or lagging. But in your case it will always be lagging. I posted a VI showing the method in another discussion. Here is the link. http://forums.ni.com/ni/attachments/ni/170/409516/1/demo_v2.vi. Since your DAQ unit do not have simultaneous sampling you will get a small phase error due to inter-channel delay. This is also true if you use the FFT method. What is your signal frequency and which samplerate do you use?
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Acquire sine wave

    Hello,
    I'm trying to acquire a sine
    wave from my com1 via rs232. I don't have a DAQ, and that's where it's
    causing problems. I have a sine wave of around 200 hz going through an
    rs 232 cable into my computer. The frequency will shift between 0 and
    200 hz. I pretty much have tried looking everywhere but all of the
    solutions seem more complicated than they should be. I'm using LabVIEW
    8.2.1.
    I will upload my VI so you can see. In the end, I want to
    replace the "simulate sine wave" with the acutal sine wave coming from
    the RS232. It's an analog sine wave.
    Attachments:
    qcm.vi ‏98 KB

    I might be confusing analog and digital. My english is very bad especially when it's technical, and yes I have absolutely no academic background in either subjects.
    The signal coming in is in the form of a sine wave, and the sine wave is coming from 2 oscilators, which are oscillating at 9.2 megahertz and are powered by 9v batteries. One of the oscillator wires travels through a crystal which causes the frequency to shift. Then both of the wires go to a mixer, and the frequency coming out is the frequency difference between the sine waves. This frequency will always be between 200 hertz and 0. I have that connected to an rs232 which is connected to my computer.
    I can convert the signal to TTL if it comes down to it. I'd just rather not.

  • Acquire sine wave from DAQ

    Hi
    I am using DAQ to acquire sine wave from function generator to determine the fringes, phase and wavelength.
    How can I build this VI?
    Thank you

    Mostly like the phase is being reported
    from 0 to 180 or 0 to -180.  There is a VI to unwrap the phase.
    I took a look at your code and I am a
    bit confused about what you are trying to do. 
    Right now it looks like you are gathering 100k samples at a sampling frequency
    of 200k in a finite acquisition.
    In your code, each iteration of the For
    loop takes 100k samples and finds the number of peaks.  The Extract Single Tone Information.vi finds
    the tone with the largest amplitude in the 100k samples and returns the
    amplitude and phase.  The phase in this
    case returns the absolute (start) phase of your detected sine tone, that can
    also be viewed as the phase relative the beginning of your signal (in this case
    the beginning of the 100k samples).
    On the next iteration, the code takes a
    new set of 100k samples and calculates the same information (again the phase is
    based on the start of this new set of 100k samples).
    What is your ultimate goal?  To continuously acquire data, find peaks and their
    phase relative to the first sample collected? To acquire a finite set of data,
    and find the phase of each peak relative to the first sample?  Get the relative phase between two different
    peaks?  What are you using the phase
    information for?  Are you using the phase
    to count the number of cycles?  What kind
    of signal is coming from your signal generator?
    To compare the phase to the first sample
    you will need to use some comparison vi’s as mentioned in another post.  Shift registers can be used to keep a “running”
    total of the phase from the first sample.
    Jared T.

  • How to restart after being connected to a non-pure sine wave inverter?

    I took my MacBook Pro to the motor home last night and set it up for a trip today.  I forgot the computer was on and I plugged it in.. While traveling today it was on the inverter power which is not a pure sine wave inverter.  Tonight the computer opens but I can't activate anything with the mouse and when I try the little color wheel starts spinning.  I have also tried starting in safe mode by holding down the shift key while starting and I get the same result.  I don't know what else to do and I am hoping I haven't fried something!
    Stu

    Have you tried the basics, SMC and PRAM resets?
    http://support.apple.com/kb/HT3964
    http://support.apple.com/kb/ht1379
    Ciao.

  • Simultaneous updation of sine wave using 2 PXI-6711 cards using RTSI Trigger

    Hi ,
    How to generate continuous sine wave using two pxi-6711 cards at same time without any phase shift using traditional nidaq functions.
    Regards,
    satya

    In LabVIEW, go to Help>>Find Examples. Navigate to Hardware Input and Output>>Traditional DAQ>>Multiple Device. There is an example there called "Two E Series Shared Scan Clock". That example is for analog input, but you should be able to modify it to be for analog output. Basically you will just have to share the scan clock from one board(master) and use it as an 'external' clock for the other board(slave).
    -Alan A.

  • USB-6009 Sine Wave

    Hi,
    I am new to LabView and am having some trouble. I need to input two sine waves into a USB-6009. I have a voltmeter that should read the output. Two of the problems that I have had thus far: I can only use "On Demand" in DAQ Assistant and even when I throw the DAQ Assistant into a while loop I still do not get a readout on my voltmeter. Any suggestions? Thanks for the help.

    That is confusing. You say you need to input 2 sine waves into a 6009 and that to me implies that you are doing a DAQmx Read. Then you say you have a voltmeter to read the output. That implies you are doing a DAQmx Write. If you are really doing a write from the 6009, then on demand is, of course your only choice. As the specs clearly indicate, the output of the 6009 is strictly software timed so you would need to pass a sine wave point by point and then you would have very little control over the frequency. And, again as the specs clearly state, the fastest output rate you could expect is 150Samples/sec.

  • Simultaneous analog output 1k sine wave and data acquisition

    Although many topics of simultaneous analog output and input can be found in NI Developer Zone, I have not found a case similar to my project. I'm trying to generate a 1kHz sine wave by using the analog output of NI DAQPad-6070E, and acquire one channel input signal simultaneously. I found most of the examples can not work properly above 100Hz. Any suggestions are welcome. Thank you.
    Jian

    I have sucessfully solve the problem when I observed the increase of
    scan backlog number. Simply increase the buffer size of AI/AO and you
    can make the 1kHz sine wave output and data acquired properly.
    On Tue, 3 Feb 2004 09:03:07 -0600 (CST), jujian wrote:
    >Although many topics of simultaneous analog output and input can be
    >found in NI Developer Zone, I have not found a case similar to my
    >project. I'm trying to generate a 1kHz sine wave by using the analog
    >output of NI DAQPad-6070E, and acquire one channel input signal
    >simultaneously. I found most of the examples can not work properly
    >above 100Hz. Any suggestions are welcome. Thank you.
    >
    >Jian

Maybe you are looking for

  • InitialContext lookup over HTTP using a full PROVIDER_URL (including path)

    Hi, We have a standalone Java JMS client application that is sending messages to a queue on a WebLogic (WLS 9.2 MP3) server. It uses the WLInitialContextFactory (WebLogic implementation of InitialContextFactory) class to look up the initial context o

  • Regarding exception in the WebService(Business One)

    Hi all,     I have installed Business One in my system.My requirement is to display the sales order details.I am using java connector and SAP NetWeaver Developer Studio for this purpose. process: --I've also included external jar files sboapi.jar and

  • Adding a bookmark in Designer

    Is it possible to place a bookmark using designer so that when a user opens the PDF file they will be able to navigate a large form more easily. Or, do I have to open the form in Acrobat Pro and add them manually?

  • How to Keep Checking Mail Without Screen Lighted?

    I apologize for asking so many questions but I just got an iPod yesterday and it is my first iGadget of any kind.  I would like for it to keep checking mail and signal me when new mail arrives.  I understood iPods would do this -- it's one of the mai

  • Activated Adobe Encore CS6 from Production Premium CS6 suite, closes with Trial Expired error

    Good day, We have customer owning 10 Adobe Production Premium CS6 packages. And he expiriencing huge problem, after activation, sometimes it was offline cause Workstations were moved from one location to another without internet, and we were forced t