Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Play arcade ambience files from a random start point?  (Read 1996 times)

0 Members and 1 Guest are viewing this topic.

Diewrecked

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 179
  • Last login:June 20, 2012, 07:34:08 am
  • I want to build my own arcade controls!
Play arcade ambience files from a random start point?
« on: October 02, 2008, 04:57:28 am »
Hi guys,

I've been looking with interest at Andy Hofle's Ambience project http://arcade.hofle.com/ and TheShanMan's Ambience App http://forum.arcadecontrols.com/index.php?topic=82754.0 - very nice work you guys  :cheers:

I was wondering, given that the ambience files are so long, and given that they start at the same point every time you play them, do any of you know of a way of randomising the start point when they play at all? (or TheShanMan is this something that could be incorporated into your app?) It's just I become very aware of hearing the same part of the file (ie the start) over and over again when I fire up my cab, it would be nice to hear some random part of it instead.

Just a thought.

Thanks guys
Jon


protokatie

  • I DO try to be insulting and horrible to my fellow Terran
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1396
  • Last login:March 27, 2012, 09:36:43 pm
  • Is anyone here a member of team retard?
Re: Play arcade ambience files from a random start point?
« Reply #1 on: October 02, 2008, 06:28:50 am »
Not a full fix: But does your computer support Hibernate? If it does, then you could hibernate the computer instead of shutting it down. When you start it back up, it will start from where it left off. If anything else, this will prevent the repetition.
--- Yes I AM doing this on purpose, and yes I DO realize it is pissing you off.

---If my computers were cats, my place would look like an old widows house, with half of the cats having obvious health problems

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10092
  • Last login:June 28, 2025, 10:45:55 pm
  • Comanche, OK -- USA
Re: Play arcade ambience files from a random start point?
« Reply #2 on: October 02, 2008, 08:16:51 am »
I use Arcade Ambiance '83 in my frontend, and you really can't tell one part from the next. You won't be listening close enough to tell where you're at in each track.

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: Play arcade ambience files from a random start point?
« Reply #3 on: October 02, 2008, 09:09:31 am »
Better than hibernate: standby. That's what I use and I love it. I kinda agree with Ginsu though. I don't pay close enough attention to be able to notice where in the file it is. Aside from that I could look into the request. I would imagine it's possible for me to tell the sound engine where to start playing a file, and maybe it's also possible to ask the sound engine where it is in the file at any given moment (maybe a better option would be to start up where it left off).
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

Diewrecked

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 179
  • Last login:June 20, 2012, 07:34:08 am
  • I want to build my own arcade controls!
Re: Play arcade ambience files from a random start point?
« Reply #4 on: October 02, 2008, 10:06:55 am »
(maybe a better option would be to start up where it left off).

How doable do you think that would be please TheShanMan? Sorry to be so anal but I subconsciously really pick up on these things!

Cheers buddy   :notworthy: :cheers:

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10092
  • Last login:June 28, 2025, 10:45:55 pm
  • Comanche, OK -- USA
Re: Play arcade ambience files from a random start point?
« Reply #5 on: October 02, 2008, 10:47:20 am »
Here's an option:
Chop up the file.

Make the MP3 into several different MP3s, starting at different points in the track. Then have them play randomly.

protokatie

  • I DO try to be insulting and horrible to my fellow Terran
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1396
  • Last login:March 27, 2012, 09:36:43 pm
  • Is anyone here a member of team retard?
Re: Play arcade ambience files from a random start point?
« Reply #6 on: October 02, 2008, 10:48:15 am »
(maybe a better option would be to start up where it left off).

How doable do you think that would be please TheShanMan? Sorry to be so anal but I subconsciously really pick up on these things!

Cheers buddy   :notworthy: :cheers:

Maybe by having your computer go to hybernate or standby instead of shutting it down.... (I think I already said this :D)

