play music via cycle_sound_speed

Everything todo with programming goes HERE.
Post Reply
User avatar
stephanietubesocks
On Lightcycle Grid
Posts: 47
Joined: Sat May 20, 2017 2:59 am
Contact:

play music via cycle_sound_speed

Post by stephanietubesocks »

i had an idea to make a config for bikes to drive at constant speed no acceleration or brake and no change when turned so that all bike engines play same note then it should be possible for a script to send chip tube like music to all players by modifying the cycle_sound_speed

maybe its been done already ?

any help on this would be great

thanks

User avatar
sinewav
Graphic Artist
Posts: 6334
Joined: Wed Jan 23, 2008 3:37 am
Contact:

Re: play music via cycle_sound_speed

Post by sinewav »

stephanietubesocks wrote:maybe its been done already ?
YEP! Three times!

The first time was by player Wik who modified a debug recording to play Mozart. The file is gone, but man was it impressive.

The second time was by player Durf who created a server with "speed zones". I don't remember the quality, but I do remember it working fairly well, but rather imprecise.

The third time was Wik again who created an online tool named AA SoundSpeed Composer. I've never used the tool, but maybe you can try it and post a video or audio clip?

User avatar
stephanietubesocks
On Lightcycle Grid
Posts: 47
Joined: Sat May 20, 2017 2:59 am
Contact:

Re: play music via cycle_sound_speed

Post by stephanietubesocks »

thanks for the info, i will try this :D

Wik
Average Program
Posts: 72
Joined: Tue Aug 10, 2010 1:32 pm

Re: play music via cycle_sound_speed

Post by Wik »

Code: Select all

cycle_accel 0
cycle_brake 0
cycle_rubber_time 0
cycle_sound_speed 1000
cycle_speed 1
cycle_speed_decay_above 9999
cycle_speed_decay_below 9999
cycle_start_speed 1
cycle_turn_speed_factor 1

