ADPCM v 1.1.0 available

47 views
Skip to first unread message

Mark DiVecchio

unread,
Nov 9, 2016, 11:56:36 PM11/9/16
to remote-tra...@googlegroups.com
V1.1.0 of ADPCM, a program which lets you listen to *.mth sound files is available
on my web page:

http://www.silogic.com/trains/ADPCM.html

The major addition is the ability to export sound clips as mp3 files.

To run the mp3 export clip functions, download lame3.99.5.zip from http://www.rarewares.org/mp3-lame-bundle.php

place the lame.exe and lame_enc.dll into the folder containing the ADPCM.exe program.

You can use the complementary copies of lame v3.99.5 in this zip file.

Two export options are available.

After you select and analyze a sound file, push the button "Export mp3". ADPCM will produce an
mp3 file for each sound in the index. The files will be placed in the same folder as the
sound file.

If you click on an index line, then right click to bring up the popup menu, you can select
"Export Clip" to export only that clip to an mp3 file.



--
Mark DiVecchio K3FWT http://www.silogic.com Rainbow, CA 92028
My Genealogy Web Site : http://www.silogic.com/genealogy/genealogy.html
My Model Trains Web Site : http://www.silogic.com/trains/layout.html

Kevin Rice

unread,
Nov 10, 2016, 11:12:42 AM11/10/16
to remote-tra...@googlegroups.com
The question is -- are we going to add import?


--
You received this message because you are subscribed to the Google Groups "Remote Train Control" group.
To unsubscribe from this group and stop receiving emails from it, send an email to remote-train-control+unsub...@googlegroups.com.
To post to this group, send email to remote-train-control@googlegroups.com.
Visit this group at https://groups.google.com/group/remote-train-control.
To view this discussion on the web visit https://groups.google.com/d/msgid/remote-train-control/5823FE08.21559.20CA483%40markd.silogic.com.
For more options, visit https://groups.google.com/d/optout.

Mark DiVecchio

unread,
Nov 10, 2016, 11:59:10 AM11/10/16
to Kevin Rice, remote-tra...@googlegroups.com
Kevin,

Well, I imported some of the mp3 files to my phone and now
I have some very interesting ringtones.

Mark
> > email to remote-train-con...@googlegroups.com.
> > To post to this group, send email to remote-tra...@googlegroups.com
> > .
> > Visit this group at https://groups.google.com/group/remote-train-control.
> > To view this discussion on the web visit https://groups.google.com/d/
> > msgid/remote-train-control/5823FE08.21559.20CA483%40markd.silogic.com.
> > For more options, visit https://groups.google.com/d/optout.
> >
>
> --
> You received this message because you are subscribed to the Google Groups "Remote Train Control" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to remote-train-con...@googlegroups.com.
> To post to this group, send email to remote-tra...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/remote-train-control/CAL3K_q3H1wZr_7LOHgmPscGs9R8cGu-U2-cvcmh%3D-b74H%3DQ0XQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>



Paul Reynolds

unread,
Nov 10, 2016, 3:27:31 PM11/10/16
to remote-tra...@googlegroups.com, Kevin Rice
>>>  I have some very interesting ringtones.

This is funny.  I look forward to trying this too.

Paul


> > email to remote-train-control+unsub...@googlegroups.com.
> > To post to this group, send email to remote-train-control@googlegroups.com

> > .
> > Visit this group at https://groups.google.com/group/remote-train-control.
> > To view this discussion on the web visit https://groups.google.com/d/
> > msgid/remote-train-control/5823FE08.21559.20CA483%40markd.silogic.com.
> > For more options, visit https://groups.google.com/d/optout.
> >
>
> --
> You received this message because you are subscribed to the Google Groups "Remote Train Control" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to remote-train-control+unsub...@googlegroups.com.
> To post to this group, send email to remote-train-control@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Remote Train Control" group.
To unsubscribe from this group and stop receiving emails from it, send an email to remote-train-control+unsub...@googlegroups.com.
To post to this group, send email to remote-train-control@googlegroups.com.

Kevin Rice

unread,
Nov 10, 2016, 4:17:23 PM11/10/16
to remote-tra...@googlegroups.com
I was going to make one my alarm clock....  just kidding.

No my simplistic idea would be to import sounds into the same index,  but only up to the same length as the existing clip.   Basically an overwrite mechanism.



> > To post to this group, send email to remote-train-control@googlegroups.com
> > .
> > Visit this group at https://groups.google.com/group/remote-train-control.
> > To view this discussion on the web visit https://groups.google.com/d/
> > msgid/remote-train-control/5823FE08.21559.20CA483%40markd.silogic.com.
> > For more options, visit https://groups.google.com/d/optout.
> >
>
> --
> You received this message because you are subscribed to the Google Groups "Remote Train Control" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to remote-train-control+unsubscrib...@googlegroups.com.

> To post to this group, send email to remote-train-control@googlegroups.com.
> Visit this group at https://groups.google.com/group/remote-train-control.
> To view this discussion on the web visit https://groups.google.com/d/msgid/remote-train-control/CAL3K_q3H1wZr_7LOHgmPscGs9R8cGu-U2-cvcmh%3D-b74H%3DQ0XQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>



--
Mark DiVecchio K3FWT http://www.silogic.com Rainbow, CA 92028
My Genealogy Web Site : http://www.silogic.com/genealogy/genealogy.html
My Model Trains Web Site : http://www.silogic.com/trains/layout.html

