INDIAN MUSIC FORUM ARCHIVES: Tabla Forum: Mnemonic bol phrase variation generator

 

Author Message
aanaddha
Mnemonic bol phrase variation generator Dec 19, 2003 04:06 p.m.


Can anyone show me (an example of ) how to write this program using bol phrases? Does it make sense to any of you programmers?

10 input "Number of words: ", num
20 for i = 1 to num : print "word ",i,":"; : input a$(i) : next i : print
30 rem Generate four-word phrases
30 for i = 1 to num
40 for j = 1 to num
50 for k = 1 to num
60 for l = 1 to num
70 print a$(i), " ", a$(j), " ", a$(k), " ", a$(l)
80 next l
90 next k
100 next j
110 next i

Thanks,
Aanaddha

aanaddha
Re:Mnemonic bol phrase variation generator Dec 20, 2003 10:30 a.m.


Does anyone reading here know how to program BASIC that I could email directly?
Thanks!,
Aanaddha
Vikash
Re:Mnemonic bol phrase variation generator Dec 20, 2003 02:09 p.m.


Well I haven't used that dinosaur langauge for a while :-). I can't exactly see what you're after, but by the looks of it your code will output every quad variation of your input.

Thus entering: Dha Ge Dhin Na TiR KiT
will result in 4^6 combinations (4096):
Dha Dha Dha Dha
Ge Dha Dha Dha
Dhin Dha Dha Dha
Na Dha Dha Dha
TiR Dha Dha Dha
KiT Dha Dha Dha

Dha Ge Dha Dha
Ge Ge Dha Dha
Dhin Ge Dha Dha
Na Ge Dha Dha
TiR Ge Dha Dha
KiT Ge Dha Dha

and so on until. .
Dha KiT KiT KiT
Ge KiT KiT KiT
Dhin KiT KiT KiT
Na KiT KiT KiT
TiR KiT KiT KiT
KiT KiT KiT KiT

Is this what you're after?

If you can explain what you want to achieve and what your input and output should be as an example, I will be able to give some better help.

aanaddha
Re:Mnemonic bol phrase variation generator Dec 20, 2003 10:58 p.m.


Many thanks, Vikash, I think you're on the right track. My programming and math skills are virtually useless.

What I'm looking for as clearly as I can explain are all of the combinations of the integers "0" through "4" in sets of four.

"0" = a dropout or pause, and the whole numbers "1", "2", "3", "4" = a bol or bol phrase.

(e.g. 1,0,0,0 ; 1,1,0,0; . . . 1,2,3,0; 1,2,3,1; 1,2,3,2; . . 4,3,2,0; 4,3,2,1; 4,3,2,2 . . etc.

I'm aware that the combinations total somewhere in the many thousands. If I could find a program or someone who would crunch the numbers for me I could possibly get a read-out to copy and paste to a word program and replace the integers with bols or bol phrases and thus have all of the potential variations of any given composition in fours, eights, twelves, etc.
I am also aware that the largest percentage of those variations would be either un-playable or un-interesting but just for fun I'd like to see how many variations of all of the thousands would be worth adopting as potential repertoire.
I apologize to those of you who think this is totally geeky stuff, but just for the moment I must indulge in this one obsession of mine.

Aanaddha

Vikash
Re:Mnemonic bol phrase variation generator Dec 20, 2003 11:28 p.m.


The combinations can easily add up to well beyond the thousands, and I don't know if this output is going to be of any practical use either. But it could be an interesting project if some further heuristics were applied; it may then be possible to narrow the output to playable taals.

Anyway, since my interest is sparked, I've knocked up this web page that produces the combinations: http://www.purplecoral.com/audio/tablabols/?submit_action=&word_length=4&bhols=Dha%2CGe%2CTiT

aanaddha
Re:Mnemonic bol phrase variation generator Dec 21, 2003 10:02 a.m.


Vikash,
THAT IS SO COOL! That is precisely what I was looking for. I can't believe you did that SO FAST and posted it on an interactive web page! You're the man!
I'm going to post a partial list of the first of the combinations I tried - a series of laggi'.
Please let me know if there's anything I can do for you.
Sincerely,
Aanaddha
Bill Roseberry
aanaddha@cox.net

1 dhati dhati dhati dhati
2 ghena dhati dhati dhati
3 tete dhati dhati dhati
4 **** dhati dhati dhati
5 dhati ghena dhati dhati
6 ghena ghena dhati dhati
7 tete ghena dhati dhati
8 **** ghena dhati dhati
9 dhati tete dhati dhati
10 ghena tete dhati dhati
11 tete tete dhati dhati
12 **** tete dhati dhati
13 dhati **** dhati dhati
14 ghena **** dhati dhati
15 tete **** dhati dhati
16 **** **** dhati dhati
17 dhati dhati ghena dhati
18 ghena dhati ghena dhati
19 tete dhati ghena dhati
20 **** dhati ghena dhati
21 dhati ghena ghena dhati
22 ghena ghena ghena dhati
23 tete ghena ghena dhati
24 **** ghena ghena dhati
25 dhati tete ghena dhati
26 ghena tete ghena dhati
27 tete tete ghena dhati
28 **** tete ghena dhati
29 dhati **** ghena dhati
30 ghena **** ghena dhati
31 tete **** ghena dhati
32 **** **** ghena dhati
33 dhati dhati tete dhati
34 ghena dhati tete dhati
35 tete dhati tete dhati
36 **** dhati tete dhati
37 dhati ghena tete dhati
38 ghena ghena tete dhati
39 tete ghena tete dhati
40 **** ghena tete dhati
41 dhati tete tete dhati
42 ghena tete tete dhati
43 tete tete tete dhati
44 **** tete tete dhati
45 dhati **** tete dhati
46 ghena **** tete dhati
47 tete **** tete dhati
48 **** **** tete dhati
49 dhati dhati **** dhati
50 ghena dhati **** dhati
51 . . . .


Vikash (Dec 20, 2003 11:28 p.m.):
The combinations can easily add up to well beyond the thousands, and I don't know if this output is going to be of any practical use either. But it could be an interesting project if some further heuristics were applied; it may then be possible to narrow the output to playable taals.

Anyway, since my interest is sparked, I've knocked up this web page that produces the combinations: http://www.purplecoral.com/audio/tablabols/?submit_action=&word_length=4&bhols=Dha,Ge,TiT[/quote]

Vikash
Re:Mnemonic bol phrase variation generator Dec 21, 2003 02:28 p.m.


I'm glad you find it useful.
aanaddha
Re:Mnemonic bol phrase variation generator Dec 21, 2003 10:40 p.m.



Vikash (Dec 21, 2003 02:28 p.m.):
I'm glad you find it useful.

Vikashji,
A friend of mine says it was a program similiar to this that helped piece together the human genome. Who knows, maybe I'll uncover the perfect composition.
In the meantime I'm having lots of fun!
Thanks again,
p.s. please let me know before you decide to take it offline. Maybe I could find someone who'd be willing to host it if you need the space for something else
Bill

[Previous] [Up] [Next]

SPONSORED LINKS