OK...
First, I must say, I am somewhat musically challenged as far as reading & playing music. I just listen to the stuff
Secondly, I'm also python-challenged.
Third, ... I forget what was third..
Anyhow, here's what I found, which:
A) I recommend someone who codes in python verify what I have found. I may not be in the exact right spot.
B) You will need to re/compile the software for the change(s) to take place.
C) read the docs too, particularly
HERE where it explains how tempo is defined (and to me, implies that it can be set somehow by the user, though it may operate globally on EVERYTHING..) as follows:
Quote:
Tempo
The tempo of music is entered as bpm/beatlen. The following example will set the tempo to 120 beats per minute, each beat being a quarter note.
tempo = 120/4
|
D) My advice here comes with no warranty
so see (A) above.
What I propose:
1) In the extracted sourcecode archive, locate and enter the folder called
/src and locate the file called
lessonfile.py and open it in a text editor.
2) Locate line 161. This is where the default (???) tempo is set at
60 bpm, duration is set to
4 (1/4 note if I understand right) so if you wanted to change the initial setting, I would cut the 60 in half for a 50% reduction.
3) Go to line 371 of the file. Here is the 'play_slowly' section, where 'play_slowly' takes the tempo and halves it by dividing by 2. If you wanted this to be half again as slow, I would change that to divide by 4 instead.
Careful: halving BOTH the default by 50% AND the 'slowly' tempo by another 50% will give you a REALLY slow tempo when 'play_slowly' is executed.
Having made the above adjustment(s), you would need now to build the project, to produce the executable binary that is the finished application. Now, I repeat, I have no idea about python, so while the documentation tells me to to the usual './configure' then 'make' then 'make install' I don't actually see a configure script in there. The package might need to be autoconf'd first, to generate a configure script..
EDIT: Yes, run the command 'autoconf' before running ./configure
At this moment, I am going to request that this thread be moved to "Programming" and that the title be edited to include the word "Python" so that some python programmers might be able to give further guidance, and/or tell me I'm totally out in left field
Also, if I can, I will try to compile this myself, if I can figure out how. It has a lot of GNOME dependencies, and I don't run GNOME, so I may not be able to compile it anyways.
Best of luck; I hope this helps you. I will now request a thread move & title adjustment.
Sasha