• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

1stplugins

FileMaker plug-ins and Reverse Engineering

  • Plugins
    • MediaManager
  • Services
    • Reverse Engineering
    • FileMaker Plug-Ins
  • About
    • About Us
    • Contact Us
    • Terms of Use of the Website and Privacy Policy
  • Store
    • Terms and Conditions
    • Warranty Claim Guidelines
    • Contract Withdrawal Form
    • Warranty Claim Report

Media_RecordSoundStart

Media_RecordSoundStart ( path { ; inBackground { ; parameters } } )

Media_RecordSoundStart gives you the ability to record sounds of any length either directly into a container or as an external sound file stored as a reference.

Parameter Description
path Location and file name of the external sound file to be created. With synchronous (non-background) recording, leave this parameter blank if you want to store the recorded sound directly in the container field.
inBackground Optional parameter. “1” or “True” to record asynchronous in background, or “0” or “False” to record synchronous within FileMaker.
parameters Optional parameter. Recording settings obtained from Media_RecordSoundFormatDialog. Settings from Windows are not compatible with settings from Mac and vice versa.

FileMaker Pro’s built-in sound recording capability only records directly into the container field and limits the recorded sound duration to a maximum of about one minute in length. MediaManager’s record sound functions (Media_RecordSoundStart, Media_RecordSoundPause, Media_RecordSoundStop) entirely expand your ability to record sounds through FileMaker Pro. They give you the ability record sounds of any length, as well as the capability to store the recording as an external sound file that is stored in the container field as a QuickTime reference.

Synchronous or Asynchronous Recording

Just as with Media_PlaySound, this function can record synchronously or asynchronously.

Synchronous recording pauses other FileMaker operations until you are done recording. To manually stop recording, click outside of the destination container field, type ESC, or use CMD+period.

Asynchronous recording occurs in the background, even when FileMaker is no longer the frontmost active window. To stop asynchronous recording, use the Media_RecordSoundStop function.

Synchronous and Asynchronous File References

It is also important to understand that the QuickTime file references created by the two methods of recording are different. An asynchronous recording results in a temporary QuickTime file reference that is valid only until the computer is shut down. In order to make the reference to the sound file stable, you must convert/export the recorded sound file.

Doing a synchronous recording to an external file, however, results in a stable file reference that does not break when the computer is shut down.

File Formats

Synchronous recordings directly into a field (without a file path specified) are in ‘sfil’ format. All other recorded sounds are initially generic QuickTime movie format. If you are saving as an external file, the file name extension should be “.mov”.

Returns

Returns the recorded sound (or QuickTime reference) to the specified container field.

Use Media_GetLastError to check for errors.

Examples

To record within FMP directly into a container field:
Set Field [ MyTable::Sound ;
Media_RecordSoundStart (
“” ; # empty = into container
0 # 0/False in foreground
) ]

To record within FMP to a file named “NewSound.mov” (to be placed in the default folder):
Set Field [ MyTable::Sound ;
Media_RecordSoundStart (
“NewSound.mov” ; # into file
False # 0/False in foreground
) ]

To record to a file named “NewSound.mov” on the desktop, regardless of whether or not FMP is active:
Set Field [ MyTable::Sound ;
Media_RecordSoundStart (
“.D/NewSound.wav” ; # into file
1 # 1/True in background
) ]

Primary Sidebar

Document Functions

Media_CopyItem
Media_CreateAlias
Media_CreateFolder
Media_DeleteItem
Media_ExportField
Media_ExtractInfo
Media_GetDefaultFolder
Media_GetItemInfo
Media_GetName
Media_GetPath
Media_InsertFile
Media_ListDisks
Media_ListFolder
Media_MoveItem
Media_OpenItem
Media_RenameItem
Media_SetDefaultFolder

General and Registration Functions

Media_Get
Media_GetLastError
Media_GetMouseUp
Media_JSONPath
Media_Register
Media_RegisterLicensedEncoder
Media_Set
Media_Version

Image Functions

Media_TApply
Media_TClear
Media_TCrop
Media_TQuad
Media_TResize
Media_TRotate
Media_TScale
Media_TSkew
Media_EffectApply
Media_EffectDialog
Media_ConvertImage
Media_GetImageInfo
Media_GetMetadata
Media_InsertImage
Media_ListImageOutputTypes
Media_SetImageDefaults

Script Steps

Copy Item
Create Alias
Create Folder
Delete Item
Export Field
Get Default Folder
Get Item Property
Move Item
Open Item
Rename Item
Set Default Folder

Sound Functions

Media_Amplify
Media_AppendSound
Media_ConvertSound
Media_CreateSound
Media_DrawWaveform
Media_ExtractSound
Media_FadeSound
Media_GetMetadata
Media_GetSoundInfo
Media_InsertQuickTime
Media_ListSoundOutputFormats
Media_MixSounds
Media_Normalize
Media_PlayPause
Media_PlaySound
Media_RecordSoundFormatDialog
Media_RecordSoundStart
Media_RecordSoundPause
Media_RecordSoundStop
Media_SetMetadata
Media_SoundFormatDialog
Media_StopSound

Video Functions

Media_GetVideoInfo

Footer

Let’s get started on your project.

Get in touch

  • Plugins
  • Services
  • About
  • Store

Copyright ©2006-2020 by 1stplugins, s.r.o. All rights reserved.