Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[seamlisten] bug: padding is added to segments without the grey area to indicate it #34

Open
Celebio opened this issue Jun 28, 2023 · 0 comments
Labels
bug Something isn't working seamlisten Related to seamlisten

Comments

@Celebio
Copy link
Member

Celebio commented Jun 28, 2023

When displaying single segments in seamliten the padding is added to the segment without being highlighted.

To reproduce paste this segment in seamlisten

/path/to/audio/some.mp3 1917117 1962282

to verify that its longer than the original segment here's how to listen to the segment
paste the following command in a notebook

  import librosa 
  import IPython.display as ipd
  
  path="/path/to/audio/some.mp3"
  start = 1917117
  end = 1962282
  
  x, sr = librosa.load(path)
  start = round(start*sr/16000)
  end = round(end*sr/16000)
  sample = x[start: end]
  ipd.Audio(data=sample, rate=sr)

[Internal issue: 24]

@Celebio Celebio added bug Something isn't working seamlisten Related to seamlisten labels Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working seamlisten Related to seamlisten
Projects
None yet
Development

No branches or pull requests

1 participant