delay_command +0 cycle_sound_speed 0.25
delay_command +1 cycle_sound_speed 0.19842513149602
delay_command +1.5 cycle_sound_speed 0.16685498177125
delay_command +2 cycle_sound_speed 0.26486577358981
delay_command +2.75 cycle_sound_speed 0.25
delay_command +2.875 cycle_sound_speed 0.22272467953508
delay_command +3 cycle_sound_speed 0.25
delay_command +3.5 cycle_sound_speed 1000
delay_command +4 cycle_sound_speed 0.14865088937533
delay_command +5 cycle_sound_speed 0.16685498177125
delay_command +5.5 cycle_sound_speed 0.125
delay_command +6 cycle_sound_speed 0.16685498177125
delay_command +6.5 cycle_sound_speed 0.18728838460958
delay_command +6.75 cycle_sound_speed 0.19842513149602
delay_command +6.875 cycle_sound_speed 0.18728838460958
delay_command +7 cycle_sound_speed 0.19842513149602
delay_command +7.5 cycle_sound_speed 1000
delay_command +8 cycle_sound_speed 0.29730177875067
delay_command +8.25 cycle_sound_speed 0.26486577358981
delay_command +8.375 cycle_sound_speed 0.25
delay_command +8.5 cycle_sound_speed 0.22272467953508
delay_command +8.625 cycle_sound_speed 0.19842513149602
delay_command +8.75 cycle_sound_speed 0.18728838460958
delay_command +8.875 cycle_sound_speed 0.16685498177125
delay_command +9 cycle_sound_speed 0.14865088937533
delay_command +9.125 cycle_sound_speed 0.16685498177125
delay_command +9.25 cycle_sound_speed 0.18728838460958
delay_command +9.375 cycle_sound_speed 0.19842513149602
delay_command +9.5 cycle_sound_speed 0.22272467953508
delay_command +9.625 cycle_sound_speed 0.25
delay_command +9.75 cycle_sound_speed 0.26486577358981
delay_command +9.875 cycle_sound_speed 0.29730177875067
delay_command +10 cycle_sound_speed 0.3337099635425
delay_command +10.25 cycle_sound_speed 0.29730177875067
delay_command +10.375 cycle_sound_speed 0.26486577358981
delay_command +10.5 cycle_sound_speed 0.25
delay_command +10.625 cycle_sound_speed 0.22272467953508
delay_command +10.75 cycle_sound_speed 0.19842513149602
delay_command +10.875 cycle_sound_speed 0.18728838460958
delay_command +11 cycle_sound_speed 0.16685498177125
delay_command +11.125 cycle_sound_speed 0.18728838460958
delay_command +11.25 cycle_sound_speed 0.19842513149602
delay_command +11.375 cycle_sound_speed 0.22272467953508
delay_command +11.5 cycle_sound_speed 0.25
delay_command +11.625 cycle_sound_speed 0.26486577358981
delay_command +11.75 cycle_sound_speed 0.29730177875067
delay_command +11.875 cycle_sound_speed 0.3337099635425
delay_command +12 cycle_sound_speed 0.37457676921916
delay_command +12.25 cycle_sound_speed 0.3337099635425
delay_command +12.375 cycle_sound_speed 0.29730177875067
delay_command +12.5 cycle_sound_speed 0.26486577358981
delay_command +12.625 cycle_sound_speed 0.25
delay_command +12.75 cycle_sound_speed 0.22272467953508
delay_command +12.875 cycle_sound_speed 0.19842513149602
delay_command +13 cycle_sound_speed 0.18728838460958
delay_command +13.125 cycle_sound_speed 0.19842513149602
delay_command +13.25 cycle_sound_speed 0.22272467953508
delay_command +13.375 cycle_sound_speed 0.25
delay_command +13.5 cycle_sound_speed 0.26486577358981
delay_command +13.625 cycle_sound_speed 0.29730177875067
delay_command +13.75 cycle_sound_speed 0.3337099635425
delay_command +13.875 cycle_sound_speed 0.37457676921916
delay_command +14 cycle_sound_speed 0.39685026299204
delay_command +14.25 cycle_sound_speed 0.37457676921916
delay_command +14.375 cycle_sound_speed 0.3337099635425
delay_command +14.5 cycle_sound_speed 0.29730177875067
delay_command +14.625 cycle_sound_speed 0.26486577358981
delay_command +14.75 cycle_sound_speed 0.25
delay_command +14.875 cycle_sound_speed 0.22272467953508
delay_command +15 cycle_sound_speed 0.19842513149602
delay_command +15.125 cycle_sound_speed 0.22272467953508
delay_command +15.25 cycle_sound_speed 0.25
delay_command +15.375 cycle_sound_speed 0.26486577358981
delay_command +15.5 cycle_sound_speed 0.29730177875067
delay_command +15.625 cycle_sound_speed 0.3337099635425
delay_command +15.75 cycle_sound_speed 0.37457676921916
delay_command +15.875 cycle_sound_speed 0.39685026299204
delay_command +16 cycle_sound_speed 0.44544935907017
delay_command +16.25 cycle_sound_speed 0.39685026299204
delay_command +16.375 cycle_sound_speed 0.37457676921916
delay_command +16.5 cycle_sound_speed 0.3337099635425
delay_command +16.625 cycle_sound_speed 0.29730177875067
delay_command +16.75 cycle_sound_speed 0.26486577358981
delay_command +16.875 cycle_sound_speed 0.23596857817042
delay_command +17 cycle_sound_speed 0.22272467953508
delay_command +17.125 cycle_sound_speed 0.29730177875067
delay_command +17.25 cycle_sound_speed 0.26486577358981
delay_command +17.375 cycle_sound_speed 0.25
delay_command +17.5 cycle_sound_speed 0.22272467953508
delay_command +17.625 cycle_sound_speed 0.19842513149602
delay_command +17.75 cycle_sound_speed 0.18728838460958
delay_command +17.875 cycle_sound_speed 0.16685498177125
delay_command +18 cycle_sound_speed 0.14865088937533
delay_command +18.125 cycle_sound_speed 0.13243288679491
delay_command +18.25 cycle_sound_speed 0.125
delay_command +18.375 cycle_sound_speed 0.13243288679491
delay_command +18.5 cycle_sound_speed 0.14865088937533
delay_command +18.625 cycle_sound_speed 0.16685498177125
delay_command +18.75 cycle_sound_speed 0.18728838460958
delay_command +18.875 cycle_sound_speed 0.19842513149602
delay_command +19 cycle_sound_speed 0.18728838460958
delay_command +19.125 cycle_sound_speed 0.16685498177125
delay_command +19.25 cycle_sound_speed 0.14865088937533
delay_command +19.375 cycle_sound_speed 0.16685498177125
delay_command +19.5 cycle_sound_speed 0.18728838460958
delay_command +19.625 cycle_sound_speed 0.19842513149602
delay_command +19.75 cycle_sound_speed 0.22272467953508
delay_command +19.875 cycle_sound_speed 0.25
delay_command +20 cycle_sound_speed 0.26486577358981
delay_command +20.25 cycle_sound_speed 0.16685498177125
delay_command +20.5 cycle_sound_speed 0.19842513149602
delay_command +20.75 cycle_sound_speed 0.25
delay_command +21 cycle_sound_speed 0.22272467953508
delay_command +21.25 cycle_sound_speed 0.16685498177125
delay_command +21.5 cycle_sound_speed 0.19842513149602
delay_command +21.75 cycle_sound_speed 0.25
delay_command +22 cycle_sound_speed 0.22272467953508
delay_command +22.5 cycle_sound_speed 0.16685498177125
delay_command +23 cycle_sound_speed 0.3337099635425
delay_command +23.875 cycle_sound_speed 1000
delay_command +24 cycle_sound_speed 0.35355339059326
delay_command +24.125 cycle_sound_speed 0.3337099635425
delay_command +24.25 cycle_sound_speed 0.35355339059326
delay_command +24.375 cycle_sound_speed 0.3337099635425
delay_command +24.5 cycle_sound_speed 0.37457676921916
delay_command +24.625 cycle_sound_speed 0.3337099635425
delay_command +24.75 cycle_sound_speed 0.37457676921916
delay_command +24.875 cycle_sound_speed 0.3337099635425
delay_command +25 cycle_sound_speed 0.39685026299204
delay_command +25.125 cycle_sound_speed 0.3337099635425
delay_command +25.25 cycle_sound_speed 0.39685026299204
delay_command +25.375 cycle_sound_speed 0.3337099635425
delay_command +25.5 cycle_sound_speed 0.39685026299204
delay_command +25.625 cycle_sound_speed 0.3337099635425
delay_command +25.75 cycle_sound_speed 0.39685026299204
delay_command +25.875 cycle_sound_speed 0.3337099635425
delay_command +26 cycle_sound_speed 0.16685498177125
delay_command +26.25 cycle_sound_speed 0.19842513149602
delay_command +26.5 cycle_sound_speed 0.25
delay_command +27.25 cycle_sound_speed 0.22272467953508
delay_command +27.375 cycle_sound_speed 0.19842513149602
delay_command +27.5 cycle_sound_speed 0.22272467953508
delay_command +27.75 cycle_sound_speed 0.25
delay_command +28.5 cycle_sound_speed 0.26486577358981
delay_command +29.75 cycle_sound_speed 1000
delay_command +30 cycle_sound_speed 0.16685498177125
delay_command +30.25 cycle_sound_speed 0.19842513149602
delay_command +30.5 cycle_sound_speed 0.25
delay_command +31.25 cycle_sound_speed 0.22272467953508
delay_command +31.375 cycle_sound_speed 0.19842513149602
delay_command +31.5 cycle_sound_speed 0.22272467953508
delay_command +31.75 cycle_sound_speed 0.25
delay_command +32.5 cycle_sound_speed 0.26486577358981
delay_command +33.75 cycle_sound_speed 1000
delay_command +34 cycle_sound_speed 0.16685498177125
delay_command +34.125 cycle_sound_speed 1
delay_command +34.25 cycle_sound_speed 0.79370052598409
delay_command +34.375 cycle_sound_speed 0.59460355750134
delay_command +34.5 cycle_sound_speed 0.5
delay_command +34.625 cycle_sound_speed 0.16685498177125
delay_command +34.75 cycle_sound_speed 0.19842513149602
delay_command +34.875 cycle_sound_speed 0.25
delay_command +35 cycle_sound_speed 0.29730177875067
delay_command +35.125 cycle_sound_speed 0.89089871814033
delay_command +35.25 cycle_sound_speed 0.74915353843832
delay_command +35.375 cycle_sound_speed 0.59460355750134
delay_command +35.5 cycle_sound_speed 0.44544935907017
delay_command +35.625 cycle_sound_speed 0.29730177875067
delay_command +35.75 cycle_sound_speed 0.25
delay_command +35.875 cycle_sound_speed 0.29730177875067
delay_command +36 cycle_sound_speed 0.18728838460958
delay_command +36.125 cycle_sound_speed 1.0594630943592
delay_command +36.25 cycle_sound_speed 0.89089871814033
delay_command +36.375 cycle_sound_speed 0.667419927085
delay_command +36.5 cycle_sound_speed 0.52973154717962
delay_command +36.625 cycle_sound_speed 0.18728838460958
delay_command +36.75 cycle_sound_speed 0.44544935907017
delay_command +36.875 cycle_sound_speed 0.26486577358981
delay_command +37 cycle_sound_speed 0.3337099635425
delay_command +37.125 cycle_sound_speed 1
delay_command +37.25 cycle_sound_speed 0.79370052598409
delay_command +37.375 cycle_sound_speed 0.59460355750134
delay_command +37.5 cycle_sound_speed 0.5
delay_command +37.625 cycle_sound_speed 0.16685498177125
delay_command +37.75 cycle_sound_speed 0.13243288679491
delay_command +37.875 cycle_sound_speed 0.16685498177125
delay_command +38 cycle_sound_speed 0.099212565748011
delay_command +38.125 cycle_sound_speed 0.5
delay_command +38.25 cycle_sound_speed 0.39685026299204
delay_command +38.375 cycle_sound_speed 0.3337099635425
delay_command +38.5 cycle_sound_speed 0.25
delay_command +38.625 cycle_sound_speed 0.099212565748011
delay_command +38.75 cycle_sound_speed 0.125
delay_command +38.875 cycle_sound_speed 0.14865088937533
delay_command +39 cycle_sound_speed 0.18728838460958
delay_command +39.125 cycle_sound_speed 0.44544935907017
delay_command +39.25 cycle_sound_speed 0.37457676921916
delay_command +39.375 cycle_sound_speed 0.29730177875067
delay_command +39.5 cycle_sound_speed 0.22272467953508
delay_command +39.625 cycle_sound_speed 0.18728838460958
delay_command +39.75 cycle_sound_speed 0.14865088937533
delay_command +39.875 cycle_sound_speed 0.18728838460958
delay_command +40 cycle_sound_speed 0.11136233976754
delay_command +40.125 cycle_sound_speed 0.52973154717962
delay_command +40.25 cycle_sound_speed 0.44544935907017
delay_command +40.375 cycle_sound_speed 0.3337099635425
delay_command +40.5 cycle_sound_speed 0.26486577358981
delay_command +40.625 cycle_sound_speed 0.11136233976754
delay_command +40.75 cycle_sound_speed 0.13243288679491
delay_command +40.875 cycle_sound_speed 0.16685498177125
delay_command +41 cycle_sound_speed 0.19842513149602
delay_command +41.125 cycle_sound_speed 0.5
delay_command +41.25 cycle_sound_speed 0.39685026299204
delay_command +41.375 cycle_sound_speed 0.3337099635425
delay_command +41.5 cycle_sound_speed 0.25
delay_command +41.625 cycle_sound_speed 0.125
delay_command +41.75 cycle_sound_speed 0.16685498177125
delay_command +41.875 cycle_sound_speed 0.19842513149602
delay_command +42 cycle_sound_speed 0.22272467953508
delay_command +42.875 cycle_sound_speed 1000
delay_command +43 cycle_sound_speed 0.22272467953508
delay_command +43.375 cycle_sound_speed 1000
delay_command +43.5 cycle_sound_speed 0.22272467953508
delay_command +43.875 cycle_sound_speed 1000
delay_command +44 cycle_sound_speed 0.14865088937533
delay_command +44.875 cycle_sound_speed 1000
delay_command +45 cycle_sound_speed 0.14865088937533
delay_command +45.375 cycle_sound_speed 1000
delay_command +45.5 cycle_sound_speed 0.14865088937533
delay_command +45.875 cycle_sound_speed 1000
delay_command +46 cycle_sound_speed 0.16685498177125
delay_command +46.25 cycle_sound_speed 0.14865088937533
delay_command +46.375 cycle_sound_speed 0.13243288679491
delay_command +46.5 cycle_sound_speed 0.125
delay_command +46.625 cycle_sound_speed 0.11136233976754
delay_command +46.75 cycle_sound_speed 0.099212565748011
delay_command +46.875 cycle_sound_speed 0.11136233976754
delay_command +47 cycle_sound_speed 0.125
delay_command +47.125 cycle_sound_speed 0.13243288679491
delay_command +47.25 cycle_sound_speed 0.14865088937533
delay_command +47.375 cycle_sound_speed 0.16685498177125
delay_command +47.5 cycle_sound_speed 0.37457676921916
delay_command +47.625 cycle_sound_speed 0.19842513149602
delay_command +47.75 cycle_sound_speed 0.22272467953508
delay_command +47.875 cycle_sound_speed 0.25
delay_command +48 cycle_sound_speed 0.22272467953508
delay_command +50 cycle_sound_speed 0.25
delay_command +50.375 cycle_sound_speed 1000
delay_command +50.5 cycle_sound_speed 0.25
delay_command +50.625 cycle_sound_speed 0.3337099635425
delay_command +50.75 cycle_sound_speed 0.25
delay_command +50.875 cycle_sound_speed 0.19842513149602
delay_command +51 cycle_sound_speed 0.16685498177125
delay_command +51.125 cycle_sound_speed 0.19842513149602
delay_command +51.25 cycle_sound_speed 0.25
delay_command +51.375 cycle_sound_speed 0.19842513149602
delay_command +51.5 cycle_sound_speed 0.18728838460958
delay_command +51.625 cycle_sound_speed 0.22272467953508
delay_command +51.75 cycle_sound_speed 0.26486577358981
delay_command +51.875 cycle_sound_speed 0.22272467953508
delay_command +52 cycle_sound_speed 0.25
delay_command +52.375 cycle_sound_speed 1000
delay_command +52.5 cycle_sound_speed 0.5
delay_command +52.625 cycle_sound_speed 0.667419927085
delay_command +52.75 cycle_sound_speed 0.5
delay_command +52.875 cycle_sound_speed 0.39685026299204
delay_command +53 cycle_sound_speed 0.3337099635425
delay_command +53.125 cycle_sound_speed 0.39685026299204
delay_command +53.25 cycle_sound_speed 0.5
delay_command +53.375 cycle_sound_speed 0.39685026299204
delay_command +53.5 cycle_sound_speed 0.37457676921916
delay_command +53.625 cycle_sound_speed 0.44544935907017
delay_command +53.75 cycle_sound_speed 0.52973154717962
delay_command +53.875 cycle_sound_speed 0.44544935907017
delay_command +54 cycle_sound_speed 0.5
delay_command +54.5 cycle_sound_speed 0.19842513149602
delay_command +55 cycle_sound_speed 0.25
delay_command +55.5 cycle_sound_speed 0.19842513149602
delay_command +56 cycle_sound_speed 0.25
delay_command +56.5 cycle_sound_speed 1000