--
You received this message because you are subscribed to the Google Groups "Remote Train Control" group.
To unsubscribe from this group and stop receiving emails from it, send an email to remote-train-control+unsubscrib...@googlegroups.com.

To post to this group, send email to remote-train-control@googlegroups.com.
Visit this group at https://groups.google.com/group/remote-train-control.

Paul Reynolds

unread,
Nov 10, 2016, 9:15:51 PM11/10/16
to remote-tra...@googlegroups.com
Hi Mark..

   Very nice.  

     I've just played with the latest ADPCM code for the last couple of hours.  I got it to successfully analyze both PS2 and PS3 sound files for my Premier Erie Triplex.  I've also successfully exported a handful of mp3's, some of which will wind up on my phone too.  I'll be acquiring and analyzing addition sound files tomorrow.

   In general your code worked quite well, including the auto analyzer.  There were some times in the PS3 file where you guessed ADPCM rather than 24 bit.  (I realize you've said they may be ADPCM's at times, but they weren't in this case.)  That's not a complaint.  I expect I'll study your analyzer methods and see if I can add anything useful.

   I got one crash.  It was when I was working through the indexed sound clips in the PS3 file.  I was moving pretty aggressively, click, listen, [maybe right click and export], go to next, repeat.  At one point I got a Windows crash report, but nothing useful about it.  Again, no complaints.  My first guess would be a race condition between code finishing off the export and a mouse click service routine.  I don't know.  If I see it again, I'll try to get you better crash data.

   Thanks!  Again, very nice work.  I plan to take the mp3's you've just enabled me to create and run them through one of the DFPlayers I have arriving in the next couple of days, and then through a decent audio system that sends sounds to the right speaker(s) hidden around the layout.  I've never liked the audio out of anyone's engines.  The speakers are just too small and limited.  You've just done all of the hard work for me to get the sounds to the right place through quality audio equipment.

Paul


To unsubscribe from this group and stop receiving emails from it, send an email to remote-train-control+unsub...@googlegroups.com.

To post to this group, send email to remote-train-control@googlegroups.com.
Visit this group at https://groups.google.com/group/remote-train-control.

Kevin Rice

unread,
Nov 10, 2016, 11:18:12 PM11/10/16
to remote-tra...@googlegroups.com
Speculatively, with some work I think you could use RTC and ADPCM to build a player that played the right clip for the right amount of time depending on the remote/rtc command ... it'd probably not be exactly right or perhaps get of sync with an engine... but without doing it, it might impossible to qualify it.

Two or more engines -- maybe such could be supported at the same time.   And I  wonder about a set up with multiple speakers where the sound output "follows" the engines depending on the track location.    

--
You received this message because you are subscribed to the Google Groups "Remote Train Control" group.
To unsubscribe from this group and stop receiving emails from it, send an email to remote-train-control+unsub...@googlegroups.com.
To post to this group, send email to remote-train-control@googlegroups.com.
Visit this group at https://groups.google.com/group/remote-train-control.

Paul Reynolds

unread,
Nov 11, 2016, 12:16:51 PM11/11/16
to remote-tra...@googlegroups.com
>>> Two or more engines -- maybe such could be supported at the same time.  

I do think so.  There seem to be multiple choices for when one wants to play audio for multiple devices concurrently:  1) Play the sounds one after the other (low quality solution but could work most of the time),  2) Use a single source for sound file playback and when needed let it mix sound files to be played concurrently.  That's not too hard to do.  3) Use multiple speakers that can be driven separately.  Choose the best one for each sound to be payed concurrently. 

>>> And I wonder about a set up with multiple speakers where the sound output "follows" the engines depending on the track location.

Actually, this is precisely my plan.  I've got close to ten Radio Shack 7" bookshelf speakers laying around and they'd do just fine.  The question then becomes whether one feeds them all from a single source (e.g. a capable PC) with electronic control over volume delivered to each speaker, or uses a (stereo) DFPlayer for each pair of speakers.  Sound files on the DFPlayer storage could be recorded left channel only and right channel only, to support best placement of a sound with the two speakers it controls.

By knowing the precise position of all operating engines, and the position of a designated spectator -*, sounds could be directed in a way that is convincingly accurate.

As for sounds related to engine drivers (as MTH does with chuffing sounds) I don't get into that all that much.  I'm not such a perfectionist in that realm that I would notice if a particular aspect of a chuffing sound related properly to, say, piston position.  However, if someday I change my mind, I think it would be possible for an engine to (radio) transmit its driver/piston positions back to a central sound generator that would then deliver the right sounds appropriately.

Paul

*- I'm designing and building what I call a "techno-railroad".  It will depend on a spectator standing in a small, designated area, and watching the show that goes on all around.  That way I can use video and audio delivery methods that aren't usually used on model railroads (It also means I don't have to build scenery - that will all come from video I've recorded on Amtrak trips).  Add in my plan to use battery power and I won't even have to clean the track.

--
You received this message because you are subscribed to the Google Groups "Remote Train Control" group.
To unsubscribe from this group and stop receiving emails from it, send an email to remote-train-control+unsub...@googlegroups.com.
To post to this group, send email to remote-train-control@googlegroups.com.
Visit this group at https://groups.google.com/group/remote-train-control.
Reply all
Reply to author
Forward
0 new messages