Commit Graph

65 Commits

Author SHA1 Message Date
5ed0cc61f5 MSVC projectfiles
* quick update for audaspace
2010-02-08 19:26:13 +00:00
a53027eb05 2.5 Audio:
- Using libsamplerate again, doesn't seem to be the bug source.
- Changed sequencer audio to work with 2 channels and 44.1 kHz fixed.
2010-02-08 15:37:38 +00:00
6c8e3e303d 2.5 Audio:
- Python script to crossfade two sound strips in the sequencer
- Fix for the libsamplerate code producing awful audio when resampling sequencer strips
- Changed default resampler to a linear one (as temporary workaround for a bug that seems to be in the samplerate code)
- Fix for the OpenAL device to return a more accurate playback position
2010-02-08 14:43:44 +00:00
ec7df03c86 Warning fixes, one actual bug found in sequencer sound wave drawing. Also
changed some malloc to MEM_mallocN while trying to track down a memory leak.
2010-02-08 13:55:31 +00:00
4c318539b2 NULL check if file cant be read. 2010-02-08 12:37:09 +00:00
9827a3e9ea 2.5 Audio:
- recode of the whole sequencer audio handling
- encode audio flag removed, instead you choose None as audio codec, added None for video codec too
- ffmpeg formats/codecs: enabled: theora, ogg, vorbis; added: matroska, flac (not working, who can fix?), mp3, wav
- sequencer wave drawing
- volume animation (now also working when mixing down to a file!)
- made sequencer strip position and length values unanimatable
2010-02-07 23:41:17 +00:00
9396bb2da9 - AIX ifdef's so windows works, cant test but this seems the most used define. might need to add to buildsystem config.
- transform default scale was too hight, calls to random were inconsistant. (fault of own modif's)
- cmake openal include was added twice on recent commit.
2010-01-19 15:57:02 +00:00
cd068e5530 Removed workaround from weekend. See mailing list for details. 2010-01-18 20:11:31 +00:00
20fb87ac32 cmake was missing openal include path 2010-01-18 17:14:54 +00:00
0f55410e3d Short term workaround for OpenAL + pulse bugs on ubuntu. Not sure if it works, people have to test and report please, I don't have ubuntu. Longer term we hope for an update of the ubuntu packages to fix the problem. 2010-01-16 22:12:19 +00:00
f8489ea1e6 Attempt to fix build error on Windows 2010-01-07 03:13:26 +00:00
89033a6819 MSVC 9 projectfiles
* update for audaspace
* added object_bake.c
2010-01-05 19:22:48 +00:00
637873deb0 Added another three effects that you can use with the Sound to F-Curve modifier, have fun! 2010-01-01 18:45:21 +00:00
c58f2dfc9d Another fix for the new year's commit, fixing the linear resampler (and such the error that I though was in the envelope!). 2010-01-01 14:18:43 +00:00
0b673d45e5 Small fixes for some float literals. 2010-01-01 11:55:56 +00:00
dff4c87f84 Fix for plattforms that don't have M_PI in the cmath include. 2010-01-01 11:40:48 +00:00
174eccf078 Huge new year audio commit!
* Refactored the whole audaspace library to use float as sample format over all readers.
* Added new Readers like the linear resampler, envelope, lowpass, highpass and butterworth.
* Note: The butterworth filter isn't working correctly, some bug in there... Maybe also true for the envelope.
* Added a sound to f-curve operator that behaves mostly like the soundtracker script of technoestupido.
2010-01-01 05:09:30 +00:00
eaa653b759 Makefiles: fix audaspace include paths 2009-12-29 09:56:11 +00:00
42154ad226 Add audaspace/fftw to Makefile system. 2009-12-28 23:40:20 +00:00
8c6ac076ed Update MSVC project files 2009-12-28 22:16:13 +00:00
ed4029d07a Sound:
* Fixed minor errors in AUD_BufferReader.cpp and AUD_LoopFactory.h
* Added a first version of a bandpass filter using fftw3
2009-12-28 10:15:35 +00:00
4b8bc301c6 SVN maintenance. 2009-12-24 21:15:27 +00:00
1d224ad692 Added rectifying sound effect (will be used for sound -> f-curve later). 2009-12-24 14:58:11 +00:00
fcaad00bda Some fixes to get blender compiling on solaris.
Kent
2009-12-17 17:42:26 +00:00
8fdaa263c0 MSVC 9 projectfiles
* Added GLEW_STATIC where necessary to make Blender compile again
* First attempt at compiling blenderplayer again - compiles, but doesn't link yet 
* removed deprecated SND_ functions from blenderplayer
2009-11-22 13:15:36 +00:00
92ee7ca946 remove warnings, print errors if bpy_ops.py or bpy_sys.py fail to import 2009-09-28 05:02:09 +00:00
69995bb1b3 Sound:
* Threading buxfix letting MSVC Debug builds crash because of corrupted std::lists
* Adopted two property ranges
* Changed the mixdown volume to set the device volume instead of the volume of every sound.

I also removed the private redefinition of m_logicmgr in SCA_BasicEventManager, which was already defined protected in the parent class SCA_EventManager and thus caused a bug letting GE crash here because of an uninitialized pointer.
2009-09-26 20:03:01 +00:00
1483fafd13 Merge of itasc branch. Project files, scons and cmake should be working. Makefile updated but not tested. Comes with Eigen2 2.0.6 C++ matrix library. 2009-09-24 21:22:24 +00:00
1185be4355 Sound:
* Moved AudioData back to Scene
* Updated RNA stuff
* Added mixdown volume
2009-09-20 14:00:00 +00:00
Nathan Letwory
d1314c3db5 * we currently can have *four* different sound devices, instead of 3. 2009-09-10 23:46:42 +00:00
Nathan Letwory
3d64d65ad9 * clean out some warnings (unrefenced vars mainly) 2009-09-06 14:32:02 +00:00
0a3694cd6e white space commit. (2 spaces -> tab).
Was annoying to use a different editor for cmake only.
theeth says this should be ok with gsoc and merges from branches.
2009-09-06 01:51:23 +00:00
Nathan Letwory
9216efcba2 == SCons ==
* bring back 'player' libtype, after investigation with ideasman.
  scons/mingw works nicely, for some reason msvc fails to link still, will look further into it.
2009-09-05 01:58:02 +00:00
af85ee01f8 Update MSVC project files. 2009-08-28 13:42:58 +00:00
adcb21b1f4 Close the old audio device before and not after opening the new. 2009-08-26 10:02:17 +00:00
cfcd355c27 Update Makefile and missing include on voxeldata.c
Note that With libsndfile also need libflac and libogg here (Linux), right
now I just add this two librarys to the NAN_SNDFILELIBS, but maybe
it's better split this ? (NAN_FLAC/NAN_OGG)
2009-08-25 21:25:41 +00:00
7288bacad9 blender 2.5 MSVC projectfiles
* update for volume rendering
* update for audaspace jack
* update for rna: animation_api.c, scene_api.c
2009-08-25 17:05:04 +00:00
4ba6dbce76 Replaced G.sce by Main.name in sound.c.
I hoped for it to resolve the bug of loading sounds with relative paths didn't work, but Main.name isn't set before the sounds are loaded, so the bug resists!
Someone who is into file loading should please fix this!
2009-08-25 15:30:04 +00:00
Nathan Letwory
4c8d32b4bf == SCons ==
* Add sndfile support (False by default).
  Note: for this to work, make sure that FFMPEG-support is disabled.
2009-08-25 10:56:01 +00:00
98e9ddbf5b Bugfixing. 2009-08-22 16:54:18 +00:00
977a50ad77 2.5 MSVC projectfiles maintenance
* AUD_filefactory added.
* imbuf added to RNA include dirs.
2009-08-22 08:35:39 +00:00
9202aaa2dc Update Makefiles for audaspace.
This add support for: sdl, ffmpeg, openal, jack and sndfile.
We have new options:
	WITH_OPENAL, default false
	WITH_JACK, default false
	WITH_SNDFILE, default false

and with this:
	NAN_OPENAL, default /usr

	NAN_JACK, default /usr
	NAN_JACKCFLAGS, default -I$(NAN_JACK)/include/jack
	NAN_JACKLIBS, default $(NAN_JACK)/lib/libjack.a

	NAN_SNDFILE, default /usr
	NAN_SNDFILECFLAGS, default -I$(NAN_SNDFILE)/include
	NAN_SNDFILELIBS, default $(NAN_SNDFILE)/lib/libsndfile.

Also add two new option on source/Makefile for jack and sndfile libs,
but only for linux, so let me know for other OS.
2009-08-21 22:56:26 +00:00
d82935a327 SVN maintenance. 2009-08-21 22:06:19 +00:00
f248b25152 Audio file loading backend libsndfile! 2009-08-21 19:39:28 +00:00
6dbadb23ce update MSVC project files. 2009-08-20 09:18:55 +00:00
Nathan Letwory
1e0fd0d4c1 == SCons ==
* add jack support for audio system.
  Note that for OSX jack support is still off by default, since
  I'm not sure about what goes where. OSX maintainers, please check and fix.
2009-08-17 01:16:50 +00:00
fcce333a08 Add jack subdir makefile and standarize audaspace sub-lib names.
Jack support not enabled for now.
2009-08-16 22:48:30 +00:00
6a6d304033 SVN maintenance. 2009-08-16 20:53:10 +00:00
1ee26d45b5 Added jack audio support, building with cmake only currently, feel free to add scons and maybe cmake. 2009-08-16 14:53:11 +00:00
591e5c18a4 2.5
AUD library Makefile missed ranlib for OSX.
2009-08-16 11:19:22 +00:00