Log in

View Full Version : More audio support.


sh0dan
21st November 2003, 16:11
AviSynth has been updated again today with something more for you to play with. Two new audio features. The one of them mostly for fun:

- Added SSRC resampling. Usage: SSRC(int samplerate). Note that it only downsamples. Audio is always converted to float.
- Added Tone(float length, float frequency, int samplerate, int channels, string type). This will generate sound.
- - Length is in seconds. Type can be "Silence", "Sine" (default), "Noise", "Square", "Triangle" or "Sawtooth".
- - Defaults are Tone(10.0, 440, 48000, 2, "sine").
- Fixed Unalignedsplice if only audio was present.
- Fixed Trim crash, if only audio was present (throws an error).
- Optimization: MMX in Dissolve.


Second link in my signature as usual.

Guest
21st November 2003, 22:05
loop() still doesn't work for me...

DirectShowSource("test.mpg")
Loop(2)

Result (in WMP): no audio/video after it is played once

DirectShowSource("test.mp3")
Loop(2)

Result: Evaluate: Unrecognized exception!

Cheers,