User:Commander Keane/RecProject

python pwb.py listpages.py -cat put:Commander_Keane/testCatListing

C:\Users\jim\pywikibot C:\Users\jim\pywikibot\scripts (location of xRecBot10.py)

python pwb.py listpages.py -links

  • python pwb.py listpages.py -links -save:C:\Users\jim\Desktop\PyTests Writes each link as a new file which contains the article text
  • Run a Cat=>File script: c:\users\jim\pywikibot>python pwb.py xFileGenBot5
  • Trim silence at beginning of wav file: ffmpeg -i Banyo.wav -af "silenceremove=1:0:-50dB,adelay=500|500" Banyo5.ogg
  • sox reverse technique
  • sox in.wav out.wav silence 1 0.1 1% reverse silence 1 0.1 1% reverse
  • sox Auchenflower.wav out1.wav silence -l 1 0.1 1% -1 0.5 1% (or: sox Auchenflower.wav out1.wav silence 1 0.1 1% -1 0.5 1%)
  • sox out1.wav pad1.ogg pad 0.5 0.25
  • c:\Users\jim\pywikibot>ffmpeg -i Banyo.wav -filter_complex "[0:a]silencedetect=n=-50dB:d=1[outa]" -map [outa] test3.ogg 2> silenceLog.txt
  • Call upload from command prompt: python pwb.py upload.py "Banyo.ogg" 'Test file description text' -ignorewarn -always
  • Call file gen from command prompt: python pwb.py xFileGenBot7 "Railway tunnels in Japan"
  • Call the record from command prompt: python pwb.py xRecBot12 "Bosphorus crossings2_sf_50"
  • Call powershell - create wavs (dodgey???) and txt files with silencedetect data: C:\users\jim\pywikitest> .\xPS1.ps1 "Railway tunnels in Japan6_sf_50"
  • Good examples to work from : Recurring_events_established_in_1570, Spacecraft escaping the Solar System
  • Generate tone in sox:

C:\Users\jim\pywikitest\Sandbox1\Sandbox1_sf_99>sox -n test.wav channels 2 rate 44100 synth 0.2 sin 347 gain -20

  • Join files in sox, cmd.exe: C:\Users\jim\pywikitest\Sandbox1\Sandbox1_sf_99>sox "Bald Hills.wav" "test.wav" "Balmoral.wav" "test.wav" "output67.wav"


State of Play: 15 December 2018

  1. Generate files from Wikipedia category: cmd.exe: c:\users\jim\pywikibot>python3 pwb.py xFileGenBot7 "Recurring events established in 1570"
  2. Do the actual recordings: cmd.exe Generate files from Wikipedia category: cmd.exe: c:\users\jim\pywikibot>python3 pwb.py xRecBot14 "Recurring events established in 1570_sf_50" (this argument comes from the newly generated "C:\Users\jim\pywikitest\Recurring events established in 1570")


  1. Generate files from Wikipedia category: cmd.exe: c:\users\jim\pywikibot>python3 pwb.py xFileGenBot7 "Spacecraft escaping the Solar System"
  2. Do the actual recordings: cmd.exe Generate files from Wikipedia category: cmd.exe: c:\users\jim\pywikibot>python3 pwb.py xRecBot14 "Spacecraft escaping the Solar System_sf_50" (this argument comes from the newly generated "C:\Users\jim\pywikitest\Spacecraft escaping the Solar System", and the RecBot dumps recordings into "C:\Users\jim\pywikitest\Spacecraft escaping the Solar System\Spacecraft escaping the Solar System_sf_50"). Be sure to select global_input_device_index to respect your devices, near the top of xRecBot14.py.
  3. Do some converting: PS (Powershell Command Prompt): c:\users\jim\pywikibot\scripts> .\xShell2.ps1 "Spacecraft escaping the Solar System_sf_50" (Dumps ogg files into "C:\Users\jim\pywikitest\Spacecraft escaping the Solar System\Spacecraft escaping the Solar System_sf_50\oggs")
  4. Optional (very slow): c:\users\jim\pywikibot>python3 pwb.py xCombRecs1 "Spacecraft escaping the Solar System_sf_50"
  5. Upload time!: PS C:\users\jim\pywikibot\scripts>.\xShellUpload6.ps1 "Spacecraft escaping the Solar System_sf_50" (Currently using EN.WP, Commons soon)
  6. Work in Progress: add oggs to articles: cmd.exe: c:\users\jim\pywikibot>python3 pwb.py xPutInWiki1 "Spacecraft escaping the Solar System_sf_50"
  7. Test if mic is working: cmd.exe: c:\users\jim\pywikibot>python3 pwb.py xTestMic1 (dumpa file in C:\Users\jim\pywikitest\TESTING456\TEST456)
  8. Place files in Wiktionary: change date/time in xPutInWiki5, then cmd c:\users\jim\pywikibot>python3 pwb.py xPutInWIki5

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.