Questions tagged [amplitude]

The amplitude of a periodic variable is a measure of its change over a single period

147 questions
1
vote
0 answers

Reading amplitude at the beginning and end of a 16 bit WAV file in Java

I'm reading in 16 bit WAV files in Java (apparently always little-endian). I need to check the amplitude at the beginning and end of a WAV file. I'm hoping for silence at the start and end of clips but need to report on a scale if not. The files are…
gianthair
  • 13
  • 4
1
vote
2 answers

Converting 8 bits to a byte for amplitude modulation in Java

So I am writing a program in Java that does amplitude demodulation. I am reading in a sine wave value by value and determining whether I have a '1' or a '0'. For now I am saving them as chars, but am open to suggestions. I know the number of samples…
user3333414
  • 125
  • 1
  • 2
  • 7
1
vote
1 answer

How to plot the amplitude of audio file with c++?

I'm trying to create a program, using Qt (c++), which can plot the amplitude Signal (plot like audacity but dynamic waveform) when I playback an audio file (.wav, .mp3) using QAudiooutput and QIODevice. What I've done: with QAudioouput I can play…
The Man
  • 407
  • 1
  • 7
  • 19
1
vote
1 answer

Getting the amplitude of a sine wave from an ADC

I am using an MSP430 microcontroller and I want to find a way to get the amplitude of an input sine wave signal based on the smallest possible number of samples from the ADC. The sampling and conversion frequency of the ADC is about 148 KHz and the…
1
vote
1 answer

How to get the time crossing from amplitude of a signal by LabVIEW

I am a labview new starter. Here is my problem,I am working on a data processing LabVIEW program,now I use Threshold Detector VI to get the signals which have crossing the threshold,and I have the indices of these signals.but the indices are related…
Aileen
  • 61
  • 1
  • 7
1
vote
0 answers

AudioRecord gain control getting noisy sound

I gone through stack overflow question apply gain with variation same as what i want to know But couldnt find the answer i tried what ever the answeres they mentioned in above question link there is no proper or exact solution still i am getting…
Shivaraj Patil
  • 8,186
  • 4
  • 29
  • 56
1
vote
1 answer

Amplitude spectrum of Audio file in iOS

I am new in iOS development. As the part of developing an iOS app i need to fetch complete amplitude values of an audio file and i need to process the data without playing the file (ie power per channel method is not enough) . Also please guide me…
Sudeesh
  • 25
  • 4
1
vote
1 answer

Plotting the log amplitude and frequency

I'm trying to display a spectrum of a sound sample with the correct frequency-axis, in Hertz, and a log-amplitude y-axis. I thought I had the frequency display right, but the graphs that it produces look rather weird and I've found absolutely…
The General
  • 1,239
  • 2
  • 17
  • 28
1
vote
0 answers

How to set the frequency and amplitude values in android device?

I am new to android, and I need to work with the audio of the android device. I have something like a table of pairs(frequency - amplitude) and I need to set for each frequency the appropriate amplitude, and apply these values to the equalizer of…
Hanady
  • 779
  • 2
  • 15
  • 38
1
vote
0 answers

how to calculate the amplitude of a wav by channels/frequency bin?

I was using a tool in bash call spectgen to calculate the amplitude of a wav file. The description of spectgen is available here: http://festvox.org/docs/speech_tools-1.2.0/x1717.htm#AEN1772. What I'd like to get is a list of amplitude values…
Qingshan Zhang
  • 245
  • 1
  • 3
  • 12
1
vote
1 answer

I need some help reading a WAV file with java and determining its various amplitudes

In essence the question I'm asking is how do I see a wav file's data when it causes clip to crash due to being a large file and then determine its amplitudes as the song plays on. Think of those oscillations in program a like winamp to visulaise…
1
vote
1 answer

Qt - Get audio amplitude from QBytearray

I'm trying to create a program, using Qt (c++), which can record audio from my microphone using QAudioinput and QIODevice. I made a research and I came up with an example located on the this page. This example does what I need. Now, I am trying to…
DaReDeViL
  • 43
  • 2
  • 8
1
vote
2 answers

Efficient Amplitude modulation on MCU (C)

I'm working on an Microcontroller Synth, but i have ran into a problem with the volume envelop generation. I have this code at the moment: to_dac =(SinTable[lut_pos] * (volume))>>8; It works fine, but the resolution is really bad and i have no…
Máté Magyar
  • 113
  • 2
  • 7
1
vote
3 answers

get frequency and amplitude from wave file

I want to get frequency and amplitude from wave file using c#. I tried NAudio and FFT, but result is nothing. can you help me please. WaveChannel32 wave = new WaveChannel32(new WaveFileReader(open.FileName)); byte[] buffer = new byte[16384]; int…
Farid
  • 89
  • 1
  • 1
  • 7
1
vote
2 answers

Modulate and demodulate binary data to/from audio - one or two frequencies?

I'm going to transmit binary data from PC to nearby smartphone via audio channel (preferably via ultrasound amplitude modulation, like ~19 kHz). I wonder what is the better way: use one fixed frequency to encode ones (high amplitude) and zeros…
tomash
  • 12,742
  • 15
  • 64
  • 81