Preparing a new play it slowly release

Programming applications for making music on Linux.

Moderators: MattKingUSA, khz

Post Reply
User avatar
29a
Established Member
Posts: 4
Joined: Thu Jun 24, 2010 8:28 pm

Preparing a new play it slowly release

Post by 29a »

Hi Guys,

I'm currently preparing a new release of my application play it slowly.
Play it slowly is a software to play back audio files at a different speed or pitch. You can find out more about it here:
http://29a.ch/playitslowly/

The most recent sourcecode is on github:
http://github.com/jwagner/playitslowly

Can you think of any feature that you'd like to see in the next release? And more importantly does the git version work for you?

Thanks,
Jonas
User avatar
raboof
Established Member
Posts: 1865
Joined: Tue Apr 08, 2008 11:58 am
Location: Deventer, NL
Has thanked: 52 times
Been thanked: 80 times
Contact:

Re: Preparing a new play it slowly release

Post by raboof »

On debian, i had to install 'python-simplejson' first.

Seems to be fully functional. When i manipulate the 'speed' while playing, the 'position' slider also moves - that doesn't seem right: I'd say it should change speed but not location.

As for features, some things I could dream up:
- toggle between play/pause with the spacebar (even if the focus is on some other element)
- allow controlling the transport from other application (either through midi or jack transport)
- allow placing and jumping to markers and loop points (beyond the existing start/end positions)
User avatar
29a
Established Member
Posts: 4
Joined: Thu Jun 24, 2010 8:28 pm

Re: Preparing a new play it slowly release

Post by 29a »

Hi Raboof,

Thanks for the feedback. The thing with the speed and the position slider is as far as I know a problem of gstreamer. It seems to report wrong position values when the speed changes during playback. I found a hack to work arround this but it introduces stuttering in return. I'll try to find a better solution tomorrow. I tried to find a way to get notified about the jack 'playback' events, but I couldn't find any API for it.

Thanks again,
Jonas
Pablo
Established Member
Posts: 1274
Joined: Thu Apr 17, 2008 9:57 pm
Been thanked: 3 times

Re: Preparing a new play it slowly release

Post by Pablo »

Nice app!

I have reinstalled it, from the git version. It works.

I have tried changing speed and location doesn't change. It does change the location slider position, to match the new lenght of the song. I don't see why this is not correct.

alt + p and alt + e (play and rewind according to the README) don't work here.

This app is simple and effective. I like it. It plays through jack, stable and OOTB.

Thank you very much!

Pablo
User avatar
raboof
Established Member
Posts: 1865
Joined: Tue Apr 08, 2008 11:58 am
Location: Deventer, NL
Has thanked: 52 times
Been thanked: 80 times
Contact:

Re: Preparing a new play it slowly release

Post by raboof »

29a wrote:I tried to find a way to get notified about the jack 'playback' events, but I couldn't find any API for it.
The API for this is called the 'JACK Transport' API, and it looks like pyjack supports it.
Pablo wrote:I have tried changing speed and location doesn't change. It does change the location slider position, to match the new lenght of the song. I don't see why this is not correct.
If you're at the 30th second of a 86-second song, and you double the tempo, then you're at the 15th second of a 43-second song - the location slider location should not change (30/86 = 15/43).
Pablo
Established Member
Posts: 1274
Joined: Thu Apr 17, 2008 9:57 pm
Been thanked: 3 times

Re: Preparing a new play it slowly release

Post by Pablo »

If you're at the 30th second of a 86-second song, and you double the tempo, then you're at the 15th second of a 43-second song - the location slider location should not change (30/86 = 15/43).
Yes, you are right.
User avatar
29a
Established Member
Posts: 4
Joined: Thu Jun 24, 2010 8:28 pm

Re: Preparing a new play it slowly release

Post by 29a »

Ok I have improved the workaround a bit more so it's now basically ok, but the stuttering is still a bit annoying.

Regarding simplejson, you need it only when you are still using python 2.5 almost two years after 2.6 was released this is also stated in the manual.

Pablo, it's weird that the shortcuts aren't working for you. Are the P on the Play button and the e on rEwind marked with an undersore? Are you using gnome or kde?

Regarding the jack transport api, I consider this for another release. I would surely be useful for keeping play it slowly in sync with ardour or hydrogen, but it needs some thought on it. Just using pyjack probably won't work well together with gstreamer.

Thanks again,
Jonas
Post Reply