hello,
I am writing a audio recording app for linux pdas, of the zaurus sort. I am
running into a problem with switching sampling rates on the target device,
and need some help to find a work around for a buggy driver, which I have no
control over, as it's shipped with the device, and is not a kernel module.
When testing on my x86 desktop, and various audio cards, everything works as
planned.
But when running on the device (arm based processor, tc35143 audio chip - heh
for whatever its worth), when I request a new sampling rate, the
driver/device seems to change, no errors are reported. I can ask the driver
what the rate is and it reports what I requested, but the actual amount of
data received is at the previous rate. I can close the app and get the actual
intended rate.
I have tried doing a fork, in hopes maybe the driver was holding process
information. No joy.
I don't want to have to resample the input, as it seems a waste of cpu, and as
a musician... blasphamy.
Any hints, or suggestions would be welcomed.
thanks,
ljp
--
My cat's a debugger....
Potter, Lorn, "ljp"
core member / Web Administrator
Project OPIE- the Open Palmtop Integrated Environment
http://opie.handhelds.org | http://www.opie.info (german) |
http://www.opie.us
IRC: irc.freenode.net #opie #opie.de
llornkcor(a)handhelds.org
>I will check the effect of sse on my plugins as they are generally less
>ram hungry, but I dont have a gcc3 machine around at the moment.
Just FYI, the redhat gcc3 rpm installs the executable as gcc3 so it
happily coexists with older gcc versions. You just edit the makefile
to use gcc or gcc3.
http://plugin.org.uk/releases/0.3.1/
Includes a fix for a serious problem where two plugins ended up with the
same UID, 0.3.0 users should upgrade.
One new plugin, "chebstortion" a synthetic distortion effect that came out
of the amp modelling discussions. It doesn't really bear any resemblance
to any analogue effect living or dead, but its interesting anyway.
Bugfix to the analogue osc, it now doesn't (shouldn't) distort horribly.
Bugfix to the chorus, it now uses less CPU and its load is constant, so it
will work OK in RT systems.
Now builds on Linux PPC (though still not OSX).
Installs RDF metadata describing the plugins.
Now has freshmeat entry, http://freshmeat.net/projects/swh-plugins/
(someone requested this, sorry, can't remeber who).
- Steve
For a couple of projects I need to be able to find out information about
the sound cards installed on the system, but as I need to run on lots of
different systems I need it to be fairly portable. Before I start
writing something to do it, I figured I'd check to see if there's
anything already in progress that can do the same.
What I need is to be able to get a list of sound cards on the system,
and information about them (like the names), and then to get a list of
the channels each sound card has and information on them (current level,
name (if it has one), if it's a record source etc), and finally to be
able to control the channels, change the level, change if it's the
current record source.
Is there a library that can do this all available anywhere, or will I
have to write it myself? Would it be a useful thing to have in a
library?
iain
--
"The 'developed' nations gave to the 'free market' the status of a god,
sacrificing to it their farmers, farmlands, and communities, their
forests, wetlands and praries, their ecosystems and watersheds. They had
accepted universal pollution and global warming as normal costs of doing
buisness." - Wendell Berry
Hello all!
A new version of RTMix is available at the same old place:
http://meowing.ccm.uc.edu/~ico/
(use html entrance for low-bandwith version -> cpu's -> rtmix download)
New improvements include:
*Fixed networking seg-faults in Qt3
*Finished network code
*Removed all kde-libs dependencies (I overlooked a couple in the
configure script itself, sorry about this)
*Several minor bug-fixes
*Fixed all other known seg-faulting bugs
*Added a couple of networking tutorials
Enjoy!
Ivica Ico Bukvic, composer, multimedia sculptor,
programmer, webmaster & computer consultant
http://meowing.ccm.uc.edu/~ico/
============================
"To be or not to be" - Shakespeare
"To be is to do" - Socrates
"To do is to be" - Sartre
"Do be do be do" - Sinatra
"2b || ! 2b" - ?
"I am" - God
Hi People,
This is the first announcement of Secret Rabbit Code:
http://www.mega-nerd.com/SRC/
Secret Rabbit Code is a library for doing Sample Rate Conversion on
audio. The web page has the full spiel of what it does.
The source code tarball has two demo programs:
sndfile-resample -
A program which can perfrom sample rate conversion on a
given sound file.
varispeed-play -
A program which plays a given sound file in a loop. During
play, the speed of the playback is continuously varied.
Lots of fun on drum loops and full mixes. This currently
runs only on Linux/OSS (probably also ALSA OSS emulation).
Work is being done on ports to MacOSX, Solaris and Win32.
At the moment the rabbit code is known to compile on Linux and
MacOSX. Win32 and Solaris support is coming RealSoonNow (tm).
Enjoy,
Erik
--
+-----------------------------------------------------------+
Erik de Castro Lopo nospam(a)mega-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
Everyone seems to assume that the current system in America is capitalism.
I beg to differ. True capitalism does not involve false advertising,
distribution cartels, or political lobbying for special advantages in the
market. How can you call Microsoft or the RIAA capitalist, when their main
business is interfering with a free market? Some of us would like to see a
*return* to capitalism in this country. - Jim Flynn on Linuxtoday.com