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: Re: Jukebox sounds between songs.  (Read 13231 times)

0 Members and 1 Guest are viewing this topic.

Dynamite91

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:November 25, 2006, 04:20:46 pm
Re: Jukebox sounds between songs.
« on: October 06, 2006, 06:50:20 pm »
Here is the jukebox sound including carousel rotating, record pickup and placement followed by the already available arm drop, record plop and crackles. If anyone requests I can also post the sounds of a 78rpm horizontal rack jukebox making a selection.

Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re: Jukebox sounds between songs.
« Reply #1 on: October 06, 2006, 08:15:20 pm »
Oh, very nice!

Strangely enough, we'll need to convert it to WAV.... my MP3 jukebox doesn't support MP3's as sound effects, only WAV's... and it doesn't support WAVs as music, only as sound effects!  Sounds like a government operation, doesn't it?

I think I need to classify both of these issues as "bugs" and fix them....  (WAVs suffer the same problem as MIDI, though: no MP3 tags...)

--Chris
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

JustMichael

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1438
  • Last login:September 27, 2015, 01:19:40 am
  • Mmmmm!! Cheesecake!!
Re: Jukebox sounds between songs.
« Reply #2 on: October 06, 2006, 10:14:17 pm »
Here is the jukebox sound including carousel rotating, record pickup and placement followed by the already available arm drop, record plop and crackles. If anyone requests I can also post the sounds of a 78rpm horizontal rack jukebox making a selection.

Please do!!!

Dynamite91

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:November 25, 2006, 04:20:46 pm
78rpm Jukebox
« Reply #3 on: October 07, 2006, 05:05:06 am »
As requested here's the 78rpm jukebox sound again in mp3 format, I meant to say in the post of the previous sound it will have to be converted back to wav to work in wincab jukebox. Sorry about the oversight. Please bear in mind the age of these machines, you will note a sqeak at the end of this sound clip, it's the arm labouring across to the record! Both sounds are genuine recordings of jukeboxes in operation.

newFish

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 25
  • Last login:March 04, 2008, 10:12:42 am
Re: Jukebox sounds between songs.
« Reply #4 on: January 12, 2007, 01:46:15 pm »
Thats very cool...Changing it to wav file is simple enough...how do we place it in Wincab?
Thanks

Karaokedude

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 73
  • Last login:October 16, 2007, 12:21:00 pm
Re: Jukebox sounds between songs.
« Reply #5 on: January 12, 2007, 08:51:38 pm »
copy it into the skin directory

then edit the skn file you are using

should have a section like this

[Sounds]
BTN_COIN1=coin.wav
BTN_A=but2.wav
MSG_PRESONG=pre_record.wav
MSG_INVALID=invalid.wav

make sure the MSG_PRESONG is the same as the wav you want to use

what i did was edit the wav and extended it by adding  some record pops which play over the top of the track
 check the TIMERS Section

PreSongDelay = 200

i have this set to 1000 which I think is the maximum but gives me 10secs of the file
over the track


newFish

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 25
  • Last login:March 04, 2008, 10:12:42 am
Re: Jukebox sounds between songs.
« Reply #6 on: January 18, 2007, 10:26:45 pm »
Cant Make it work......In the skin Folder I have 78.wav ...I changed the Default.skn File.....

Still does work?!!

[Display]

# Skin sets the skin definition file.  See default.skn for
# a sample skin definition file.

Skin =default.skn


# Width and Height sets the screen resolution.  The skin
# will be scaled to fit this resolution. Although any skin
# can be used at any resolution, use skins especially
# designed for low resolutions for best results below
# 640x480.
#
# Note that the Width and Height are for the monitor, not
# the display, so even if using a rotated display set the
# Width and Height appropriately for a non-rotated
# horizontal display.

Width = 1024
Height = 768


# Rotation sets the rotation of the display.
# This value can be specified three different ways; use
# the one that makes most sense to you.
#



# DOSCab/WinCab Jukebox Skin File
# Version 3.1
# By Chris La Mantia

# Notes:
# - Supported image formats at this time are JPG, BMP, LBM, PCX, and TGA.
# - Colors may be specified as hexadecimal RGB codes (FFA0CC) or by name.
#   A reference to named colors can be found in docs/colors.htm.

[skin]
# All of the dimensions of objects in this file are relative to
# the background image.