Oh wait, I am not shanman... NM Noone listens to good ol' PK...  :'(
--- Yes I AM doing this on purpose, and yes I DO realize it is pissing you off.

---If my computers were cats, my place would look like an old widows house, with half of the cats having obvious health problems

protokatie

  • I DO try to be insulting and horrible to my fellow Terran
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1396
  • Last login:March 27, 2012, 09:36:43 pm
  • Is anyone here a member of team retard?
Re: Play arcade ambience files from a random start point?
« Reply #7 on: October 02, 2008, 10:49:27 am »
Here's an option:
Chop up the file.

Make the MP3 into several different MP3s, starting at different points in the track. Then have them play randomly.

chopping is easy with audacity, but having them play randomly...? Any clue on how to do that?
--- Yes I AM doing this on purpose, and yes I DO realize it is pissing you off.

---If my computers were cats, my place would look like an old widows house, with half of the cats having obvious health problems

HaRuMaN

  • Supreme Solder King
  • Global Moderator
  • Trade Count: (+45)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 10328
  • Last login:July 23, 2025, 07:04:20 pm
  • boom
    • Arcade Madness
Re: Play arcade ambience files from a random start point?
« Reply #8 on: October 02, 2008, 10:57:51 am »
chopping is easy with audacity, but having them play randomly...? Any clue on how to do that?

Play them in Winamp (or the like) and turn on shuffle as well as repeat

protokatie

  • I DO try to be insulting and horrible to my fellow Terran
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1396
  • Last login:March 27, 2012, 09:36:43 pm
  • Is anyone here a member of team retard?
Re: Play arcade ambience files from a random start point?
« Reply #9 on: October 02, 2008, 11:20:26 am »
chopping is easy with audacity, but having them play randomly...? Any clue on how to do that?

Play them in Winamp (or the like) and turn on shuffle as well as repeat


HarumaN FTW!   Duh! Why didnt I think of that....   :banghead:
--- Yes I AM doing this on purpose, and yes I DO realize it is pissing you off.

---If my computers were cats, my place would look like an old widows house, with half of the cats having obvious health problems

protokatie

  • I DO try to be insulting and horrible to my fellow Terran
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1396
  • Last login:March 27, 2012, 09:36:43 pm
  • Is anyone here a member of team retard?
Re: Play arcade ambience files from a random start point?
« Reply #10 on: October 02, 2008, 11:53:37 am »
Added note: How do you get winamp to start a playlist when started at boot? If it doesnt start the "shuffled and repeated" playlist at boot, then it isnt worth this guys time.
--- Yes I AM doing this on purpose, and yes I DO realize it is pissing you off.

---If my computers were cats, my place would look like an old widows house, with half of the cats having obvious health problems

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10092
  • Last login:June 28, 2025, 10:45:55 pm
  • Comanche, OK -- USA
Re: Play arcade ambience files from a random start point?
« Reply #11 on: October 02, 2008, 11:56:22 am »
Most frontends will play MP3s in the menu, and will shuffle them if needed.

Are we talking about playing the MP3s just in the menu, or during gameplay, as well?

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: Play arcade ambience files from a random start point?
« Reply #12 on: October 02, 2008, 01:02:53 pm »
My Ambience app can shuffle them too. Diewrecked, I'd be glad to look into it, but not sure how soon it might happen because I'm a bit overloaded with multiple projects atm. Do you like the "chopping up" idea in the meantime?
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

Necro

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1031
  • Last login:November 29, 2022, 08:22:22 pm
  • Building a 'Classic' MAME Cab
Re: Play arcade ambience files from a random start point?
« Reply #13 on: October 02, 2008, 03:12:40 pm »
Better than hibernate: standby. That's what I use and I love it. I kinda agree with Ginsu though.

Just something to be aware of - Hibernate turns the computer off completely, writing RAM to disk and then reloading from there.  Standby doesn't.  It just shuts all non-essentials down and keeps power running to 'necessary' parts.   

Point being that if your trying to save energy costs by shutting down the cab, hibernate is a better option ;)

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: Play arcade ambience files from a random start point?
« Reply #14 on: October 02, 2008, 04:54:12 pm »
Good point, but if you play your cab as often as my family and I do, it's well worth it to have the super fast startup and shutdown times! ;D
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

Diewrecked

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 179
  • Last login:June 20, 2012, 07:34:08 am
  • I want to build my own arcade controls!
Re: Play arcade ambience files from a random start point?
« Reply #15 on: October 06, 2008, 05:53:03 am »
Hi guys

Apologies for the prolonged absence.

Yeah that's a great combination of ideas: chopping the file and playing the parts randomly. I'll go with that.

Many many thanks for all your help guys  :cheers: