NeuralPi

Raspberry Pi guitar pedal using neural networks to emulate real amps and effects
Log | Files | Refs | Submodules | README

update_models.bat (1614B)


      1 ::############################################################################
      2 :: NeuralPi - Update Models - Windows Script
      3 ::
      4 :: This script transfers models and impulse responses from a Windows computer
      5 ::     to the NeuralPi, and from the NeuralPi back to the host computer. Edit
      6 ::     the Raspberry Pi IP address (after connecting to a local Wifi Network),
      7 ::     and run this script from a Windows computer running the NeuralPi plugin.
      8 ::
      9 :: Note: Ensure OpenSSH is installed. This comes installed with Windows as of 2018.
     10 ::############################################################################
     11 
     12 :: USER INPUTS 
     13 
     14 :: Update this field with the Raspberry Pi's IP address
     15 set "rpi_ip_address=127.0.0.1"
     16 
     17 
     18 :: Typical Windows 10 Path (shouldn't need to change)
     19 set "host_model_path=%userprofile%/Documents/GuitarML/NeuralPi/tones"
     20 set "host_ir_path=%userprofile%/Documents/GuitarML/NeuralPi/irs"
     21 
     22 
     23 :: Rpi with Elk OS Path (shouldn't need to change)
     24 set "rpi_model_path=/home/mind/Documents/GuitarML/NeuralPi/tones"
     25 set "rpi_ir_path=/home/mind/Documents/GuitarML/NeuralPi/irs"
     26 
     27 :: ############################################################################
     28 
     29 :: Copy all models from local computer to Rpi
     30 scp %host_model_path%/*.json  root@%rpi_ip_address%:%rpi_model_path%/
     31 
     32 :: Copy all IRs from local computer to Rpi
     33 scp %host_ir_path%/*.wav  root@%rpi_ip_address%:%rpi_ir_path%/
     34 
     35 
     36 :: Copy all models from Rpi to local computer
     37 scp root@%rpi_ip_address%:%rpi_model_path%/*.json  %host_model_path%/
     38 
     39 :: Copy all IRs from Rpi to local computer
     40 scp root@%rpi_ip_address%:%rpi_ir_path%/*.wav  %host_ir_path%/