#delay_command +57.5 include [yourcycleconfig].cfg
Can we now forget about it?

User avatar
stephanietubesocks
On Lightcycle Grid
Posts: 47
Joined: Sat May 20, 2017 2:59 am
Contact:

Re: play music via cycle_sound_speed

Post by stephanietubesocks »

thats cool, didnt know about the delay command

thanks, gotta try this

one question would the include command for the music called by the same file lead to memory filling up ?

User avatar
aP|Nelg
Match Winner
Posts: 593
Joined: Wed Oct 22, 2014 10:22 pm
Contact:

Re: play music via cycle_sound_speed

Post by aP|Nelg »

sinewav wrote:
stephanietubesocks wrote:maybe its been done already ?
YEP! Three times!

The first time was by player Wik who modified a debug recording to play Mozart. The file is gone, but man was it impressive.

The second time was by player Durf who created a server with "speed zones". I don't remember the quality, but I do remember it working fairly well, but rather imprecise.

The third time was Wik again who created an online tool named AA SoundSpeed Composer. I've never used the tool, but maybe you can try it and post a video or audio clip?
Durf gave up on the speed zones (as far as I know) and used CYCLE_SPEED with DELAY_COMMAND, similar to Wik's file, before using SET_CYCLE_SPEED (again with DELAY_COMMAND) on all 4 ingame players as separate tracks (+ap feature), also avoiding the spam.
Wik's is more impressive because he did it first ;)

Post Reply