waveform

Draw sound wave with possibility to zoom in/out

Hi :D I'm writing a sound editor for my graduation. I'm using BASS to extract samples from MP3, WAV, OGG etc files and add DSP effects like echo, flanger etc. Simply speaching I made my framework that apply an effect from position1 to position2, cut/paste management. Now my problem is that I want to create a control similar with this o...

how does soundcloud.com generate the waveform for their excellent mp3 player?

i would like to make a similar application but am struggling on how to generate the image of a waveform - are there any php libararies i can use, or perhaps something i can run from in linux to generate waveforms from an mp3? thanks :) ...

Create a Sin wave line with Processing

Hey everybody, first post here, and probably an easy one. I've got the code from Processing's reference site: float a = 0.0; float inc = TWO_PI/25.0; for(int i=0; i<100; i=i+4) { line(i, 50, i, 50+sin(a)*40.0); a = a + inc; } http://processing.org/reference/sin_.html However, what I need is a line that follows the curve of a Si...

How to write C++ audio processing applications?

Hi everyone, I'm an Electronics and Telecommunications student, next to my graduation. I'm gonna work on a project that involves my knowledge about DSP, music and audio in general. I allready know all the basic mathematic instruments and all the stuff I need to manage it, such as FFT, circular convolution ecc ecc. I want to learn C++ ...

Is there a way to use AS3's Sound Object methods on an FLV

I'm recording and playing back mic input using Flash Media Server, and even though it's just audio, we're saving the output as FLV. I'd like to get a waveform of the recorded audio. Ideally, since we already have a lot of saved/recorded audio, I'd like something that can take a loaded FLV and get the waveform, as opposed to generating it...

Is there a PHP library to generate an waveform images out of an audio file?

Maybe something like this exists already? ...

Drawing Color Spectrum with Waveform

i've come across this ActionScript sample, which demonstrates drawing of the color spectrum, one line at a time via a loop, using waveforms. however, the waveform location of each RGB channel create a color spectrum that is missing colors (pure yellow, cyan and magenta) and therefore the spectrum is incomplete. how can i remedy this pr...

How to draw audio waveforms on a UIView ?

Hi All, How to draw audio waveforms on a UIView ? ...

Creating simple waveforms with CoreAudio

I am new to CoreAudio, and I would like to output a simple sine wave and square wave with a given frequency and amplitude through the speakers using CA. I don't want to use sound files as I want to synthesize the sound. What do I need to do this? And can you give me an example or tutorial? Thanks. ...

Converting binary waveform data into text - Crack the code!

Hi, I am developing a web site for the storage of electrocardiograms (ECGs) for research purposes. The ECGs come in two different XML-formats. In format A the waveform data is stored as text and can easily be converted into a human readable ECG, but in format B the waveform data is encoded in a way I cannot decode, but I think it might...

help converting this as3 code to pixel bender code

Hi, I'm looking for some help converting as3 code to pixelbender code in an attempt to improve the performance of my application. This as3 code goes as follows. I scan through the Number values of a bytearray in chunks. Lets say this chunk lenght was 100 numbers I read 2 numbers (left and right) and try find the maximum values. The numb...

Audio waveform visualisation in Python/Django

I've looked around Stack Overflow for an answer to this, but nowhere seems to give the correct answer or direction... My project will allow a user to upload a WAV, which ultimately will be converted to a low quality MP3 using FFmpeg on the server and it'll all be stored and served on Amazon S3. The next obstacle is working out how to ex...

ActionScript - Creating Square, Triangle, Sawtooth Waves From Math.sin()?

is there common code available that produces square, triangle, sawtooth or any other custom waveforms using the math class? below is a basic function that handles a SampleDataEvent and plays a middle-c (440 Hz) sine wave. i'd like to change the tone by incorporating square, triangle and other waves. var position:int = 0; var sound:So...

Help required with audio in MATLAB

Hi guys, I'm trying to write an .m file to extract energy features from an audio track but I seem to be having trouble in its implementation: % Formula for calculating RMS [f, fs, nb] = wavread('Three.wav'); frameWidth=441; %10ms numSamples=length(x); numFrames=(numSamples/1); energy(frame)=0; for frame=1:numFrames, startSample=...

Calculating audio pitch in MATLAB?

Yesterday I finalised the code for detecting the audio energy of a track displayed over time, which I will eventually use as part of my audio thumbnailing project. However I would also like a method that can detect the pitch of a track displayed over time, so I have 2 options from which to base my research upon. [y, fs, nb] = wavread('...

Display a audio waveform using C#

I've already searched at Stackoverflow and google, but haven't found what I'm looking for. So far I got the audio raw data(WAV File) and I want to visualize it. private void Form1_Load(object sender, EventArgs e) { FileStream fs = new FileStream("D:\\tada.wav", FileMode.Open); BinaryReader reader = new Bina...

extAudioFile data... am I getting the right stuff?

I am using the EXTAudioFileReadTest app provided in the Core Audio SDK documentation and I'm trying to get all of the floating point values from the mData buffer so that I can draw a waveform with them. Currently, I'm printing out the floating point values for single channel and this is what I'm getting in the console: 2010-09-10 19:2...

How to implement sineWaveTo squareWaveTo and sawWaveTo lines in html5 canvas 2d context?

I would like to try an implement these so that they can be used in a manner similar to lineTo(). Starting from the current point, given the ending coordinates the functions would draw either a square, saw, or sine line all the way to the the ending coordinates. I dont know if we can factor in both Amplitude AND Frequency because I guess...

Draw waveform for microphone in flex, is it possible?

I'm making a audio recorder with Adobe Flex (Microphone, NetStream), I want to get the current audio wave from Microphone to display in the visualization area, any idea how can i get the data? ...

how reduce the number of points of a waveform?

I have this, f = audiolab.Sndfile('test.wav', 'r') data = f.read_frames(f.nframes, dtype=numpy.int16) pyplot.rcParams['figure.figsize'] = 10, 2 pyplot.plot(data) pyplot.xticks([]) pyplot.yticks([]) pyplot.show() but the ploting is slow and freeze the pc, hoy I can reduce the numbers of points or how can I increase the performance...