SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

This is Ultra Power Effects Max II.

This is to put some effects on your voice when you sing with a mike.
Needed for my Metal band, to help me doing crazy things with my voice. It's there to fit my needs, so maybe you won't like it. Anyway, i release it.

Enjoy making music. Make it free, it's better. (Free music is like free software, it has no copyright.)

How to compile ?

Just do "make", should be alright.
You should edit config.h to fit your needs. The settings are there for me, maybe you want different ones.

How to use ?

You can change the parameters at the starting. Run the program with "-h" to see how to do.

All should be undestandable easilly, except number of fragments and fragment size. Those parameters control the buffers that the kernel uses to deal with sound. The more little is the size of the buffers, the more it looks like realtime, but the more you can have clicks on a slow machine (works fine in 44100Hz 16 bits mono on my pentium 200Mhz mmx with the minimal size of 128 and 5 buffers on a 2.2.1 kernel with oss). One of the main parameter to change too if you have a slow machine is the frequence. The more little, the less time it requires, but the less realtime it looks. (Not too much realtime can be fun too, if you put the output sound a little loud, you'll get echos for free !)

Oh yeah, i forgot to say that you need an audio card with full duplex possibilities, because the program reads from it and writes back to it, then reads again, and so on.

You can dump stuff to a file while playing. Beware, it can become a very big file if you play a long time. It is saved with no format, it's raw data. You need a program to convert it to wav or what you want.

When you are bored of it, you press ESC and you should be back to your shell.

The main pupose of this program is the effects, explained in the next section.

The effects.

There are for now 8 effects. You select them by pressing 1...8.

1 : loud saturation. Beware, it is very loud. Saturation means that all

positive samples go to the maximum (32767 in 16b, 127 in 8b) and all negative ones go to the minimum (-32768 in 16b and -128 in 8b). Beware, sound devices ("enceintes" in french) don't like it, you can destroy them, a friend of mine said to me.
2 : saturation. Same as 1, but less loud. 3 : canal+ effect. canal+ is a tv here in France that crypts its emission.

Programs run here and there that decrypt it. This program comes in fact from the using of one of them, nagraudio (http://asterix.uc3m.es/nagraudio), where i saw this full duplex stuff, that gave me the idea to code this. So, this effect crypt the sound like canal+ (well, almost. Works fine with a frequence of 26500, other values may be wrong, 44100 is). 4 : frequence division by 8 (ie a sample is repeated 8 times, destroying

the 7 following ones and so on).
5 : same as 4, but 16 times.
6 : adaptative saturation. It will take the highest and lowest sample of the

buffer and put all samples to those values (a positive ones get to the highest, and the negative ones get to the lowest). 7 : adaptative saturation with mimimal "seuil". Same as 6, but the maximum

can't be as little as it wants (ie if just noise on the mike, should be a very small max, but if this max gets to small, it's given an upper value).
8 : adaptative saturation with maximal "seuil". Same as 7, but in the

other side. Max xan't be too high (too high values are much too high when you cry a lot like i do).

2 and 8 are the ones i prefer.

TODO

Well, other transformations, like pass band filters and the like. And an interface in X or something.
Well, it fits my needs, so i let it so for now.

Credits.

I did it all, based on nagraudio for full duplex stuff (http://asterix.uc3m.es/nagraudio). (This is a sound decoder for some tv crypted channels.)

Copyright.

Kill copyrights, kill copylefts, free software does want its freedom. So, it's total free software, or public domain if you prefer.

---
Sed - sed_sed@my-dejanews.com
May 1999.


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.