Looping sound as video


Author
Message
kveylet
kveylet
Associate Member (71 reputation)Associate Member (71 reputation)Associate Member (71 reputation)Associate Member (71 reputation)Associate Member (71 reputation)Associate Member (71 reputation)Associate Member (71 reputation)Associate Member (71 reputation)Associate Member (71 reputation)
Group: Forum Members
Posts: 6, Visits: 80
Hi all, 

I'm attempting to have short audio clips loop during the background of blocks during an experiment. The issue I'm running into is a gap between each instance playback, interrupting what should be a constant sound, that isn't caused by the audio itself (looping is seamless in audacity, for example, though not in quicktime player or in inquisit.

Is there any way to force seamless playback? I have 37 audio files that may need to play for as long as 3 minutes, and I would hate to make people download 37 3-minute audio files, assuming that's even within the size limit Inquisit will handle. 

Minimal working example below, with links to audio download because I can't seem to upload .mp3s:
Audio 1: https://drive.google.com/file/d/1TSiDGXYH-cCfNVVJE1LDhbfxRlBcUklT/view?usp=sharing
Audio 2: https://drive.google.com/file/d/1sQSku__OcxoS9czdxLozEqFjrbWzcbiR/view?usp=sharing
<item polyrhythms>
/1="a1.1-1.mp3"
/2="a1.16-15.mp3"
</item>

<video sounds>
/ items = item.polyrhythms
/ select = noreplace
/ loop = true
/ erase = false
</video>

<item instructions>
/1 = "These are simple instructions"
/2 = "These are more simple instructions"
</item>

<text instructions>
/ items = instructions
/ select = sequence
/ size = (85%, 60%)
/ txcolor = black
/ hjustify = left
/ resetinterval = 0
/ position = (50%, 50%)
/ hjustify = left
</text>

<trial instructions>
/ stimulustimes = [0=instructions]
/ validresponse = (" ")
/ recorddata = false
</trial>

<block task>
/ bgstim = (sounds)
/ trials = [
  1=instructions; ]
</block>>

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 105K
kveylet - 11/8/2020
Hi all, 

I'm attempting to have short audio clips loop during the background of blocks during an experiment. The issue I'm running into is a gap between each instance playback, interrupting what should be a constant sound, that isn't caused by the audio itself (looping is seamless in audacity, for example, though not in quicktime player or in inquisit.

Is there any way to force seamless playback? I have 37 audio files that may need to play for as long as 3 minutes, and I would hate to make people download 37 3-minute audio files, assuming that's even within the size limit Inquisit will handle. 

Minimal working example below, with links to audio download because I can't seem to upload .mp3s:
Audio 1: https://drive.google.com/file/d/1TSiDGXYH-cCfNVVJE1LDhbfxRlBcUklT/view?usp=sharing
Audio 2: https://drive.google.com/file/d/1sQSku__OcxoS9czdxLozEqFjrbWzcbiR/view?usp=sharing
<item polyrhythms>
/1="a1.1-1.mp3"
/2="a1.16-15.mp3"
</item>

<video sounds>
/ items = item.polyrhythms
/ select = noreplace
/ loop = true
/ erase = false
</video>

<item instructions>
/1 = "These are simple instructions"
/2 = "These are more simple instructions"
</item>

<text instructions>
/ items = instructions
/ select = sequence
/ size = (85%, 60%)
/ txcolor = black
/ hjustify = left
/ resetinterval = 0
/ position = (50%, 50%)
/ hjustify = left
</text>

<trial instructions>
/ stimulustimes = [0=instructions]
/ validresponse = (" ")
/ recorddata = false
</trial>

<block task>
/ bgstim = (sounds)
/ trials = [
  1=instructions; ]
</block>>

> Is there any way to force seamless playback

No. Creating 3-minute long already looped audio files would be the way to go.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search