Author = Chris La Mantia
Description = Classic 45RPM-based jukebox
Notes =
background=bgmain.jpg

[Timers]
# These timers are specified in hundredths of a second. 
# Pre and Post song delays default to 0, Inter (between)
# song delay defaults to 200 (2 seconds) if Pre and
# Post are 0, otherwise it defaults to 0.

PreSongDelay = 1000
PostSongDelay = 100
InterSongDelay = 0


[Fonts]
# Note: The "Small" fonts are not yet implemented.

TitleFont = bluehigh.ttf
TitleFontSize = 26
TitleFontCondensed = bluecond.ttf
TitleFontCondensedSize = 24
TitleFontSmall = bluecond.ttf
TitleFontSmallSize = 13
TitleFontColor = Black
TitleFontCase = UpperCase
TitleFontAddQuotes = True
TitleFontQuoteSymbol = "


# ArtistFont = bluehigh.ttf
# ArtistFontSize = 22
# ArtistFontCondensed = bluecond.ttf
# ArtistFontCondensedSize = 18
# ArtistFontSmall
# ArtistFontColor = Black
# ArtistFontAddQuotes = False

# AlbumFont
# AlbumFontCondensed
# AlbumFontSmall
# AlbumFontColor

# TitleAddressFont
# TitleAddressFontColor

# CDAddressFont
# CDAddressFontColor

FixedFont=jbdotmat.fnt


[Selection]

# SelectionMethod: Alphanumeric,Numeric
SelectionMethod=AlphaNumeric
UseZero=False
HighLetter=D
HighNumber=4


# Display definitions
#
# There are four displays: the Now Playing display, the Coming Up/Most
# Popular Songs display, the Selection display, and the Credit display.
# Status messages appear on the Coming Up display.
#
# Displays have the following parameters:
#
# enabled - Set to True to enable the display, False to disable it. 
# You may, for example, want to disable the Credit display if your
# jukebox is not set to accept credits.
#
# x, y, w, and h - The position and size of the display.  These are all
# relative to the skin background image and not the screen resolution.
#
# lines - Sets the number of lines used by the Now Playing and Coming Up
# displays.  The size of the dot-matrix display font will automatically
# be adjusted to fit the specified number of lines in the height of the
# display.  The Selection and Credit displays always show only one line.
#
# color and bgcolor - Sets the color of the font and the color of the
# display background.  See the note on how to specify colors above.

[Timers]
# These timers are specified in centiseconds (1/100th of a second)

DelayBeforeSong = 100
DelayAfterSong = 0

# DelayBetweenSongs will override SongDelay if it's specified in
# jukebox.ini, on the assumption that if it's specified here there is
# probably an animation or sound effect tied to it.
DelayBetweenSongs = 100


[Display1]
# Now Playing display
enabled=True
x=152
y=200
w=292
h=78
lines=4
color=palegreen
bgcolor=transparent

[Display2]
# Song List display
enabled=True
x=577
y=200
w=292
h=78
lines=4
color=palegreen
bgcolor=transparent

[Display3]
# Selection display
enabled=True
x=485
y=347
w=56
h=24
color=palegreen
bgcolor=202020

[Display4]
# Credit Display
enabled=True
x=485
y=299
w=56
h=24
color=palegreen
bgcolor=202020

[TitleStrips]
# The image file is scaled and stretched to fit the Width and Height below

Background=jb45lb01.jpg

# bgcolor is only seen if no title strip image is specified

bgcolor=white

SongsPerStrip=Double
Width=301
Height=100
StripCount=8
FontSmoothing=true
FontFocusColor=Navy
FocusColor=MediumBlue
ShadowColor=Black

TitleAlign = Center
TitleMargin = 5
FocusMargin = 2
FocusSize = 2
AddressAlign = Disabled
ArtistAlign = Center
ArtistMargin = 8


# Animation types: None, FlipHorizontal, FlipVertical, SlideHorizontal, or SlideVertical
Animation=SlideHorizontal

[StripGrid]
x=165
y=319
rows=4
cols=2
rowspace=30
colspace=92
order=Horizontal

[Icon1]
x=464
y=193
w=93
h=94
OnImage=instron.bmp
OffImage=instroff.bmp
Clickable=False
Action=MSG_CREDITS

