-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Create Metro_trip_18_stations #849
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
base: master
Are you sure you want to change the base?
Conversation
Синя лінія М2 у Києві
|
Академіка Філатова на форматі зно з |
|
So I can do it now and I can do it now if |
|
from pydub import AudioSegment Завантажуємо файлиdoor_open = AudioSegment.from_file("door_open.ogg") Список станцій (всього 18, 17 переходів)stations = [ Приблизна тривалість руху між станціями (в мс)travel_time_ms = 20000 # 20 секунд - можна регулювати Формуємо дорожню аудіо-доріжкуresult = door_open # Поїзд стартує зі звуком відкриття дверей for i in range(len(stations)-1): Поїзд зупиняється, закриваємо дверіresult += door_close Зберігаємо готовий файлresult.export("metro_ride_blue_line.mp3", format="mp3") print("Аудіо поїздки готове: metro_ride_blue_line.mp3") |
|
Definitely not a good idea |
|
|
from pydub import AudioSegment Завантажуємо файлиdoor_open = AudioSegment.from_file("door_open.ogg") Список станцій (всього 18, 17 переходів)stations = [ Приблизна тривалість руху між станціями (в мс)travel_time_ms = 20000 # 20 секунд - можна регулювати Формуємо дорожню аудіо-доріжкуresult = door_open # Поїзд стартує зі звуком відкриття дверей for i in range(len(stations)-1): Поїзд зупиняється, закриваємо дверіresult += door_close Зберігаємо готовий файлresult.export("metro_ride_blue_line.mp3", format="mp3") print("Аудіо поїздки готове: metro_ride_blue_line.mp3") |
Синя лінія М2 у Києві