How to double the freqency of an audio input?

Hi I am working on a project for school. I am using a speedy 33 dsp and
lab view. I am taking an audio signal (guitar) and I want to double the
frequency (ie bump it up an octive). I have tried mixing the signal
with itself and removing the dc. This works perfectly fine with a sin
wave but it does not work with anything complex. Does anybody have an
ideas on how I could do this?

Hello InstaAX,
Perhaps a quick fix, if you are only concerned with how it sounds, would be to change the dt of the time between points. If your data is in a waveform, than this is pretty straightforward, Get Waveform Property>dt; dt/2> Build waveform[dt]. However, this would also be twice as fast (like a sped up tape).
If you want to keep the same speed, but higher pitch, you will need to modulate, then demodulate the signal with twice the frequency. This is the trick that all the "chipmunks" albums use. I have to admit that I have only done this is MATLAB, but the corresponding functions certainly exist in LabVIEW, and I will do a little searching to find the exact ones.
-Mello
Data Science Automation
CTA, CLA, CPI
SHAZAM!

Similar Messages

  • In BI how to filter the selection options based on inputs on top field

    Hi Friends,
    In BI, How to filter the selection options based on inputs on top field.
    The system should automatically filter the lower level drop downs based on the selection of a higher level.
    For e.g. :
    If a user selects a Country then the States drop down should only display the State's belongs to the Country. Similarly when a State is selected, the District drop down should display only those District's belongs to the State.
    Thanks in Advance.
    Regards
    Jayaram M

    Hi Anil,
    Thanks for reply but I couldn't use Compounding Characteristic here. Need some other solution.
    Regards
    Jayaram M

  • How to set the default text in an input box or a label to be a predefine, multiline text

    how to set the default text in an input box or a label to be a predefine, multiline text. In other words how to break the line in the code of a text box.
    thank you

    There are a couple of ways of doing this:
    If you're editing on the canvas, press Shift + Enter.
    If you're working in Express View (see lower right hand corner of Project Siena), you'll need to copy a hard return from another app such as Notepad.
    I believe a better implementation of hard returns are in the list of requested functionality that you can find here:
    https://social.technet.microsoft.com/Forums/en-US/2e1f9446-56b2-419a-9c17-7037d2cd6146/from-the-community-overview-of-requested-additional-functionality?forum=projectsiena
    Thor

  • How to stop the Calendar from editing your input?

    How to stop the Calendar from editing your input?

    I am constantly finding that Calendar Version 8.0 thinks it knows what I want to type but it incorrectly takes numbers and days and times out of my input and changes my appointments. I hate this new supposedly "smart" feature. Even when I edit my event correctly a second or third time it rewrites my input incorrectly again. I have to use my iPhone to override the annoying editing on my mac. I am ready to find a new calendar program unless Apple allows users to input what they want without their information being incorrectly edited.

  • How to do the validation in sap xi (input file)

    hi,
    how to do the validation in sap xi (input file)?
    regards
    Ruban

    Hi Ruban
    There are no fixed set of validations.
    It all depends on the exact functional requirements. Most of validations revolve in XI around,
    1. Validation of madatory fields.
    2. Cross Referncing of data.
    3. Validation for data in some fields , etc
    refr the below links for few details regarding validation
    <b>File Validations in SAP XI – A Case Study</b>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/99593f86-0601-0010-059d-d2dd39dceaa0
    refer this Blog
    <b>Validating messages in XI using XML Schema</b>
    /people/morten.wittrock/blog/2006/03/21/validating-messages-in-xi-using-xml-schema
    <b> Where to create logical validations  </b>
    Where to create logical validations
    <b> HTTP to File with source XML validation </b>
    HTTP to File with source XML validation
    Thanks!!
    Regards
    Abhishek Agrahari

  • What's the difference between an audio INPUT and AUX object?

    Can someone explain the difference between an audio INPUT and AUX object? They both seems to do pretty much the same thing ... when would you use 1 over the other?

    revDave:
    Suppose you're recording a guitar track and you want to add a very gentle compressor to avoid overload during the rec process. you need an audio input channel with a compressor inserted. this way, your guitar will be recorded with the compressor processed. If you use audio and midi gear and want to bounce your material, put all your midi audio in an audio input channel.This way, you don't have to use a real audio channel to record them. You can hear them, even use some plugins, and have them bounced with your audio channels.
    Now, suppose you recorded three vocal channels, and want to use an equalizer. You need an aux object to send your vocal channels and use only one eq. This is very useful when you have similar materials recorded in diferent channels (2 guitars, vocals, pete/sax/bone, and so on). Send their outs to an aux object, insert the fx you want, and set the aux object's out to the main out of your project, and it's done.
    I hope it helps you.
    Tovinho

  • How to get the length of a audio file without play it ?

    Now I know a method to get the length of a audio file by play it:
    1 Create a Player, and add a ControllerListener
    2.Start the Player
    3.In the ControllerListener's controllerUpdate method, use getMediaTime() by receiving a EndOfMediaEvent
    However I think this method is not convenience, if I don't want to play it how I can get the length of the audio file?
    Is anyone can help me?Really thanks a lot !

    I got the answer here:
    http://forum.java.sun.com/thread.jspa?threadID=5149132&tstart=15
    I tried getDuration() before, but it always return a same time, I think maybe I didn't realize the player.

  • How can determine the duration of an audio file

    Hi,
    i'm making speech recognition project using java. i can capture sound by michrophone and playback it. the type of the sound is .wav.
    my question is how to determine the recording duration (for example: determine the duration for 0.25 second) because i must recorded syllable,the assumtion is needed less than 0.5 second to say a word. and then.. can this wav file be changed into... binary or integer ?
    thanks for your help

    FYI I'm newbie in Java,
    Yes, I want to limit the audio file lengths to a certain value. What should I do?
    I have read wav file using an AudioInputStream, for audio format I'm using sampleRate = 8000.0F and sampleSizeInBits = 8. My friend said if I used 8 bit for sampleSizeInBit (resolution in amplitude) the binary file should be -128 till 127 in range according to the bit. I try this code and the result is binary file which is zero, positive, and negative.
    the code
    try{
    audioInputStream.read(audioBytes);
    for (int i=0; i<audioBytes.length;i++){
    System.out.println(audioBytes);
    catch(IOException ioe){
    System.out.println("Error"+ioe);
    I'm not sure that the code is right, but it works. Should I change the audioBytes into integer before? I try this code but it doesn't work.
    int a = new int[audioBytes.length];
    for (int i=0;i<audioBytes.length;i++){
    a[i] = new Byte(audioBytes[i]).intValue();
    this binary file has been printed in console (I’m using texpad). So, how I can write that to file.txt? I'm using FileoutputStream but it doesn't work correctly. Here is the code
    FileOutputStream fos = new FileOutputStream(strFilePath);
    {audioInputStream.read(audioBytes);
    fos.write(audioBytes);
    catch (IOException ioe){
    System.out.println("Error"+ioe);
    When I open file .txt is read as character like this üüüüüüüüüüüüûüüüûüûûû ||||||| ||||||| ||||||||||||||||||||||||||||| &#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746; (like using alt plus number)
    Edited by: anasfr on Mar 19, 2009 9:02 AM

  • How to double the value of MLIN and MCINDN in AWR MWO

    Dear Sir,
                I want to know the double values of both MLIN and MCINDN in AWR Microwave office. Because ordinary inductor(L) , we can double it very easily . Similarly equivelently we need to double the value of the MLIN and MCINDN. What I need to change in MLIN and MCINDN to get the as similar doubling value of normal inductance ( Example L =  50 nH double L = 100 nH).  Can you anybody help me.
    Attachments:
    MLINandMCINDN .png ‏91 KB

    Mohi_kh Sir,
                 I understood, what you said. What is my difficulty is, I have used ATF54143 4 pin IC to my work . As you know ATF 54143 4 pin  IC one is gate , another one is drain and remaining two pins are internally connectd  to source. Earlier What I did
    ( 1 ) I used the normal lumped inductor at the source. Ideally I doubled the same inductor value and connected at the two sources, two parallel double  inductors values will become single inductor value (without double value).
    (2) Instead of normal lumped inductor , I used the tuned equivelent  microstrip value at frequency 2.5 GHz at the one of the source of the ATF 54143 transistor. What is my doubt is, two sources are there for the ATF 54143. How we have to connect the tuned equivelent value of microstrip line at the two sources of the  ATF54143 transistor. As I discussed in the # 1 point , I doubled the single inductor value and connected at the two sources of the transistor. Similarly What I have to do for the single MLIN ,what I used. Shall I connect the MLIN at one end of the source and leave the other end of the source as it is by connecting the ground. Can you give solution, what I have to do , I used the MLIN at the source.
    (3) Intead of normal lumped inductor, I connected MCINDN for some other purposes to the one end of source of the ATF54143 transistor. Here also, I am also facing the same difficulty as I discussed in the point # 2. What I have to do other end of the source of the transistor. Shall I leave the other end as it is by connecting the ground. Can you suggest me , what I have to do , because two sources are internally connected.
    Attachments:
    ATF54143_Nonlinear_device_model.png ‏323 KB
    Pin_Connection_of_ATF54143.png ‏299 KB

  • [Solved] How to keep the channels of stereo audio "as is"?

    I'm using a 5.1 surround sound system with ALSA/PulseAudio. I'm using HDMI to transmit to the receiver to power all speakers up. It works for movies without any issue especially after I passed "audio-channels=6" to mpv.  But I notice that when I play a stereo audio, the sound comes from all speakers / channels. For example:
    $ aplay -c 2 /dev/urandom
    Playing raw data '/dev/urandom' : Unsigned 8 bit, Rate 8000 Hz, Stereo (but all six speakers are working)
    Does PulseAudio remix the audio? It's a nice feature for minimal multimedia speakers. But for some audio, it sounds better by just using to 2 channels as it recorded, and my receiver has enough DSP stuff and audio effects to remix the audio and to use all my channels (i.e I don't want to double-remix the audio). It should use the channels as it recorded. Is there a way to keep the channels of stereo audio "as is"?
    Thanks for any advice.
    Last edited by biergaizi (2015-04-05 05:31:07)

    The "enable-remixing" is the setting the OP is looking for. It will disable remixing completely if set to "no", with the drawback that, say, 5.1 audio won't be downmixed to stereo if one only has 2 channels.
    Disabling remixing globally seems to have weird side effects, I couldn't get my front connectors working after disabling it.
    What I did was splitting my 7.1 device into a 5.1 and a 2.0 virtual devices, leaving the global remixing setting at default. Then I disabled the remixing for the 5.1 virtual device, while letting it remix for the 2.0 one.
    So now when I want to remix, I just select my 2.0 device, and if I don't, the 5.1 device (or rather, in my case I actually have a 5.1 and a stereo device connected). The example is on the wiki

  • How to use a bluetooth cellphone for audio input and output

    Hello, I was wondering how to set-up my Mac Book so that I can use my bluetooth cellphone for audio in and audio out. Ideally, I would like to use my handset for talking on iChat and Skype. Has anyone had any luck doing this? When I bond my cellphone these optiosn do not appear. I know that this is easy to do on a Windows machine but I am not sure about how to do it on my Mac Book.
    Thanks!

    Yes it should do what you want.
    Go to "Audio Midi Setup", and go to the Audio menu and click "Open Aggregate Device Editor". The interface is pretty simple but if you do get stuck, just use the help function in Audio Midi Setup, as it has a step by step guide.
    Then when you return to logic, go to the Preferences>Audio>Drivers section and select Aggregate Device as the new driver rather than either the built in sound or the tascam. Then the inputs and outputs will apply to BOTH devices.

  • How to execute the MI34 t.code - Batch input: Enter count

    Hi
    1. How to use the transaction MI34 ?
    2. What are the pre-requisties i should do that ?
    3. How should i upload the inventory count file and where should i do that.
    Pls give me a step-by-step procedure
    Thanks
    Kumar

    Hi Jurgen,
    Thanks for your quick response
    1. Created a file type txt from Excel with the exacly structure of BISEG
    2. Uploaded the txt file in to the application server using the tcode cg3z
    3. The target path /usr/sap/trans/data/phyinv34_38.txt
    4. In the tcode FILE, under logical file MMIM_PHYSICAL_INVENTORY_DOCUMENTS, the data format is changed to DAT, and the logical path is given as /usr/sap/trans/data/phyinv34_38.txt
    5. Executed the MI34.
    Error : No list generated
    Thanks
    Kumar

  • How to show the same result as I input (PO Material Text)

    I have a question that
    I need to show PO Material Text in the form.
    i use this function as usual....
    CALL FUNCTION 'READ_TEXT'
        EXPORTING
          ID                      = 'BEST'
          LANGUAGE                = 'E'
          NAME                    = T_NAME
          OBJECT                  = 'MATERIAL'
        TABLES
          LINES                   = T_TLINE
        EXCEPTIONS
          ID                      = 1
          LANGUAGE                = 2
          NAME                    = 3
          NOT_FOUND               = 4
          OBJECT                  = 5
          REFERENCE_CHECK         = 6
          WRONG_ACCESS_TO_ARCHIVE = 7
          OTHERS                  = 8.
      IF SY-SUBRC = 0.
        LOOP AT T_TLINE.
          MOVE T_TLINE-TDLINE TO THE_DOC.
          CONCATENATE THE_DOC1 THE_DOC INTO THE_DOC1.
        ENDLOOP.
      ENDIF.
      MY_MTEXT = THE_DOC1.
    the result maybe concatenate all lines into 1 line
    but now, i'd like to show the same line as I input now,
    for example:
    i input the PO Material Text : 
    123
    456
    789
    if i use that function, it should become :
    123 456 789
    but i'd like the result is the same as i input like this.
    123
    456
    789
    so, should I need to use "INCLUDE......"   in ABAP Script Form?
    Pls advise.
    Thx                                           
    how to do that?

    Thx for your advice,
    But I've already use perform...function ...to return the my_mtext. ( but it the single line that i concatenate all the line content..)
    FORM GET_MATERIAL_PO_TEXT_FOR_MOULD USING MY_MATNR
                                MY_EBELP
                        CHANGING MY_MTEXT.
    but my problem is that...the line of PO text varies....how can I know how many variables need to pass the value to program.
    if the value contains 3 lines.. i want to pass this 3 lines and show in the form.
    i'm confuse...how to do that ..?

  • How to get the Mac Mini Digital Audio output at 192kHz?

    I have a mid 2011 Mac Mini (and love it). According to http://support.apple.com/kb/HT4806, "The headphone / line output port accommodates digital optical audio output, analog audio output with a 24-bit, 44.1-192 kHz D/A converter, digital audio output up to 24-bit stereo and 44.1-192 kHz sampling rate and supporting encoded digital audio output (AC3 and DTS)."
    So there is digital audio output to 192 kHz but how do you configure it to work? Using the Audio Midi Setup Utility, I can set the sample rate to 96000 Hz -- but it won't go higher to 192kHz. Anyone know how to do this?

    That is in some ways confusing.  For the analog output, the
    internal DAC can support 24 bit/192Khz audio data.  It does
    require an application that has the capability of playing back
    such material.
    The TOSLINK optical standard does not support this data rate.
    It has nothing to do with the Mini, it is the standard itself.  The
    TOSLINK optical spec is 96 kHz, 24 bit stereo (uncompressed).
    The mini will however support multichannel, 24 bit, 192 kHz
    (uncompressed) via the HDMI interface.  Also, again,
    the playback software needs to support it.
    Just as a final note, unless the source material has the
    higher sample rate format, there is no benifit to outputing
    at the higher sample rate, especially if the source some
    lossy comporessed format (mp3, aac, Dollby and DTS
    non-HD formats).

  • How to change the source file of audio elements

    Hi,
    I am using adobe edge version 3 to add audio to a website.I use both .ogg and .mp3 files.
    Inside the _edge.js file the audio element has 2 sources (one for .ogg and one for .mp3)
                    id: 'audio_element_id',
                    type: 'audio',
                    tag: 'audio',
                    rect: ['0', '0','320px','45px','auto', 'auto'],
                    source: ['source_file.mp3','source_file4.ogg']
    I want to change the source file of the audio_element programatically......
    So i am using the following code inside edgeActions.js to change the source
    sym.$("audio_element_id")[0].src="new_source_file.mp3";
    But this will change the source of both(.mp3 and .ogg ) to  new_source_file.mp3
    I want to change the source induvidually. What should i do??
    Also I wanted to know what " [0] " stands for in " sym.$("my_audio_element")[0].play(); "
    Please give me an example of a situation wherein i have to change the value of [0].
    Thank you
    Nithin

    you should create a different directory for each dvd on your hard drive and put the files where they belong eg: dvd1, dvd2, dvd3
    then create 3 bins in your project manager called dvd1, dvd2, dvd3 and put the relevant files into the bins ( can import whole folders into each respective bin )
    OR rename your files using something like " renamer" before importing to premiere
    otherwise youll have a mess of a time trying to figure out whats what...maybe someone else has a better solution

Maybe you are looking for