[Icon2]
x=624
y=281
w=11
h=11
OnImage=r-ledoff.bmp
OffImage=r-ledon.bmp
Clickable=False
Action=MSG_POPULAR

[Icon3]
x=738
y=281
w=11
h=11
OnImage=r-ledon.bmp
OffImage=r-ledoff.bmp
Clickable=False
Action=MSG_POPULAR

[Icon4]
x=477
y=413
w=33
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_A

[Icon5]
x=514
y=413
w=33
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_1

[Icon6]
x=477
y=450
w=33
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_B

[Icon7]
x=514
y=450
w=33
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_2

[Icon8]
x=477
y=487
w=33
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_C

[Icon9]
x=514
y=487
w=33
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_3

[Icon10]
x=477
y=524
w=33
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_D

[Icon11]
x=514
y=524
w=33
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_4

[Icon12]
x=477
y=561
w=70
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_SELECT

[Icon13]
x=477
y=598
w=70
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_CLEAR

[Icon14]
x=477
y=635
w=70
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_POPULAR

[Icon15]
x=477
y=672
w=33
h=70
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_PREVPG

[Icon16]
x=514
y=672
w=33
h=70
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_NEXTPG

[Icon17]
x=477
y=746
w=70
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_PAUSE

[Icon18]
x=477
y=783
w=33
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_VOL_DOWN
OffImage=btnvoldn.jpg

[Icon19]
x=514
y=783
w=33
h=33
FocusColor=yellow
ShadowColor=Black
Clickable=True
Action=BTN_VOL_UP
OffImage=btnvolup.jpg


##########################################################
#
# Sounds Section
#
# Sets sound effects to respond to jukebox messages.
# To respond to a message being "un-set", put a minus sign
# before the message name.  The message BTN_ANY will
# respond to any BTN message.  See readme.txt for a list
# of available messages.
#
##########################################################

[Sounds]
BTN_COIN1=coin.wav
BTN_COIN2=coin.wav
BTN_COIN3=coin.wav
BTN_COIN4=coin.wav
MSG_PRESONG=78.wav
MSG_INVALID=invalid.wav


Did I miss something- I changed the mp3 into a wav file ..and it works...I have copies of the 78.wav in about 3 different places...I just get NO sound from It


xk

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 32
  • Last login:January 15, 2024, 08:50:49 am
Re: Jukebox sounds between songs.
« Reply #7 on: January 19, 2007, 04:59:53 am »
Have you checked the volume control settings in the jukebox.ini file?


##########################################################
#
# VolumeControl Section
#
# Sets parameters related to volume.
#
##########################################################



# SoundEffectsVolume sets the volume for sound effects,
# from 0 to 100. This value is interpreted as a percentage
# of the music volume. The default is 50.

SoundEffectsVolume=50


Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re: Jukebox sounds between songs.
« Reply #8 on: January 19, 2007, 08:22:52 am »
Can you hear the coin sound effects?
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

JustMichael

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1438
  • Last login:September 27, 2015, 01:19:40 am
  • Mmmmm!! Cheesecake!!
Re: Jukebox sounds between songs.
« Reply #9 on: January 19, 2007, 02:11:06 pm »
Quote
Did I miss something- I changed the mp3 into a wav file ..and it works...I have copies of the 78.wav in about 3 different places...I just get NO sound from It

Did you actually convert the 78.mp3 into a wave file (not just changed the .mp3 to .wav)?

The only problem I seem to have is that no matter what I set PreSongDelay to, the music starts right away.

Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re: Jukebox sounds between songs.
« Reply #10 on: January 19, 2007, 02:55:24 pm »
Quote
Did I miss something- I changed the mp3 into a wav file ..and it works...I have copies of the 78.wav in about 3 different places...I just get NO sound from It

Did you actually convert the 78.mp3 into a wave file (not just changed the .mp3 to .wav)?

The only problem I seem to have is that no matter what I set PreSongDelay to, the music starts right away.
Really?  Hmm.  Can you set DebugLevel=3 and run it for a few minutes, then send me the log and the skin file?  DebugLevel3 will show all the message queue activity and all the log entries are timestamped so I can see what's going on.  Also, make sure your PreSongDelay is in a section called [Timers]; if the section header is missing the value won't be seen.

--Chris
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

JustMichael

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1438
  • Last login:September 27, 2015, 01:19:40 am
  • Mmmmm!! Cheesecake!!
