Jump to content

Need help with a radio mod


jp2x

Recommended Posts

I'm making a radio mod. It's going great for a ton of reasons. But, it's laggy and getting more laggy.

 

The radio station is designed with a kind of random number generator at the start, a list of songs which are chosen by number, then a return to start. The songs play only if their corresponding holotape is loaded into a custom storage container. I think the lag is due to the loop running over-and-over not finding a song to play for 30-45 seconds (many loops). When it chooses a song, it plays fine. But the song ends and there is dead air again. I have 242 songs now and the lag will keep growing as I add more (as a ratio of songs available to holotapes loaded will cause more 'misses').

 

I assume I can probably fix this by removing the random element and letting it act as a static playlist. I'd rather keep the random element.

 

Any advice is appreciated. I can also add info if it helps to find a solution.

 

Thank you!

Link to comment
Share on other sites

  • 2 months later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...