Commit Graph

11 Commits

Author SHA1 Message Date
Roger Dannenberg ff60f598f3 Fixes 2 bugs in Nyquist: (1) Bug 2706 probably already has a workaround in place, but the original code called snd-samples with ny:all for the maximum length to retrieve, and now that ny:all is bigger than 32-bits, the value was getting truncated. This change fixes legacy code to be 64-bit-aware. (2) allows sounds to be accessed beyond their stop time even when they stop in the middle of a block of samples. For example, this Nyquist prompt no longer generates garbage or crashes:
(setf idur 5000)
(setf impulse (extract-abs 0 (/ idur *sound-srate*) (cue *track*)))
(mult 0.01 (convolve *track* impulse))
2021-03-28 22:55:36 -04:00
James Crook 7f1705ee71 Fix build (long vs int64_t issues) 2021-03-27 21:55:14 +00:00
Roger Dannenberg cd79f1099b Changes to allegro fix a bug where property lists are not properly saved/restored for Undo/Redo. Other changes make this code safer and more consistent between 32-bit and 64-bit architectures. 2021-03-27 13:21:01 -04:00
lllucius 0933da5b60 Additional changes required to get build working under VS2013.
I'll send the changes to libscorealign and portsmf upstream.
2014-10-06 05:55:35 +00:00
lllucius a30f9e913b Update portsmf to SVN r227. 2013-10-31 07:23:14 +00:00
rbdannenberg 2fd5555378 Fixed playback/redraw interactions (redraw was converting from seconds to beats while player was trying to read seconds in another thread). Added compile-time option make channel select be the down position. Fixed problem with MIDI track mute to eliminate hung notes. 2010-10-07 21:36:39 +00:00
rbdannenberg 6fa857c3ae Fixed MIDI playback on Linux. Still need configure files for libscorealign and portmidi. (I tweaked makefiles by hand to build and test with EXPERIMENTAL_MIDI_OUT and EXPERIMENTAL_SCOREALIGN.) Also, I updated portmidi files, including some bug fixes from the portmidi project. 2010-10-01 17:59:18 +00:00
rbdannenberg 576dfe6653 Restore Audacity xcode project (undoing accidentally committed OS X 10.6 changes in revision 10695). Fix some midi playback problems. 2010-10-01 15:26:46 +00:00
rbdannenberg e76bfa39ef Fix compiler warnings (string constant to char *) from allegro.h. Also implements play at speed for MIDI, but some MIDI playback problems remain. 2010-09-27 05:51:41 +00:00
rbdannenberg a1f0e5ed5b Extensive changes to improve NoteTrack display and (some) editing, NoteTrack playback via MIDI, and Midi-to-Audio alignment. 2010-09-18 21:02:36 +00:00
ra 58caf78a86 Move library tree where it belongs 2010-01-24 09:19:39 +00:00