Re: Jukebox sounds between songs.
« Reply #11 on: January 19, 2007, 03:35:32 pm »
I looked at the log and I guess you put a 1000 limit on PreSongDelay.  Perhaps a 32000 limit instead?  I needed about 1200 and then tried increasing it to 2200 and both started instantly.  If I set it for 1000, I get a delay but not long enough.  I am trying to use Dynamite91's 45 jukebox recording.

Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re: Jukebox sounds between songs.
« Reply #12 on: January 19, 2007, 03:49:10 pm »
I looked at the log and I guess you put a 1000 limit on PreSongDelay.  Perhaps a 32000 limit instead?  I needed about 1200 and then tried increasing it to 2200 and both started instantly.  If I set it for 1000, I get a delay but not long enough.  I am trying to use Dynamite91's 45 jukebox recording.
You want it to wait 12 full seconds before a song starts?

Yes, all the delay timers currently have an upper limit of 1000; I can certainly increase it. Right now, if your value is out of bounds, it changes to the default setting; I should probably change it to clamp to either the upper or lower limit, whichever was exceeded.

--Chris

--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

JustMichael

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1438
  • Last login:September 27, 2015, 01:19:40 am
  • Mmmmm!! Cheesecake!!
Re: Jukebox sounds between songs.
« Reply #13 on: January 19, 2007, 04:28:45 pm »
Or how about a percentage?  Have the music start after x% of the presong sound effect has played?

Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re: Jukebox sounds between songs.
« Reply #14 on: January 19, 2007, 04:34:45 pm »
Or how about a percentage?  Have the music start after x% of the presong sound effect has played?
The messaging system that drives the jukebox doesn't know what the GUI is doing with the messages, so it would not know if there even is a pre-song sound effect, let alone how long it is.  It just throws the messages into the GUI's message processing queue, most of which are ignored.
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

JustMichael

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1438
  • Last login:September 27, 2015, 01:19:40 am
  • Mmmmm!! Cheesecake!!
Re: Jukebox sounds between songs.
« Reply #15 on: January 19, 2007, 04:37:38 pm »
Also I noticed if you cancel all the songs (hitting delete until no songs left to play), the presong sound effect continues to play until it is done even if no song is going to play.

Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re: Jukebox sounds between songs.
« Reply #16 on: January 19, 2007, 04:43:45 pm »
Also I noticed if you cancel all the songs (hitting delete until no songs left to play), the presong sound effect continues to play until it is done even if no song is going to play.
Yes... same issue.  I can't think of a general purpose way to implement something like that.  Personally, I think of deleting songs from the queue as an administrative function, so this to me falls under the heading of "If it hurts when you do that, don't do that."  :D

--Chris
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

JustMichael

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1438
  • Last login:September 27, 2015, 01:19:40 am
  • Mmmmm!! Cheesecake!!
Re: Jukebox sounds between songs.
« Reply #17 on: January 19, 2007, 04:54:18 pm »
Quote
"If it hurts when you do that, don't do that."

ROFL!   :laugh2:

newFish

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 25
  • Last login:March 04, 2008, 10:12:42 am
Re: Jukebox sounds between songs.
« Reply #18 on: January 20, 2007, 10:30:13 pm »
Yes I actually Did Covert the File into Mp3- I just Didnt change extention..I can Here the coin Sounds Fine So I dont think Its a volume issue???   Maybe send Debug Log?Q??!

Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re: Jukebox sounds between songs.
« Reply #19 on: January 20, 2007, 11:10:42 pm »
Hmm.. debug log might help.  Maybe I've got a bug that doesn't like numeric filenames?
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

newFish

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 25
  • Last login:March 04, 2008, 10:12:42 am
Re: Jukebox sounds between songs.
« Reply #20 on: January 21, 2007, 09:51:50 pm »
:)  I Finally Got it...I debug=3 and looked at the log......
What i found was the wav file was NOT found......I originally Place the 78.wav file in every Directory!! ....I name it 78.wav -BAD BAD  I took off file extention-Using The coin wav for an example.... I notice You use .wav in the ini file but not on the file name itself.   

Cool Works

Chris

  • Moderator
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re: Jukebox sounds between songs.
« Reply #21 on: January 21, 2007, 11:20:49 pm »
I'll bet you have file extensions hidden, so it was 78.wav.wav.
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com