Forums Search for: Python
Python for DSP
inSeems that Python is catching on for some DSP work. The recent Coursera course co-sponsored by Julius Smith III used Python rather than...
Seems that Python is catching on for some DSP work. The recent Coursera course co-sponsored by Julius Smith III used Python rather than Matlab. I've searched for DSP libraries but there's kind of a confusing jumble. Some are just using SciPy. Does anyone know of specific Python libs that would extend SciPy's scope?
Python question
inApropos to the question "Python for DSP" in comp.dsp (http:// www.dsprelated.com/showthread/comp.dsp/243722-1.php): How fully object-oriented...
Apropos to the question "Python for DSP" in comp.dsp (http:// www.dsprelated.com/showthread/comp.dsp/243722-1.php): How fully object-oriented is Python? I'm doing an app that really wants to be prototyped in something Scilab-ish (i.e., interpreted so it's easy to do graphs or computation on bits of it), but which is seriously challenging Scilab's sorta-object oriented-ness. I'm running...
python psd
inHi, I am trying to take a PSD of an FSK signal that I've been fooling around with....I wrote it in python with the help of a post someone put...
Hi, I am trying to take a PSD of an FSK signal that I've been fooling around with....I wrote it in python with the help of a post someone put on this board a while back. Here is the code: #!/usr/bin/env python import math import wave import array import random import numpy import pylab from pylab import psd from pylab import arange from pylab import randn from pylab import exp from p...
kalman filter - python implementation
inHi, I try to implement kalman filter (Python 2.6), and I have a problem with covariance matrix, which in some time start to have crazy...
Hi, I try to implement kalman filter (Python 2.6), and I have a problem with covariance matrix, which in some time start to have crazy values (going to minus infinity) and in effect my estimations are also crazy. For example: observation: [[ -0.21369917] [ 1.76860362] [ 5.57973197] [ 12.32486812] [ 20.49270401] [ 31.83940345] [ 41.51642446]] X_estimate = [ 0.00000000e+00 ...
Python frequency analysis without numpy
inHi- I've been using python now for about 2 months for plugin development within Maya (a commercial 3d application). I'm currently in the...
Hi- I've been using python now for about 2 months for plugin development within Maya (a commercial 3d application). I'm currently in the process of writing a sound analysis plugin for maya and have completed a good portion of it including the ability to retrieve the amplitude at certain intervals from a wav file. The next part of the project however consists of analysing the wav file and out...
tools for processing radio-signals
Hi all, I do not know if this newsgroup is still alive. I would like to learn to do "offline" signal-processing on radio-signals. E.g....
Hi all, I do not know if this newsgroup is still alive. I would like to learn to do "offline" signal-processing on radio-signals. E.g. consider that I have a wav-file or an iq-file that contains a recording of POCSAG (paging) message. What tools r python libraries can I use to exact the POCSAG message from it? I know there are python packages like scipy and numpy which would he...
OT: Code Examples
inI'm interested in developing Python-based programs, including an engineering app. ... re-writing from Fortran and C versions. One of the...
I'm interested in developing Python-based programs, including an engineering app. ... re-writing from Fortran and C versions. One of the objectives would to be make reasonable use of the available structure (objects, etc.). So, I'd like to read a couple of good, simple scientific-oriented programs that do that kind of thing. Looking for links, etc. Fred
Note recognition in python? (real time)
inI'm trying to get a signal being recorded from a microphone to be converted to a list of musical notes played. I am new at this, and have...
I'm trying to get a signal being recorded from a microphone to be converted to a list of musical notes played. I am new at this, and have gotten results from getting and audio signal with pymedia or the sound card directly, then using Numpy's FFT I have gotten what I think is a list of signal strengths at various frequencies. It, however, does not seem to be verry accurate. I was wondering...
digital filter design program
inPlease go to http://www.dsptemplates.com/ Why another Digital filter design program? This one is based on being able to use from within python -...
Please go to http://www.dsptemplates.com/ Why another Digital filter design program? This one is based on being able to use from within python - allowing integration with other DSP modules such as gnuradio, scipy, etc. For now, the software is free until the end of March 2007.
sampling a wav file
inhi I am new to this forum and processing wav files. I want take a wav file as input and give an array which contains values of samples of the...
hi I am new to this forum and processing wav files. I want take a wav file as input and give an array which contains values of samples of the audio signal as output according to the sampling frequency. I am in a position where I cannot decipher any open-source softwares, a simple program in c/c++ or python will help me. Thanks in anticiaption
Audio synthesis problem
inHi, I would like to generate an audio clip with a varying frequency. A few attempts using either matlab/octave or Python code have made...
Hi, I would like to generate an audio clip with a varying frequency. A few attempts using either matlab/octave or Python code have made "interesting" sounds but not what I'm looking for yet. The sound I want will have an initial frequency F0 which will shift (interpolate) to a frequency F1 midway through the clip, and remain at F1 until the end. For example, in a two-second clip the fr...
FFT algorithm for a logarithmically-sampled time series
inHello, is there a C/C++, Fortran, or Python library for calculating a Fourier Transform of a logarithmically-binned times series?...
Hello, is there a C/C++, Fortran, or Python library for calculating a Fourier Transform of a logarithmically-binned times series? Unfortunately FFTW C-library is only good for uniformly-spaced time series. Thank you! ~Andrei.
sourceforge group looking for help (csound)
inhttps://sourceforge.net/projects/dex-tracker I am looking for help with processing text files for csound using python. I have a list of...
https://sourceforge.net/projects/dex-tracker I am looking for help with processing text files for csound using python. I have a list of sugested routines for a reusable library and replies can be posted here http://groups.google.com/group/dexrow-software-and-programming-group?lnk=oa&hl=en
horrible C indexing
inAm I the only person who's noticed that C's zero-based indexing is nothing short of...well...horrible? And it doesn't end there: C has been...
Am I the only person who's noticed that C's zero-based indexing is nothing short of...well...horrible? And it doesn't end there: C has been so influential that its insanity has spread to tons of other languages: C++, Java, C#, Python, Perl--heck, even LISP. Am I the only one here who's suffered a needless off-by-one bug as a result of C's horrible zero-based indexing? Let's see a show...
GNU vs. VisualDSP++ for Blackfin/SHARC; AD's ICE
inHi folks- I'll be working on a DSP project in a few months, as someone with significant 8-bit microcontroller experience, and lots of...
Hi folks- I'll be working on a DSP project in a few months, as someone with significant 8-bit microcontroller experience, and lots of signal processing experience in software (C, Fortran, Python) but none on hardware DSP. The two applications involve audio processing; one of them will be portable. Blackfin is the platform I'm currently leaning toward. I see that AD currently has Bla...
csound question
I am putting together a csound library in python and I am having trouble getting this to work def playcsdfile(self): dlg =...
I am putting together a csound library in python and I am having trouble getting this to work def playcsdfile(self): dlg = wx.FileDialog(self,"play csd file", ".", "", "*.csd", wx.OPEN) try: if dlg.ShowModal() == wx.ID_OK: filename = dlg.GetPath() # Your code csound.load(filename) cs...
ossaudiodev full duplex
inI'm messing around with trying to record sound reflections off of various objects at different frequencies. I'm using python 2.4 on Fedora Core...
I'm messing around with trying to record sound reflections off of various objects at different frequencies. I'm using python 2.4 on Fedora Core 3 and I have an SBLive card. Basically, I want to send some samples through a speaker and then record from an input source (the line input on the sound card which I have the output of a mixer going into and a mic plugged into the mixer). So I want to...
I am working on a new DSP textbook using Python. Comments are welcome!
inI am developing a textbook for a computational (as opposed to mathematical) approach to DSP, with emphasis on applications (as opposed to...
I am developing a textbook for a computational (as opposed to mathematical) approach to DSP, with emphasis on applications (as opposed to theory). I have a draft of the first 8 chapters, working on two more. I am publishing excepts and the supporting IPython notebooks in my blog, here: http://thinkdsp.blogspot.com/2015/01/january-is-dsp-month.html Of if you want to go straight to the book...
pkaudio/pksampler release
inI've released the pksampler and pkaudio packages. PKAudio is an audio lib/daemon that makes asynchronous communication with a realtime audio...
I've released the pksampler and pkaudio packages. PKAudio is an audio lib/daemon that makes asynchronous communication with a realtime audio engine from high-level languages like python easy. It is incredibly simple to write extension modules (subclass, implement two simple methods, link with executable), and is a very nice place to start for someone looking to get right to the importa...
Digital filter woes
inI'm trying to design an LP IIR digital filter but not having much luck. The bandwidth of my filter is too low. The filter specifications are:...
I'm trying to design an LP IIR digital filter but not having much luck. The bandwidth of my filter is too low. The filter specifications are: pass, stop and sampling frequencies 4.8, 8.5 and 30 KHz respectively; maximum pass band ripple 0.5 dB and minimum stop band attenuation 30 dB; filter type Bessel. I obtained the poles and zeros with the Python Scipy function iirdesign. There are seven p...