edit: oops, there's already one in the AUR. But please look at mine, since yours doesn't let pacman handle the git checkout.
]]>I also implemented a phase vocoder during the last couple of days. It's not really integrated in the user interface, but if you want to have a look at it, you can get the phasevocoder branch. If you build the src tree your sound should be quite a bit slower... But it takes a while to compute it. I'll be working on it.
]]>i have all the dependencies install but i get this on trying to compile it:
g++ -g -std=c++0x -c main.cpp
main.cpp: In function ‘int main(int, char**)’:
main.cpp:19:24: error: no matching function for call to ‘SoundStream::SoundStream(std::string&)’
SoundStream song(file);
^
main.cpp:19:24: note: candidates are:
In file included from main.cpp:1:0:
sound_stream.h:15:7: note: constexpr SoundStream::SoundStream()
class SoundStream {
^
sound_stream.h:15:7: note: candidate expects 0 arguments, 1 provided
sound_stream.h:15:7: note: constexpr SoundStream::SoundStream(const SoundStream&)
sound_stream.h:15:7: note: no known conversion for argument 1 from ‘std::string {aka std::basic_string<char>}’ to ‘const SoundStream&’
main.cpp:19:15: error: cannot declare variable ‘song’ to be of abstract type ‘SoundStream’
SoundStream song(file);
^
In file included from main.cpp:1:0:
sound_stream.h:15:7: note: because the following virtual functions are pure within ‘SoundStream’:
class SoundStream {
^
sound_stream.h:17:19: note: virtual pos_t SoundStream::get_pos()
virtual pos_t get_pos() = 0;
^
sound_stream.h:18:18: note: virtual void SoundStream::set_pos(pos_t)
virtual void set_pos(pos_t ms) = 0;
^
sound_stream.h:19:18: note: virtual void SoundStream::set_loop(bool)
virtual void set_loop(bool loop) = 0;
^
sound_stream.h:20:23: note: virtual uint16_t* SoundStream::get_next_frame(uint&)
virtual uint16_t *get_next_frame(uint& frame_size) = 0;
^
sound_stream.h:21:18: note: virtual uint SoundStream::get_channels()
virtual uint get_channels() = 0;
^
sound_stream.h:22:28: note: virtual AVSampleFormat SoundStream::get_sample_fmt()
virtual AVSampleFormat get_sample_fmt() = 0;
^
sound_stream.h:23:18: note: virtual uint SoundStream::get_sample_rate()
virtual uint get_sample_rate() = 0;
^
sound_stream.h:24:19: note: virtual pos_t SoundStream::get_duration()
virtual pos_t get_duration() = 0;
^
sound_stream.h:25:24: note: virtual metadata_t SoundStream::get_metadata()
virtual metadata_t get_metadata() = 0;
^
make: *** [main.o] Error 1
not sure what the issue is.
]]>Just wanted to pay my props.
]]>Any chance of a PKGBUILD?
]]>I wrote a simple little tool for playing along to your favorite music: playalong. It's a simple music player which can set a A-B repeat very precisely (i.e. 10 ms steps). That comes very handy if you want to loop a specific beat from your favorite song you want to play guitar/drums/the flute/whatever to. So far it has a very simplistic ncurses interface. Maybe I start some real GUI later.
It's available under github: http://github.com/hildensia/playalong
Future features should include adjusting the speed of the song, without affecting the pitch and configurable key maps. I just wrote it during the last two days, so bugs might sit here and there. Feel free to write issue reports on github.
]]>